2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for GNU Classpath 0.91.
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 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f $as_shell &&
237 { ($as_shell) 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { $as_shell 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); 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.
462 if (dirname -- /) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="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'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME
='GNU Classpath'
561 PACKAGE_TARNAME
='classpath'
562 PACKAGE_VERSION
='0.91'
563 PACKAGE_STRING
='GNU Classpath 0.91'
564 PACKAGE_BUGREPORT
='classpath@gnu.org'
566 ac_unique_file
="java/lang/System.java"
567 ac_default_prefix
=/usr
/local
/classpath
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
572 # include <sys/types.h>
575 # include <sys/stat.h>
586 # if !STDC_HEADERS && HAVE_MEMORY_H
592 # include <strings.h>
595 # include <inttypes.h>
613 program_transform_name
655 CLASSPATH_CONVENIENCE
669 INSTALL_STRIP_PROGRAM
677 CREATE_COLLECTIONS_TRUE
678 CREATE_COLLECTIONS_FALSE
679 CREATE_JNI_LIBRARIES_TRUE
680 CREATE_JNI_LIBRARIES_FALSE
681 CREATE_CORE_JNI_LIBRARIES_TRUE
682 CREATE_CORE_JNI_LIBRARIES_FALSE
684 CREATE_XMLJ_LIBRARY_TRUE
685 CREATE_XMLJ_LIBRARY_FALSE
705 CREATE_ALSA_LIBRARIES_TRUE
706 CREATE_ALSA_LIBRARIES_FALSE
707 CREATE_DSSI_LIBRARIES_TRUE
708 CREATE_DSSI_LIBRARIES_FALSE
709 CREATE_GTK_PEER_LIBRARIES_TRUE
710 CREATE_GTK_PEER_LIBRARIES_FALSE
714 CREATE_QT_PEER_LIBRARIES_TRUE
715 CREATE_QT_PEER_LIBRARIES_FALSE
718 CREATE_JNI_HEADERS_TRUE
719 CREATE_JNI_HEADERS_FALSE
735 STRICT_WARNING_CFLAGS
759 USER_SPECIFIED_JAVAH_TRUE
760 USER_SPECIFIED_JAVAH_FALSE
780 USER_SPECIFIED_CLASSLIB_TRUE
781 USER_SPECIFIED_CLASSLIB_FALSE
784 MAINTAINER_MODE_FALSE
788 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
796 INSTALL_GLIBJ_ZIP_TRUE
797 INSTALL_GLIBJ_ZIP_FALSE
798 INSTALL_CLASS_FILES_TRUE
799 INSTALL_CLASS_FILES_FALSE
800 BUILD_CLASS_FILES_TRUE
801 BUILD_CLASS_FILES_FALSE
805 CREATE_API_DOCS_FALSE
810 USE_PREBUILT_GLIBJ_ZIP_TRUE
811 USE_PREBUILT_GLIBJ_ZIP_FALSE
813 ENABLE_LOCAL_SOCKETS_TRUE
814 ENABLE_LOCAL_SOCKETS_FALSE
818 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name
=s
,x
,x
,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir
='${exec_prefix}/bin'
860 sbindir
='${exec_prefix}/sbin'
861 libexecdir
='${exec_prefix}/libexec'
862 datarootdir
='${prefix}/share'
863 datadir
='${datarootdir}'
864 sysconfdir
='${prefix}/etc'
865 sharedstatedir
='${prefix}/com'
866 localstatedir
='${prefix}/var'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
903 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
906 -build |
--build |
--buil |
--bui |
--bu)
907 ac_prev
=build_alias
;;
908 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
909 build_alias
=$ac_optarg ;;
911 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
912 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
913 ac_prev
=cache_file
;;
914 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
915 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
916 cache_file
=$ac_optarg ;;
919 cache_file
=config.cache
;;
921 -datadir |
--datadir |
--datadi |
--datad)
923 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
924 datadir
=$ac_optarg ;;
926 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
927 |
--dataroo |
--dataro |
--datar)
928 ac_prev
=datarootdir
;;
929 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
930 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
931 datarootdir
=$ac_optarg ;;
933 -disable-* |
--disable-*)
934 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
937 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
938 { (exit 1); exit 1; }; }
939 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
940 eval enable_
$ac_feature=no
;;
942 -docdir |
--docdir |
--docdi |
--doc |
--do)
944 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
947 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
949 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
952 -enable-* |
--enable-*)
953 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
956 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
957 { (exit 1); exit 1; }; }
958 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
959 eval enable_
$ac_feature=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid package name: $ac_package" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1156 eval with_
$ac_package=\
$ac_optarg ;;
1158 -without-* |
--without-*)
1159 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid package name: $ac_package" >&2
1163 { (exit 1); exit 1; }; }
1164 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1165 eval with_
$ac_package=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) { echo "$as_me: error: unrecognized option: $ac_option
1186 Try \`$0 --help' for more information." >&2
1187 { (exit 1); exit 1; }; }
1191 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1194 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1195 { (exit 1); exit 1; }; }
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 { echo "$as_me: error: missing argument to $ac_option" >&2
1213 { (exit 1); exit 1; }; }
1216 # Be sure to have absolute directory names.
1217 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir
1222 eval ac_val
=\$
$ac_var
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1228 { (exit 1); exit 1; }; }
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 { echo "$as_me: error: Working directory cannot be determined" >&2
1259 { (exit 1); exit 1; }; }
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 { echo "$as_me: error: pwd does not report name of working directory" >&2
1262 { (exit 1); exit 1; }; }
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$0" ||
1270 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$0" : 'X\(//\)[^/]' \| \
1272 X"$0" : 'X\(//\)$' \| \
1273 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302 { (exit 1); exit 1; }; }
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1307 { (exit 1); exit 1; }; }
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1317 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319 for ac_var
in $ac_precious_vars; do
1320 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1322 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1327 # Report the --help message.
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1333 \`configure' configures GNU Classpath 0.91 to adapt to many kinds of systems.
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1340 Defaults for the options are specified in brackets.
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1364 For better control, use the options below.
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1391 --program-prefix=PREFIX prepend PREFIX to installed program names
1392 --program-suffix=SUFFIX append SUFFIX to installed program names
1393 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1396 --x-includes=DIR X include files are
in DIR
1397 --x-libraries=DIR X library files are
in DIR
1400 --build=BUILD configure
for building on BUILD
[guessed
]
1401 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of GNU Classpath 0.91:";;
1413 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1414 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1415 --enable-collections create collections.jar default
=no
1416 --enable-jni compile JNI
source default
=yes
1417 --enable-core-jni compile JNI sources
for core default
=yes
1418 --enable-Werror whether to compile C code with
-Werror which turns
1419 any compiler warning into a compilation failure
1421 --enable-default-toolkit
1422 fully qualified class name of default AWT toolkit
1423 --enable-xmlj compile native libxml
/xslt library default
=no
1424 --disable-alsa compile ALSA providers
(enable by
--enable-alsa)
1426 --disable-dependency-tracking speeds up one-time build
1427 --enable-dependency-tracking do not reject slow dependency extractors
1428 --disable-dssi compile DSSI providers
(enable by
--enable-dssi)
1430 --disable-gtk-peer compile GTK native peers
(disabled by
--disable-jni)
1433 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
1435 --enable-qt-peer compile Qt4 native peers
(disabled by
--disable-jni)
1437 --enable-regen-headers automatically regenerate JNI headers default
=no
1438 --enable-static=PKGS build static libraries default
=no
1439 --enable-shared=PKGS build shared libraries default
=yes
1440 --enable-fast-install=PKGS optimize
for fast installation default
=yes
1441 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1442 --disable-rpath do not hardcode runtime library paths
1443 --enable-maintainer-mode enable make rules and dependencies not useful
1444 (and sometimes confusing
) to the casual installer
1445 --enable-debug enable runtime debugging code
1446 --enable-load-library enable to use JNI native methods default
=yes
1447 --enable-java-lang-system-explicit-initialization
1448 will the VM explicitly invoke java.lang.System
's
1449 static initialization methods default=no
1450 --enable-examples enable build of the examples default=yes
1451 --enable-portable-native-sync
1452 synchronize VM threads portably
1453 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1458 --with-native-libdir sets the installation directore for native libraries
1459 default='${libdir}/${PACKAGE}'
1460 --with-glibj-dir sets the installation directory for glibj.zip
1461 default='${libdir}/${PACKAGE}'
1462 --with-gnu-ld assume the C compiler uses GNU ld default=no
1463 --with-pic try to use only PIC/non-PIC objects default=use both
1464 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1465 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1466 --with-x use the X Window System
1467 --with-qt4dir=DIR Qt4 installation directory used
for OS-X. For other
1468 systems use pkg-config.
1469 --with-javah specify path or name of a javah-like program
1470 --with-gcj bytecode compilation with gcj
1471 --with-jikes bytecode compilation with jikes
1472 --with-kjc bytecode compilation with kjc
1473 --with-gcjx bytecode compilation with gcjx
1474 --with-ecj bytecode compilation with ecj
1475 --with-classpath specify path to a classes.
zip like
file
1476 --with-vm-classes specify path to VM override
source files
1477 --with-fastjar=PATH define to use a fastjar style tool
1478 --with-glibj define what to
install (zip|flat|both|none|build
)
1480 --with-gjdoc generate documentation using gjdoc
(default is NO
)
1481 --with-jay Regenerate the parsers with jay must be given the
1482 path to the jay executable
1483 --with-glibj-zip=ABS.PATH
1484 use prebuilt glibj.
zip class library
1486 Some influential environment variables
:
1487 CC C compiler
command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1490 nonstandard directory
<lib dir
>
1491 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1492 you have headers
in a nonstandard directory
<include dir
>
1494 CXX C
++ compiler
command
1495 CXXFLAGS C
++ compiler flags
1496 CXXCPP C
++ preprocessor
1497 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1499 Use these variables to override the choices made by
`configure' or to help
1500 it to find libraries and programs with nonstandard names/locations.
1502 Report bugs to <classpath@gnu.org>.
1507 if test "$ac_init_help" = "recursive"; then
1508 # If there are subdirs, report their specific --help.
1509 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1510 test -d $ac_dir || continue
1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524 ac_abs_top_builddir=$ac_pwd
1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir=$ac_top_build_prefix
1530 .) # We are building in place.
1532 ac_top_srcdir=$ac_top_builddir_sub
1533 ac_abs_top_srcdir=$ac_pwd ;;
1534 [\\/]* | ?:[\\/]* ) # Absolute name.
1535 ac_srcdir=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir=$srcdir
1537 ac_abs_top_srcdir=$srcdir ;;
1539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545 cd "$ac_dir" || { ac_status=$?; continue; }
1546 # Check for guested configure.
1547 if test -f $ac_srcdir/configure.gnu; then
1549 $SHELL $ac_srcdir/configure.gnu --help=recursive
1550 elif test -f $ac_srcdir/configure; then
1552 $SHELL $ac_srcdir/configure --help=recursive
1554 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1563 GNU Classpath configure 0.91
1564 generated by GNU Autoconf 2.59d
1566 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1567 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1568 This configure script is free software; the Free Software Foundation
1569 gives unlimited permission to copy, distribute and modify it.
1573 cat >config.log <<_ACEOF
1574 This file contains any messages produced by compilers while
1575 running configure, to aid debugging if configure makes a mistake.
1577 It was created by GNU Classpath $as_me 0.91, which was
1578 generated by GNU Autoconf 2.59d. Invocation command line was
1590 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1591 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1592 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1593 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1594 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1596 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1597 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1599 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1600 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1601 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1603 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1604 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1605 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 echo "PATH: $as_dir"
1630 # Keep a trace of the command line.
1631 # Strip out --no-create and --no-recursion so they do not pile up.
1632 # Strip out --silent because we don't want to record it for future runs.
1633 # Also quote any args containing shell meta-characters.
1634 # Make two passes to allow for proper duplicate-argument suppression.
1639 ac_must_keep_next=false
1645 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1647 | -silent | --silent | --silen | --sile | --sil)
1650 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1653 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1655 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1656 if test $ac_must_keep_next = true; then
1657 ac_must_keep_next=false # Got value, back to normal.
1660 *=* | --config-cache | -C | -disable-* | --disable-* \
1661 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1662 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1663 | -with-* | --with-* | -without-* | --without-* | --x)
1664 case "$ac_configure_args0 " in
1665 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1668 -* ) ac_must_keep_next=true ;;
1671 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1672 # Get rid of the leading space.
1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1681 # When interrupted or exit'd, cleanup temporary files, and complete
1682 # config.log. We remove comments because anyway the quotes in there
1683 # would cause problems or look ugly.
1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1686 trap 'exit_status=$?
1687 # Save into config.log some information that might help in debugging.
1692 ## ---------------- ##
1693 ## Cache variables. ##
1694 ## ---------------- ##
1697 # The following way of writing the cache mishandles newlines in values,
1699 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1700 eval ac_val=\$$ac_var
1704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1708 _ | IFS | as_nl) ;; #(
1709 *) $as_unset $ac_var ;;
1714 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1715 *${as_nl}ac_space=\ *)
1717 "s/'\''/'\''\\\\'\'''\''/g;
1718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1729 ## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##
1734 for ac_var in $ac_subst_vars
1736 eval ac_val=\$$ac_var
1737 echo "$ac_var='\''$ac_val'\''"
1741 if test -n "$ac_subst_files"; then
1743 ## ------------------- ##
1744 ## File substitutions. ##
1745 ## ------------------- ##
1748 for ac_var in $ac_subst_files
1750 eval ac_val=\$$ac_var
1751 echo "$ac_var='\''$ac_val'\''"
1756 if test -s confdefs.h; then
1766 test "$ac_signal" != 0 &&
1767 echo "$as_me: caught signal $ac_signal"
1768 echo "$as_me: exit $exit_status"
1770 rm -f core *.core core.conftest.* &&
1771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1774 for ac_signal in 1 2 13 15; do
1775 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1780 rm -f -r conftest* confdefs.h
1782 # Predefined preprocessor variables.
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer explicitly selected file to automatically selected ones.
1811 if test -n "$CONFIG_SITE"; then
1812 set x "$CONFIG_SITE"
1813 elif test "x$prefix" != xNONE; then
1814 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1816 set x "$ac_default_prefix/share/config.site" \
1817 "$ac_default_prefix/etc/config.site"
1822 if test -r "$ac_site_file"; then
1823 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1824 echo "$as_me: loading site script $ac_site_file" >&6;}
1825 sed 's/^/| /' "$ac_site_file" >&5
1830 if test -r "$cache_file"; then
1831 # Some versions of bash will fail to source /dev/null (special
1832 # files actually), so we avoid doing that.
1833 if test -f "$cache_file"; then
1834 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1835 echo "$as_me: loading cache $cache_file" >&6;}
1837 [\\/]* | ?:[\\/]* ) . $cache_file;;
1838 *) . ./$cache_file;;
1842 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1843 echo "$as_me: creating cache $cache_file" >&6;}
1847 # Check that the precious variables saved in the cache have kept the same
1849 ac_cache_corrupted=false
1850 for ac_var in $ac_precious_vars; do
1851 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1852 eval ac_new_set=\$ac_env_${ac_var}_set
1853 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1854 eval ac_new_val=\$ac_env_${ac_var}_value
1855 case $ac_old_set,$ac_new_set in
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1858 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1859 ac_cache_corrupted=: ;;
1861 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1862 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1863 ac_cache_corrupted=: ;;
1866 if test "x$ac_old_val" != "x$ac_new_val"; then
1867 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1868 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1869 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1870 echo "$as_me: former value
: $ac_old_val" >&2;}
1871 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1872 echo "$as_me: current value
: $ac_new_val" >&2;}
1873 ac_cache_corrupted=:
1876 # Pass precious variables to config.status.
1877 if test "$ac_new_set" = set; then
1879 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1880 *) ac_arg=$ac_var=$ac_new_val ;;
1882 case " $ac_configure_args " in
1883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1884 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1888 if $ac_cache_corrupted; then
1889 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1890 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1891 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1892 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1893 { (exit 1); exit 1; }; }
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1930 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1931 if test -f $ac_dir/install-sh; then
1933 ac_install_sh="$ac_aux_dir/install-sh -c"
1935 elif test -f $ac_dir/install.sh; then
1937 ac_install_sh="$ac_aux_dir/install.sh -c"
1939 elif test -f $ac_dir/shtool; then
1941 ac_install_sh="$ac_aux_dir/shtool install -c"
1945 if test -z "$ac_aux_dir"; then
1946 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1947 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1948 { (exit 1); exit 1; }; }
1950 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1951 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1952 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1954 # Make sure we can run config.sub.
1955 $ac_config_sub sun4 >/dev/null 2>&1 ||
1956 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1957 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1958 { (exit 1); exit 1; }; }
1960 { echo "$as_me:$LINENO: checking build system type" >&5
1961 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1962 if test "${ac_cv_build+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 ac_build_alias=$build_alias
1966 test "x$ac_build_alias" = x &&
1967 ac_build_alias=`$ac_config_guess`
1968 test "x$ac_build_alias" = x &&
1969 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1970 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1971 { (exit 1); exit 1; }; }
1972 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1973 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1974 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1975 { (exit 1); exit 1; }; }
1978 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1979 echo "${ECHO_T}$ac_cv_build" >&6; }
1980 case $ac_cv_build in
1982 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1983 echo "$as_me: error: invalid value of canonical build" >&2;}
1984 { (exit 1); exit 1; }; };;
1987 ac_save_IFS=$IFS; IFS='-'
1993 # Remember, the first character of IFS is used to create $*,
1994 # except with old shells:
1997 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2000 { echo "$as_me:$LINENO: checking host system type" >&5
2001 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2002 if test "${ac_cv_host+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test "x$host_alias" = x; then
2006 ac_cv_host=$ac_cv_build
2008 ac_cv_host=`$ac_config_sub $host_alias` ||
2009 { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
2010 echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
2011 { (exit 1); exit 1; }; }
2015 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2016 echo "${ECHO_T}$ac_cv_host" >&6; }
2019 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2020 echo "$as_me: error: invalid value of canonical host" >&2;}
2021 { (exit 1); exit 1; }; };;
2024 ac_save_IFS=$IFS; IFS='-'
2030 # Remember, the first character of IFS is used to create $*,
2031 # except with old shells:
2034 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2037 { echo "$as_me:$LINENO: checking target system type" >&5
2038 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2039 if test "${ac_cv_target+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 if test "x$target_alias" = x; then
2043 ac_cv_target=$ac_cv_host
2045 ac_cv_target=`$ac_config_sub $target_alias` ||
2046 { { echo "$as_me:$LINENO: error: $ac_config_sub $target_alias failed" >&5
2047 echo "$as_me: error: $ac_config_sub $target_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2052 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2053 echo "${ECHO_T}$ac_cv_target" >&6; }
2054 case $ac_cv_target in
2056 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2057 echo "$as_me: error: invalid value of canonical target" >&2;}
2058 { (exit 1); exit 1; }; };;
2060 target=$ac_cv_target
2061 ac_save_IFS=$IFS; IFS='-'
2067 # Remember, the first character of IFS is used to create $*,
2068 # except with old shells:
2071 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2074 # The aliases save the names the user supplied, while $host etc.
2075 # will get canonicalized.
2076 test -n "$target_alias" &&
2077 test "$program_prefix$program_suffix$program_transform_name" = \
2079 program_prefix=${target_alias}-
2081 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
2094 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
2097 CLASSPATH_CONVENIENCE="-no-undefined"
2101 am__api_version="1.9"
2102 # Find a good install program. We prefer a C program (faster),
2103 # so one script is as good as another. But avoid the broken or
2104 # incompatible versions:
2105 # SysV /etc/install, /usr/sbin/install
2106 # SunOS /usr/etc/install
2107 # IRIX /sbin/install
2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2113 # OS/2's system install, which has a completely different semantic
2114 # ./install, which can be erroneously created by make from ./install.sh.
2115 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2116 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2117 if test -z "$INSTALL"; then
2118 if test "${ac_cv_path_install+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 # Account for people who put trailing slashes in PATH elements.
2128 ./ | .// | /cC/* | \
2129 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2130 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2133 # OSF1 and SCO ODT 3.0 have their own names for install.
2134 # Don't use installbsd from OSF since it installs stuff as root
2136 for ac_prog in ginstall scoinst install; do
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
2139 if test $ac_prog = install &&
2140 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141 # AIX install. It has an incompatible calling convention.
2143 elif test $ac_prog = install &&
2144 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2145 # program-specific install script used by HP pwplus--don't use.
2148 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2161 if test "${ac_cv_path_install+set}" = set; then
2162 INSTALL=$ac_cv_path_install
2164 # As a last resort, use the slow shell script. Don't cache a
2165 # value for INSTALL within a source directory, because that will
2166 # break other packages using the cache if that directory is
2167 # removed, or if the value is a relative name.
2168 INSTALL=$ac_install_sh
2171 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 echo "${ECHO_T}$INSTALL" >&6; }
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2182 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell
's
2188 # arguments. Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2193 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194 if test "$*" = "X"; then
2196 set X
`ls -t $srcdir/configure conftest.file`
2199 if test "$*" != "X $srcdir/configure conftest.file" \
2200 && test "$*" != "X conftest.file $srcdir/configure"; then
2202 # If neither matched, then we have a broken ls. This can happen
2203 # if, for instance, CONFIG_SHELL is bash and it inherits a
2204 # broken ls alias from the environment. This has actually
2205 # happened. Such a system could not be considered "sane".
2206 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2207 alias in your environment" >&5
2208 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&2;}
2210 { (exit 1); exit 1; }; }
2213 test "$2" = conftest.
file
2219 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2220 Check your system clock" >&5
2221 echo "$as_me: error: newly created file is older than distributed files!
2222 Check your system clock" >&2;}
2223 { (exit 1); exit 1; }; }
2225 { echo "$as_me:$LINENO: result: yes" >&5
2226 echo "${ECHO_T}yes" >&6; }
2227 test "$program_prefix" != NONE
&&
2228 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE
&&
2231 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2232 # Double any \ or $. echo might interpret backslashes.
2233 # By default was `s,x,x', remove it if useless.
2234 cat <<\_ACEOF
>conftest.
sed
2235 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2237 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2240 # expand $ac_aux_dir to an absolute path
2241 am_aux_dir
=`cd $ac_aux_dir && pwd`
2243 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2244 # Use eval to expand $SHELL
2245 if eval "$MISSING --run true"; then
2246 am_missing_run
="$MISSING --run "
2249 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2250 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2253 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2254 # We used to keeping the `.' as first argument, in order to
2255 # allow $(mkdir_p) to be used without argument. As in
2256 # $(mkdir_p) $(somedir)
2257 # where $(somedir) is conditionally defined. However this is wrong
2259 # 1. if the package is installed by a user who cannot write `.'
2260 # make install will fail,
2261 # 2. the above comment should most certainly read
2262 # $(mkdir_p) $(DESTDIR)$(somedir)
2263 # so it does not work when $(somedir) is undefined and
2264 # $(DESTDIR) is not.
2265 # To support the latter case, we have to write
2266 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2267 # so the `.' trick is pointless.
2268 mkdir_p
='mkdir -p --'
2270 # On NextStep and OpenStep, the `mkdir' command does not
2271 # recognize any option. It will interpret all options as
2272 # directories to create, and then abort because `.' already
2274 for d
in .
/-p .
/--version;
2276 test -d $d && rmdir $d
2278 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2279 if test -f "$ac_aux_dir/mkinstalldirs"; then
2280 mkdir_p
='$(mkinstalldirs)'
2282 mkdir_p
='$(install_sh) -d'
2286 for ac_prog
in gawk mawk nawk
awk
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_prog; ac_word
=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_AWK+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$AWK"; then
2296 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_AWK
="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$AWK"; then
2317 { echo "$as_me:$LINENO: result: $AWK" >&5
2318 echo "${ECHO_T}$AWK" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$AWK" && break
2328 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2329 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2330 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2331 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 cat >conftest.
make <<\_ACEOF
2337 @
echo 'ac_maketemp=X"$(MAKE)"'
2339 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2340 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2341 if test "$ac_maketemp" != X
; then
2342 eval ac_cv_prog_make_
${ac_make}_set
=yes
2344 eval ac_cv_prog_make_
${ac_make}_set
=no
2348 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2349 { echo "$as_me:$LINENO: result: yes" >&5
2350 echo "${ECHO_T}yes" >&6; }
2353 { echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6; }
2355 SET_MAKE
="MAKE=${MAKE-make}"
2358 rm -rf .tst
2>/dev
/null
2359 mkdir .tst
2>/dev
/null
2360 if test -d .tst
; then
2365 rmdir .tst
2>/dev
/null
2367 # test to see if srcdir already configured
2368 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2369 test -f $srcdir/config.status
; then
2370 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2371 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2372 { (exit 1); exit 1; }; }
2375 # test whether we have cygpath
2376 if test -z "$CYGPATH_W"; then
2377 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2378 CYGPATH_W
='cygpath -w'
2385 # Define the identity of the package.
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE "$PACKAGE"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define VERSION "$VERSION"
2399 # Some tools Automake needs.
2401 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2404 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2407 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2410 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2413 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2415 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2417 # Installed binaries are usually stripped using `strip' when the user
2418 # run `make install-strip'. However `strip' might not be the right
2419 # tool to use in cross-compilation environments, therefore Automake
2420 # will honor the `STRIP' environment variable to overrule this program.
2421 if test "$cross_compiling" != no
; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_STRIP+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$STRIP"; then
2431 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 STRIP
=$ac_cv_prog_STRIP
2451 if test -n "$STRIP"; then
2452 { echo "$as_me:$LINENO: result: $STRIP" >&5
2453 echo "${ECHO_T}$STRIP" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_STRIP"; then
2463 # Extract the first word of "strip", so it can be a program name with args.
2464 set dummy strip
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_STRIP"; then
2471 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_STRIP
="strip"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2491 if test -n "$ac_ct_STRIP"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2493 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_STRIP" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2515 STRIP
="$ac_cv_prog_STRIP"
2519 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2521 # We need awk for the "check" target. The system "awk" is bad on
2523 # Always define AMTAR for backward compatibility.
2525 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2528 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2529 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2530 # Loop over all known methods to create a tar archive until one works.
2531 _am_tools
='gnutar plaintar pax cpio none'
2532 _am_tools
=${am_cv_prog_tar_ustar-$_am_tools}
2533 # Do not fold the above two line into one, because Tru64 sh and
2534 # Solaris sh will not grok spaces in the rhs of `-'.
2535 for _am_tool
in $_am_tools
2539 for _am_tar
in tar gnutar gtar
;
2541 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2542 ($_am_tar --version) >&5 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } && break
2547 am__tar
="$_am_tar --format=ustar -chf - "'"$$tardir"'
2548 am__tar_
="$_am_tar --format=ustar -chf - "'"$tardir"'
2549 am__untar
="$_am_tar -xf -"
2552 # Must skip GNU tar: if it does not support --format= it doesn't create
2553 # ustar tarball either.
2554 (tar --version) >/dev
/null
2>&1 && continue
2555 am__tar
='tar chf - "$$tardir"'
2556 am__tar_
='tar chf - "$tardir"'
2557 am__untar
='tar xf -'
2560 am__tar
='pax -L -x ustar -w "$$tardir"'
2561 am__tar_
='pax -L -x ustar -w "$tardir"'
2565 am__tar
='find "$$tardir" -print | cpio -o -H ustar -L'
2566 am__tar_
='find "$tardir" -print | cpio -o -H ustar -L'
2567 am__untar
='cpio -i -H ustar -d'
2576 # If the value was cached, stop now. We just wanted to have am__tar
2577 # and am__untar set.
2578 test -n "${am_cv_prog_tar_ustar}" && break
2580 # tar/untar a dummy directory, and stop if the command works
2583 echo GrepMe
> conftest.dir
/file
2584 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2585 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2590 if test -s conftest.
tar; then
2591 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2592 ($am__untar <conftest.
tar) >&5 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }
2596 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
2601 if test "${am_cv_prog_tar_ustar+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 am_cv_prog_tar_ustar
=$_am_tool
2607 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2608 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2614 ac_config_headers
="$ac_config_headers include/config.h"
2620 # Check whether --enable-collections was given.
2621 if test "${enable_collections+set}" = set; then
2622 enableval
=$enable_collections; case x
"${enableval}" in
2623 xyes
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2624 xno
) COMPILE_COLLECTIONS
=no
;;
2625 x
) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"gnu/java/util/collections\"" ;;
2626 *) COMPILE_COLLECTIONS
=yes; COLLECTIONS_PREFIX
="\"${enableval}\"" ;;
2629 COMPILE_COLLECTIONS
=no
2634 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
2635 CREATE_COLLECTIONS_TRUE
=
2636 CREATE_COLLECTIONS_FALSE
='#'
2638 CREATE_COLLECTIONS_TRUE
='#'
2639 CREATE_COLLECTIONS_FALSE
=
2643 # Check whether --enable-jni was given.
2644 if test "${enable_jni+set}" = set; then
2645 enableval
=$enable_jni; case "${enableval}" in
2646 yes) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2647 no
) COMPILE_JNI
=no
;;
2648 *) COMPILE_JNI
=yes; COMPILE_JAVA
=yes ;;
2656 if test "x${COMPILE_JNI}" = xyes
; then
2657 CREATE_JNI_LIBRARIES_TRUE
=
2658 CREATE_JNI_LIBRARIES_FALSE
='#'
2660 CREATE_JNI_LIBRARIES_TRUE
='#'
2661 CREATE_JNI_LIBRARIES_FALSE
=
2665 # Check whether --enable-core-jni was given.
2666 if test "${enable_core_jni+set}" = set; then
2667 enableval
=$enable_core_jni; case "${enableval}" in
2668 yes) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2669 no
) COMPILE_CORE_JNI
=no
;;
2670 *) COMPILE_CORE_JNI
=yes; COMPILE_JAVA
=yes ;;
2673 COMPILE_CORE_JNI
=yes
2678 if test "x${COMPILE_CORE_JNI}" = xyes
; then
2679 CREATE_CORE_JNI_LIBRARIES_TRUE
=
2680 CREATE_CORE_JNI_LIBRARIES_FALSE
='#'
2682 CREATE_CORE_JNI_LIBRARIES_TRUE
='#'
2683 CREATE_CORE_JNI_LIBRARIES_FALSE
=
2687 # Check whether --enable-Werror was given.
2688 if test "${enable_Werror+set}" = set; then
2689 enableval
=$enable_Werror; case "${enableval}" in
2690 yes) ENABLE_WERROR
=yes ;;
2691 no
) ENABLE_WERROR
=no
;;
2692 *) ENABLE_WERROR
=no
;;
2699 # Check whether --enable-default-toolkit was given.
2700 if test "${enable_default_toolkit+set}" = set; then
2701 enableval
=$enable_default_toolkit;
2704 default_toolkit
=$enable_default_toolkit
2705 if test "$default_toolkit" = ""; then
2706 default_toolkit
=gnu.java.awt.peer.gtk.GtkToolkit
2710 # Check whether --enable-xmlj was given.
2711 if test "${enable_xmlj+set}" = set; then
2712 enableval
=$enable_xmlj; case "${enableval}" in
2713 yes) COMPILE_XMLJ
=yes ;;
2714 no
) COMPILE_XMLJ
=no
;;
2715 *) COMPILE_XMLJ
=no
;;
2723 if test "x${COMPILE_XMLJ}" = xyes
; then
2724 CREATE_XMLJ_LIBRARY_TRUE
=
2725 CREATE_XMLJ_LIBRARY_FALSE
='#'
2727 CREATE_XMLJ_LIBRARY_TRUE
='#'
2728 CREATE_XMLJ_LIBRARY_FALSE
=
2732 DEPDIR
="${am__leading_dot}deps"
2734 ac_config_commands
="$ac_config_commands depfiles"
2737 am_make
=${MAKE-make}
2738 cat > confinc
<< 'END'
2743 # If we don't find an include directive, just comment out the code.
2744 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2745 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2749 # First try GNU make style include.
2750 echo "include confinc" > confmf
2751 # We grep out `Entering directory' and `Leaving directory'
2752 # messages which can occur if `w' ends up in MAKEFLAGS.
2753 # In particular we don't look at `^make:' because GNU make might
2754 # be invoked under some other name (usually "gmake"), in which
2755 # case it prints its new name instead of `make'.
2756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2761 # Now try BSD make style include.
2762 if test "$am__include" = "#"; then
2763 echo '.include "confinc"' > confmf
2764 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2765 am__include
=.include
2772 { echo "$as_me:$LINENO: result: $_am_result" >&5
2773 echo "${ECHO_T}$_am_result" >&6; }
2774 rm -f confinc confmf
2776 # Check whether --enable-dependency-tracking was given.
2777 if test "${enable_dependency_tracking+set}" = set; then
2778 enableval
=$enable_dependency_tracking;
2781 if test "x$enable_dependency_tracking" != xno
; then
2782 am_depcomp
="$ac_aux_dir/depcomp"
2787 if test "x$enable_dependency_tracking" != xno; then
2798 ac_cpp
='$CPP $CPPFLAGS'
2799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2802 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2804 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC
="$CC" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 if test -n "$CC"; then
2832 { echo "$as_me:$LINENO: result: $CC" >&5
2833 echo "${ECHO_T}$CC" >&6; }
2835 { echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6; }
2841 if test -z "$ac_cv_prog_CC"; then
2843 # Extract the first word of "gcc", so it can be a program name with args.
2844 set dummy gcc
; ac_word
=$2
2845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CC
="gcc"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2873 echo "${ECHO_T}$ac_ct_CC" >&6; }
2875 { echo "$as_me:$LINENO: result: no" >&5
2876 echo "${ECHO_T}no" >&6; }
2879 if test "x$ac_ct_CC" = x
; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2885 whose name does not start with the host triplet. If you think this
2886 configuration is useful to you, please write to autoconf@gnu.org." >&5
2887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2888 whose name does not start with the host triplet. If you think this
2889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2890 ac_tool_warned
=yes ;;
2898 if test -z "$CC"; then
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2901 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2904 if test "${ac_cv_prog_CC+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC
="$CC" # Let the user override the test.
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir
=.
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2917 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 if test -n "$CC"; then
2929 { echo "$as_me:$LINENO: result: $CC" >&5
2930 echo "${ECHO_T}$CC" >&6; }
2932 { echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6; }
2939 if test -z "$CC"; then
2940 # Extract the first word of "cc", so it can be a program name with args.
2941 set dummy cc
; ac_word
=$2
2942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2944 if test "${ac_cv_prog_CC+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC
="$CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2959 ac_prog_rejected
=yes
2963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test $ac_prog_rejected = yes; then
2971 # We found a bogon in the path, so make sure we never use it.
2972 set dummy
$ac_cv_prog_CC
2974 if test $# != 0; then
2975 # We chose a different compiler from the bogus one.
2976 # However, it has the same basename, so the bogon will be chosen
2977 # first if we set CC to just the basename; use the full file name.
2979 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2985 if test -n "$CC"; then
2986 { echo "$as_me:$LINENO: result: $CC" >&5
2987 echo "${ECHO_T}$CC" >&6; }
2989 { echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6; }
2995 if test -z "$CC"; then
2996 if test -n "$ac_tool_prefix"; then
2997 for ac_prog
in cl.exe
2999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3000 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3003 if test "${ac_cv_prog_CC+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC
="$CC" # Let the user override the test.
3009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir
=.
3014 for ac_exec_ext
in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 if test -n "$CC"; then
3028 { echo "$as_me:$LINENO: result: $CC" >&5
3029 echo "${ECHO_T}$CC" >&6; }
3031 { echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6; }
3036 test -n "$CC" && break
3039 if test -z "$CC"; then
3041 for ac_prog
in cl.exe
3043 # Extract the first word of "$ac_prog", so it can be a program name with args.
3044 set dummy
$ac_prog; ac_word
=$2
3045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 if test -n "$ac_ct_CC"; then
3051 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir
=.
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3060 ac_cv_prog_ac_ct_CC
="$ac_prog"
3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3071 if test -n "$ac_ct_CC"; then
3072 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3073 echo "${ECHO_T}$ac_ct_CC" >&6; }
3075 { echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6; }
3080 test -n "$ac_ct_CC" && break
3083 if test "x$ac_ct_CC" = x
; then
3086 case $cross_compiling:$ac_tool_warned in
3088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3089 whose name does not start with the host triplet. If you think this
3090 configuration is useful to you, please write to autoconf@gnu.org." >&5
3091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3092 whose name does not start with the host triplet. If you think this
3093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3094 ac_tool_warned
=yes ;;
3103 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: no acceptable C compiler found in \$PATH
3106 See \`config.log' for more details." >&2;}
3107 { (exit 1); exit 1; }; }
3109 # Provide some information about the compiler.
3110 echo "$as_me:$LINENO: checking for C compiler version" >&5
3111 ac_compiler
=`set X $ac_compile; echo $2`
3112 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3113 (eval $ac_compiler --version >&5) 2>&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }
3117 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3118 (eval $ac_compiler -v >&5) 2>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }
3122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3123 (eval $ac_compiler -V >&5) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }
3129 # List of possible output files. We want to start from the most likely,
3130 # but we have to check foo.exe before foo, because Cygwin `test -f' looks
3131 # also for foo.exe. b.out is created by i960 compilers.
3132 # As a last resort, we also try wildcards: `conftest.*' and `a.*'.
3133 # But we are not allowed to rm a.*, and we do not want always remove
3134 # conftest.*, so we will list them literally, when appropriate.
3135 ac_outfiles
="a_out.exe a.out conftest.exe conftest a.exe b.out"
3137 # The IRIX 6 linker writes into existing files which may not be
3138 # executable, retaining their permissions. Remove them first so a
3139 # subsequent execution test works.
3140 rm -f $ac_outfiles conftest.
*
3142 cat >conftest.
$ac_ext <<_ACEOF
3145 cat confdefs.h
>>conftest.
$ac_ext
3146 cat >>conftest.
$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3158 ac_clean_files_save
=$ac_clean_files
3159 ac_clean_files
="$ac_clean_files $ac_outfiles"
3161 # The following tests should remove their output except files matching conftest.*.
3162 # Try to create an executable without -o first, disregard a.out.
3163 # It will help us diagnose broken compilers, and finding out an intuition
3165 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3166 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3167 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3169 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3170 (eval $ac_link_default) 2>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; then
3174 for ac_file
in $ac_outfiles a.
* conftest.
* NO
3176 test -f "$ac_file" ||
continue
3178 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3182 if test "$ac_file" = NO
; then
3183 { { echo "$as_me:$LINENO: error: no output file found
3184 See \`config.log' for more details." >&5
3185 echo "$as_me: error: no output file found
3186 See \`config.log' for more details." >&2;}
3187 { (exit 1); exit 1; }; }
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.
$ac_ext >&5
3195 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3196 See \`config.log' for more details." >&5
3197 echo "$as_me: error: C compiler cannot create executables
3198 See \`config.log' for more details." >&2;}
3199 { (exit 77); exit 77; }; }
3202 { echo "$as_me:$LINENO: result: $ac_file" >&5
3203 echo "${ECHO_T}$ac_file" >&6; }
3204 # Check that the compiler produces executables we can run. If not, either
3205 # the compiler is broken, or we cross compile.
3206 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3207 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3208 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3209 # If not cross compiling, check that we can run a simple program.
3210 if test "$cross_compiling" != yes; then
3211 if { ac_try
='./$ac_file'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3219 if test "$cross_compiling" = maybe
; then
3222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3223 If you meant to cross compile, use \`--host'.
3224 See \`config.log' for more details." >&5
3225 echo "$as_me: error: cannot run C compiled programs.
3226 If you meant to cross compile, use \`--host'.
3227 See \`config.log' for more details." >&2;}
3228 { (exit 1); exit 1; }; }
3232 { echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6; }
3235 # Clean up; list also $ac_file, in case it matched a wildcard entry.
3236 rm -f $ac_outfiles $ac_file
3238 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3239 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3240 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3241 echo "${ECHO_T}$cross_compiling" >&6; }
3243 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3244 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3245 if test "${ac_cv_exeext+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3249 (eval $ac_link) 2>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; then
3253 # If both `conftest.exe' and `conftest' are `present' (well, observable),
3254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3255 # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
3256 for ac_file
in conftest.exe conftest conftest.
* NO
; do
3257 test -f "$ac_file" ||
continue
3259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3265 if test "$ac_file" = NO
; then
3266 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
3267 See \`config.log' for more details." >&5
3268 echo "$as_me: error: cannot compute suffix of executables: no output file found
3269 See \`config.log' for more details." >&2;}
3270 { (exit 1); exit 1; }; }
3273 # Clean up; list also $ac_file, in case it matched conftest.*.
3274 rm -f $ac_outfiles $ac_file
3277 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3278 See \`config.log' for more details." >&5
3279 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3280 See \`config.log' for more details." >&2;}
3281 { (exit 1); exit 1; }; }
3287 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3288 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3289 EXEEXT
=$ac_cv_exeext
3293 ac_clean_files
=$ac_clean_files_save
3295 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3296 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3297 if test "${ac_cv_objext+set}" = set; then
3298 echo $ECHO_N "(cached) $ECHO_C" >&6
3300 rm -f conftest.o conftest.obj
3301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302 (eval $ac_compile) 2>&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; then
3306 for ac_file
in conftest.o conftest.obj conftest.
*; do
3307 test -f "$ac_file" ||
continue;
3309 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
3310 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.
$ac_ext >&5
3318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3319 See \`config.log' for more details." >&5
3320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3321 See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3326 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3327 echo "${ECHO_T}$ac_cv_objext" >&6; }
3328 OBJEXT
=$ac_cv_objext
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 cat >conftest.
$ac_ext <<_ACEOF
3341 cat confdefs.h
>>conftest.
$ac_ext
3342 cat >>conftest.
$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3356 rm -f conftest.
$ac_objext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3358 (eval $ac_compile) 2>conftest.er1
3360 grep -v '^ *+' conftest.er1
>conftest.err
3362 cat conftest.err
>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } &&
3365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; } &&
3371 { ac_try
='test -s conftest.$ac_objext'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.
$ac_ext >&5
3385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3386 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3389 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3390 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3391 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3392 ac_test_CFLAGS
=${CFLAGS+set}
3393 ac_save_CFLAGS
=$CFLAGS
3394 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3395 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3396 if test "${ac_cv_prog_cc_g+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 ac_save_c_werror_flag
=$ac_c_werror_flag
3400 ac_c_werror_flag
=yes
3403 cat >conftest.
$ac_ext <<_ACEOF
3406 cat confdefs.h
>>conftest.
$ac_ext
3407 cat >>conftest.
$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3418 rm -f conftest.
$ac_objext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } &&
3427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; } &&
3433 { ac_try
='test -s conftest.$ac_objext'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.
$ac_ext >&5
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3460 rm -f conftest.
$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462 (eval $ac_compile) 2>conftest.er1
3464 grep -v '^ *+' conftest.er1
>conftest.err
3466 cat conftest.err
>&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
3469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; } &&
3475 { ac_try
='test -s conftest.$ac_objext'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; }; then
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.
$ac_ext >&5
3486 ac_c_werror_flag
=$ac_save_c_werror_flag
3488 cat >conftest.
$ac_ext <<_ACEOF
3491 cat confdefs.h
>>conftest.
$ac_ext
3492 cat >>conftest.
$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3503 rm -f conftest.
$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; } &&
3518 { ac_try
='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3539 ac_c_werror_flag
=$ac_save_c_werror_flag
3541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS
=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3552 if test "$GCC" = yes; then
3558 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3559 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_cc_c89+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 ac_cv_prog_cc_c89
=no
3565 cat >conftest.
$ac_ext <<_ACEOF
3568 cat confdefs.h
>>conftest.
$ac_ext
3569 cat >>conftest.
$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3573 #include <sys/types.h>
3574 #include <sys/stat.h>
3575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3576 struct buf { int x; };
3577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3578 static char *e (p, i)
3584 static char *f (char * (*g) (char **, int), char **p, ...)
3589 s = g (p, va_arg (v,int));
3594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3595 function prototypes and stuff, but not '\xHH' hex character constants.
3596 These don't provoke an error unfortunately, instead are silently treated
3597 as 'x'. The following induces an error, until -std is added to get
3598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3599 array size at least. It's necessary to write '\x00'==0 to get something
3600 that's true only with -std. */
3601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3603 int test (int i, double x);
3604 struct s1 {int (*f) (int a);};
3605 struct s2 {int (*f) (double a);};
3606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3617 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3620 CC
="$ac_save_CC $ac_arg"
3621 rm -f conftest.
$ac_objext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3623 (eval $ac_compile) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try
='test -s conftest.$ac_objext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_prog_cc_c89
=$ac_arg
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.
$ac_ext >&5
3650 rm -f conftest.err conftest.
$ac_objext
3651 test "x$ac_cv_prog_cc_c89" != "xno" && break
3653 rm -f conftest.
$ac_ext
3658 case "x$ac_cv_prog_cc_c89" in
3660 { echo "$as_me:$LINENO: result: none needed" >&5
3661 echo "${ECHO_T}none needed" >&6; } ;;
3663 { echo "$as_me:$LINENO: result: unsupported" >&5
3664 echo "${ECHO_T}unsupported" >&6; } ;;
3666 CC
="$CC $ac_cv_prog_cc_c89"
3667 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3668 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3673 ac_cpp
='$CPP $CPPFLAGS'
3674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3678 depcc
="$CC" am_compiler_list
=
3680 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3681 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3682 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3686 # We make a subdir and do the tests there. Otherwise we can end up
3687 # making bogus files that we don't know about and never remove. For
3688 # instance it was reported that on HP-UX the gcc test will end up
3689 # making a dummy file named `D' -- because `-MD' means `put the output
3692 # Copy depcomp to subdir because otherwise we won't find it if we're
3693 # using a relative directory.
3694 cp "$am_depcomp" conftest.dir
3696 # We will build objects and dependencies in a subdirectory because
3697 # it helps to detect inapplicable dependency modes. For instance
3698 # both Tru64's cc and ICC support -MD to output dependencies as a
3699 # side effect of compilation, but ICC will put the dependencies in
3700 # the current directory while Tru64 will put them in the object
3704 am_cv_CC_dependencies_compiler_type
=none
3705 if test "$am_compiler_list" = ""; then
3706 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708 for depmode
in $am_compiler_list; do
3709 # Setup a source with many dependencies, because some compilers
3710 # like to wrap large dependency lists on column 80 (with \), and
3711 # we should not choose a depcomp mode which is confused by this.
3713 # We need to recreate these files for each test, as the compiler may
3714 # overwrite some of them when testing with obscure command lines.
3715 # This happens at least with the AIX C compiler.
3717 for i
in 1 2 3 4 5 6; do
3718 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3719 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3720 # Solaris 8's {/usr,}/bin/sh.
3721 touch sub
/conftst
$i.h
3723 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3727 # after this tag, mechanisms are not by side-effect, so they'll
3728 # only be used when explicitly requested
3729 if test "x$enable_dependency_tracking" = xyes
; then
3737 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3738 # mode. It turns out that the SunPro C++ compiler does not properly
3739 # handle `-M -o', and we need to detect this.
3740 if depmode
=$depmode \
3741 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3742 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3743 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3744 >/dev
/null
2>conftest.err
&&
3745 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3746 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3747 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3748 # icc doesn't choke on unknown options, it will just issue warnings
3749 # or remarks (even with -Werror). So we grep stderr for any message
3750 # that says an option was ignored or not supported.
3751 # When given -MP, icc 7.0 and 7.1 complain thusly:
3752 # icc: Command line warning: ignoring option '-M'; no argument required
3753 # The diagnosis changed in icc 8.0:
3754 # icc: Command line remark: option '-MP' not supported
3755 if (grep 'ignoring option' conftest.err ||
3756 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3757 am_cv_CC_dependencies_compiler_type
=$depmode
3766 am_cv_CC_dependencies_compiler_type
=none
3770 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3771 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3772 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3777 test "x$enable_dependency_tracking" != xno \
3778 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3780 am__fastdepCC_FALSE
='#'
3782 am__fastdepCC_TRUE
='#'
3783 am__fastdepCC_FALSE
=
3789 ac_cpp
='$CPP $CPPFLAGS'
3790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3793 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3795 # On Suns, sometimes $CPP names a directory.
3796 if test -n "$CPP" && test -d "$CPP"; then
3799 if test -z "$CPP"; then
3800 if test "${ac_cv_prog_CPP+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 # Double quotes because CPP needs to be expanded
3804 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3807 for ac_c_preproc_warn_flag
in '' yes
3809 # Use a header file that comes with gcc, so configuring glibc
3810 # with a fresh cross-compiler works.
3811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812 # <limits.h> exists even on freestanding compilers.
3813 # On the NeXT, cc -E runs the code through the compiler's parser,
3814 # not just through cpp. "Syntax error" is here to catch this case.
3815 cat >conftest.
$ac_ext <<_ACEOF
3818 cat confdefs.h
>>conftest.
$ac_ext
3819 cat >>conftest.
$ac_ext <<_ACEOF
3820 /* end confdefs.h. */
3822 # include <limits.h>
3824 # include <assert.h>
3828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3831 grep -v '^ *+' conftest.er1
>conftest.err
3833 cat conftest.err
>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } >/dev
/null
; then
3836 if test -s conftest.err
; then
3837 ac_cpp_err
=$ac_c_preproc_warn_flag
3838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3845 if test -z "$ac_cpp_err"; then
3848 echo "$as_me: failed program was:" >&5
3849 sed 's/^/| /' conftest.
$ac_ext >&5
3851 # Broken: fails on valid input.
3855 rm -f conftest.err conftest.
$ac_ext
3857 # OK, works on sane cases. Now check whether nonexistent headers
3858 # can be detected and how.
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3865 #include <ac_nonexistent.h>
3867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3870 grep -v '^ *+' conftest.er1
>conftest.err
3872 cat conftest.err
>&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev
/null
; then
3875 if test -s conftest.err
; then
3876 ac_cpp_err
=$ac_c_preproc_warn_flag
3877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3884 if test -z "$ac_cpp_err"; then
3885 # Broken: success on invalid input.
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.
$ac_ext >&5
3891 # Passes both tests.
3896 rm -f conftest.err conftest.
$ac_ext
3899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3900 rm -f conftest.err conftest.
$ac_ext
3901 if $ac_preproc_ok; then
3913 { echo "$as_me:$LINENO: result: $CPP" >&5
3914 echo "${ECHO_T}$CPP" >&6; }
3916 for ac_c_preproc_warn_flag
in '' yes
3918 # Use a header file that comes with gcc, so configuring glibc
3919 # with a fresh cross-compiler works.
3920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3921 # <limits.h> exists even on freestanding compilers.
3922 # On the NeXT, cc -E runs the code through the compiler's parser,
3923 # not just through cpp. "Syntax error" is here to catch this case.
3924 cat >conftest.
$ac_ext <<_ACEOF
3927 cat confdefs.h
>>conftest.
$ac_ext
3928 cat >>conftest.
$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3931 # include <limits.h>
3933 # include <assert.h>
3937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3940 grep -v '^ *+' conftest.er1
>conftest.err
3942 cat conftest.err
>&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } >/dev
/null
; then
3945 if test -s conftest.err
; then
3946 ac_cpp_err
=$ac_c_preproc_warn_flag
3947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3954 if test -z "$ac_cpp_err"; then
3957 echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.
$ac_ext >&5
3960 # Broken: fails on valid input.
3964 rm -f conftest.err conftest.
$ac_ext
3966 # OK, works on sane cases. Now check whether nonexistent headers
3967 # can be detected and how.
3968 cat >conftest.
$ac_ext <<_ACEOF
3971 cat confdefs.h
>>conftest.
$ac_ext
3972 cat >>conftest.
$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 #include <ac_nonexistent.h>
3976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3979 grep -v '^ *+' conftest.er1
>conftest.err
3981 cat conftest.err
>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } >/dev
/null
; then
3984 if test -s conftest.err
; then
3985 ac_cpp_err
=$ac_c_preproc_warn_flag
3986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3993 if test -z "$ac_cpp_err"; then
3994 # Broken: success on invalid input.
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 # Passes both tests.
4005 rm -f conftest.err conftest.
$ac_ext
4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4009 rm -f conftest.err conftest.
$ac_ext
4010 if $ac_preproc_ok; then
4013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4014 See \`config.log' for more details." >&5
4015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4016 See \`config.log' for more details." >&2;}
4017 { (exit 1); exit 1; }; }
4021 ac_cpp
='$CPP $CPPFLAGS'
4022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4027 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4028 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4029 if test "${ac_cv_path_GREP+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 # Extract the first word of "grep ggrep" to use in msg output
4033 if test -z "$GREP"; then
4034 set dummy
grep ggrep
; ac_prog_name
=$2
4035 if test "${ac_cv_path_GREP+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 ac_path_GREP_found
=false
4039 # Loop through the user's path and test for each of PROGNAME-LIST
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_prog
in grep ggrep
; do
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4048 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4049 # Check for GNU ac_path_GREP and select it if it is found.
4050 # Check for GNU $ac_path_GREP
4051 case `"$ac_path_GREP" --version 2>&1` in
4053 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4056 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4059 cat "conftest.in" "conftest.in" >"conftest.tmp"
4060 mv "conftest.tmp" "conftest.in"
4061 cp "conftest.in" "conftest.nl"
4062 echo 'GREP' >> "conftest.nl"
4063 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4064 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4065 ac_count
=`expr $ac_count + 1`
4066 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4067 # Best one so far, save it but keep looking for a better one
4068 ac_cv_path_GREP
="$ac_path_GREP"
4069 ac_path_GREP_max
=$ac_count
4071 # 10*(2^10) chars as input seems more than enough
4072 test $ac_count -gt 10 && break
4078 $ac_path_GREP_found && break 3
4088 GREP
="$ac_cv_path_GREP"
4089 if test -z "$GREP"; then
4090 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4091 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4092 { (exit 1); exit 1; }; }
4096 ac_cv_path_GREP
=$GREP
4101 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4102 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4103 GREP
="$ac_cv_path_GREP"
4106 { echo "$as_me:$LINENO: checking for egrep" >&5
4107 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4108 if test "${ac_cv_path_EGREP+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4112 then ac_cv_path_EGREP
="$GREP -E"
4114 # Extract the first word of "egrep" to use in msg output
4115 if test -z "$EGREP"; then
4116 set dummy
egrep; ac_prog_name
=$2
4117 if test "${ac_cv_path_EGREP+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 ac_path_EGREP_found
=false
4121 # Loop through the user's path and test for each of PROGNAME-LIST
4122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4126 test -z "$as_dir" && as_dir
=.
4127 for ac_prog
in egrep; do
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4130 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4131 # Check for GNU ac_path_EGREP and select it if it is found.
4132 # Check for GNU $ac_path_EGREP
4133 case `"$ac_path_EGREP" --version 2>&1` in
4135 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4138 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4141 cat "conftest.in" "conftest.in" >"conftest.tmp"
4142 mv "conftest.tmp" "conftest.in"
4143 cp "conftest.in" "conftest.nl"
4144 echo 'EGREP' >> "conftest.nl"
4145 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4146 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4147 ac_count
=`expr $ac_count + 1`
4148 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4149 # Best one so far, save it but keep looking for a better one
4150 ac_cv_path_EGREP
="$ac_path_EGREP"
4151 ac_path_EGREP_max
=$ac_count
4153 # 10*(2^10) chars as input seems more than enough
4154 test $ac_count -gt 10 && break
4160 $ac_path_EGREP_found && break 3
4170 EGREP
="$ac_cv_path_EGREP"
4171 if test -z "$EGREP"; then
4172 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4173 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4174 { (exit 1); exit 1; }; }
4178 ac_cv_path_EGREP
=$EGREP
4184 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4185 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4186 EGREP
="$ac_cv_path_EGREP"
4189 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4190 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4191 if test "${ac_cv_header_stdc+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 cat >conftest.
$ac_ext <<_ACEOF
4197 cat confdefs.h
>>conftest.
$ac_ext
4198 cat >>conftest.
$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4213 rm -f conftest.
$ac_objext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215 (eval $ac_compile) 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try
='test -s conftest.$ac_objext'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; }; then
4234 ac_cv_header_stdc
=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.
$ac_ext >&5
4239 ac_cv_header_stdc
=no
4242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 if test $ac_cv_header_stdc = yes; then
4245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4246 cat >conftest.
$ac_ext <<_ACEOF
4249 cat confdefs.h
>>conftest.
$ac_ext
4250 cat >>conftest.
$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4256 $EGREP "memchr" >/dev
/null
2>&1; then
4259 ac_cv_header_stdc
=no
4265 if test $ac_cv_header_stdc = yes; then
4266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4277 $EGREP "free" >/dev
/null
2>&1; then
4280 ac_cv_header_stdc
=no
4286 if test $ac_cv_header_stdc = yes; then
4287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4288 if test "$cross_compiling" = yes; then
4291 cat >conftest.
$ac_ext <<_ACEOF
4294 cat confdefs.h
>>conftest.
$ac_ext
4295 cat >>conftest.
$ac_ext <<_ACEOF
4296 /* end confdefs.h. */
4299 #if ((' ' & 0x0FF) == 0x020)
4300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4303 # define ISLOWER(c) \
4304 (('a' <= (c) && (c) <= 'i') \
4305 || ('j' <= (c) && (c) <= 'r') \
4306 || ('s' <= (c) && (c) <= 'z'))
4307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4315 for (i = 0; i < 256; i++)
4316 if (XOR (islower (i), ISLOWER (i))
4317 || toupper (i) != TOUPPER (i))
4322 rm -f conftest
$ac_exeext
4323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324 (eval $ac_link) 2>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4335 echo "$as_me: program exited with status $ac_status" >&5
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.
$ac_ext >&5
4340 ac_cv_header_stdc
=no
4342 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4348 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4349 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4350 if test $ac_cv_header_stdc = yes; then
4352 cat >>confdefs.h
<<\_ACEOF
4353 #define STDC_HEADERS 1
4358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4368 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4369 inttypes.h stdint.h unistd.h
4371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4374 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 cat >conftest.
$ac_ext <<_ACEOF
4380 cat confdefs.h
>>conftest.
$ac_ext
4381 cat >>conftest.
$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4383 $ac_includes_default
4385 #include <$ac_header>
4387 rm -f conftest.
$ac_objext
4388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4389 (eval $ac_compile) 2>conftest.er1
4391 grep -v '^ *+' conftest.er1
>conftest.err
4393 cat conftest.err
>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } &&
4396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; } &&
4402 { ac_try
='test -s conftest.$ac_objext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 eval "$as_ac_Header=yes"
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.
$ac_ext >&5
4413 eval "$as_ac_Header=no"
4416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4418 ac_res
=`eval echo '${'$as_ac_Header'}'`
4419 { echo "$as_me:$LINENO: result: $ac_res" >&5
4420 echo "${ECHO_T}$ac_res" >&6; }
4421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4422 cat >>confdefs.h
<<_ACEOF
4423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4431 # Check whether --enable-alsa was given.
4432 if test "${enable_alsa+set}" = set; then
4433 enableval
=$enable_alsa; case "${enableval}" in
4434 yes) COMPILE_ALSA
=yes ;;
4435 no
) COMPILE_ALSA
=no
;;
4436 *) COMPILE_ALSA
=yes ;;
4440 for ac_header
in alsa
/asoundlib.h
4442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4446 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 ac_res
=`eval echo '${'$as_ac_Header'}'`
4450 { echo "$as_me:$LINENO: result: $ac_res" >&5
4451 echo "${ECHO_T}$ac_res" >&6; }
4453 # Is the header compilable?
4454 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4456 cat >conftest.
$ac_ext <<_ACEOF
4459 cat confdefs.h
>>conftest.
$ac_ext
4460 cat >>conftest.
$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4462 $ac_includes_default
4463 #include <$ac_header>
4465 rm -f conftest.
$ac_objext
4466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467 (eval $ac_compile) 2>conftest.er1
4469 grep -v '^ *+' conftest.er1
>conftest.err
4471 cat conftest.err
>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } &&
4474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; } &&
4480 { ac_try
='test -s conftest.$ac_objext'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; }; then
4486 ac_header_compiler
=yes
4488 echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.
$ac_ext >&5
4491 ac_header_compiler
=no
4494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4496 echo "${ECHO_T}$ac_header_compiler" >&6; }
4498 # Is the header present?
4499 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4501 cat >conftest.
$ac_ext <<_ACEOF
4504 cat confdefs.h
>>conftest.
$ac_ext
4505 cat >>conftest.
$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4507 #include <$ac_header>
4509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4512 grep -v '^ *+' conftest.er1
>conftest.err
4514 cat conftest.err
>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } >/dev
/null
; then
4517 if test -s conftest.err
; then
4518 ac_cpp_err
=$ac_c_preproc_warn_flag
4519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4526 if test -z "$ac_cpp_err"; then
4527 ac_header_preproc
=yes
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.
$ac_ext >&5
4532 ac_header_preproc
=no
4535 rm -f conftest.err conftest.
$ac_ext
4536 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4537 echo "${ECHO_T}$ac_header_preproc" >&6; }
4539 # So? What about this header?
4540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4546 ac_header_preproc
=yes
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4562 ## -------------------------------- ##
4563 ## Report this to classpath@gnu.org ##
4564 ## -------------------------------- ##
4566 ) |
sed "s/^/$as_me: WARNING: /" >&2
4569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4571 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 eval "$as_ac_Header=\$ac_header_preproc"
4576 ac_res
=`eval echo '${'$as_ac_Header'}'`
4577 { echo "$as_me:$LINENO: result: $ac_res" >&5
4578 echo "${ECHO_T}$ac_res" >&6; }
4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4582 cat >>confdefs.h
<<_ACEOF
4583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4585 { echo "$as_me:$LINENO: checking for snd_seq_open in -lasound" >&5
4586 echo $ECHO_N "checking for snd_seq_open in -lasound... $ECHO_C" >&6; }
4587 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 ac_check_lib_save_LIBS
=$LIBS
4591 LIBS
="-lasound $LIBS"
4592 cat >conftest.
$ac_ext <<_ACEOF
4595 cat confdefs.h
>>conftest.
$ac_ext
4596 cat >>conftest.
$ac_ext <<_ACEOF
4597 /* end confdefs.h. */
4599 /* Override any GCC internal prototype to avoid an error.
4600 Use char because int might match the return type of a GCC
4601 builtin and then its argument prototype would still apply. */
4605 char snd_seq_open ();
4609 return snd_seq_open ();
4614 rm -f conftest.
$ac_objext conftest
$ac_exeext
4615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4616 (eval $ac_link) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } &&
4623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try
='test -s conftest$ac_exeext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4635 ac_cv_lib_asound_snd_seq_open
=yes
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4640 ac_cv_lib_asound_snd_seq_open
=no
4643 rm -f conftest.err conftest.
$ac_objext \
4644 conftest
$ac_exeext conftest.
$ac_ext
4645 LIBS
=$ac_check_lib_save_LIBS
4647 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_open" >&5
4648 echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_open" >&6; }
4649 if test $ac_cv_lib_asound_snd_seq_open = yes; then
4665 if test "x${COMPILE_ALSA}" = xyes
; then
4666 CREATE_ALSA_LIBRARIES_TRUE
=
4667 CREATE_ALSA_LIBRARIES_FALSE
='#'
4669 CREATE_ALSA_LIBRARIES_TRUE
='#'
4670 CREATE_ALSA_LIBRARIES_FALSE
=
4674 # Check whether --enable-dssi was given.
4675 if test "${enable_dssi+set}" = set; then
4676 enableval
=$enable_dssi; case "${enableval}" in
4677 yes) COMPILE_DSSI
=yes ;;
4678 no
) COMPILE_DSSI
=no
;;
4679 *) COMPILE_DSSI
=yes ;;
4683 for ac_header
in dssi.h
4685 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4686 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4689 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 ac_res
=`eval echo '${'$as_ac_Header'}'`
4693 { echo "$as_me:$LINENO: result: $ac_res" >&5
4694 echo "${ECHO_T}$ac_res" >&6; }
4696 # Is the header compilable?
4697 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4699 cat >conftest.
$ac_ext <<_ACEOF
4702 cat confdefs.h
>>conftest.
$ac_ext
4703 cat >>conftest.
$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 $ac_includes_default
4706 #include <$ac_header>
4708 rm -f conftest.
$ac_objext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4710 (eval $ac_compile) 2>conftest.er1
4712 grep -v '^ *+' conftest.er1
>conftest.err
4714 cat conftest.err
>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try
='test -s conftest.$ac_objext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4729 ac_header_compiler
=yes
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.
$ac_ext >&5
4734 ac_header_compiler
=no
4737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4738 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4739 echo "${ECHO_T}$ac_header_compiler" >&6; }
4741 # Is the header present?
4742 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4744 cat >conftest.
$ac_ext <<_ACEOF
4747 cat confdefs.h
>>conftest.
$ac_ext
4748 cat >>conftest.
$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 #include <$ac_header>
4752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } >/dev
/null
; then
4760 if test -s conftest.err
; then
4761 ac_cpp_err
=$ac_c_preproc_warn_flag
4762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4769 if test -z "$ac_cpp_err"; then
4770 ac_header_preproc
=yes
4772 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.
$ac_ext >&5
4775 ac_header_preproc
=no
4778 rm -f conftest.err conftest.
$ac_ext
4779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4780 echo "${ECHO_T}$ac_header_preproc" >&6; }
4782 # So? What about this header?
4783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4789 ac_header_preproc
=yes
4792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4805 ## -------------------------------- ##
4806 ## Report this to classpath@gnu.org ##
4807 ## -------------------------------- ##
4809 ) |
sed "s/^/$as_me: WARNING: /" >&2
4812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4814 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 eval "$as_ac_Header=\$ac_header_preproc"
4819 ac_res
=`eval echo '${'$as_ac_Header'}'`
4820 { echo "$as_me:$LINENO: result: $ac_res" >&5
4821 echo "${ECHO_T}$ac_res" >&6; }
4824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4825 cat >>confdefs.h
<<_ACEOF
4826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4839 if test "x${COMPILE_DSSI}" = xyes
; then
4840 CREATE_DSSI_LIBRARIES_TRUE
=
4841 CREATE_DSSI_LIBRARIES_FALSE
='#'
4843 CREATE_DSSI_LIBRARIES_TRUE
='#'
4844 CREATE_DSSI_LIBRARIES_FALSE
=
4848 # Check whether --enable-gtk-peer was given.
4849 if test "${enable_gtk_peer+set}" = set; then
4850 enableval
=$enable_gtk_peer; case "${enableval}" in
4851 yes) COMPILE_GTK_PEER
=yes ;;
4852 no
) COMPILE_GTK_PEER
=no
;;
4853 *) COMPILE_GTK_PEER
=yes ;;
4856 COMPILE_GTK_PEER
=yes
4861 if test "x${COMPILE_GTK_PEER}" = xyes
; then
4862 CREATE_GTK_PEER_LIBRARIES_TRUE
=
4863 CREATE_GTK_PEER_LIBRARIES_FALSE
='#'
4865 CREATE_GTK_PEER_LIBRARIES_TRUE
='#'
4866 CREATE_GTK_PEER_LIBRARIES_FALSE
=
4870 # Check whether --enable-gtk-peers was given.
4871 if test "${enable_gtk_peers+set}" = set; then
4872 enableval
=$enable_gtk_peers; { { echo "$as_me:$LINENO: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&5
4873 echo "$as_me: error: No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" >&2;}
4874 { (exit 1); exit 1; }; }
4878 # Check whether --enable-gtk-cairo was given.
4879 if test "${enable_gtk_cairo+set}" = set; then
4880 enableval
=$enable_gtk_cairo; case "${enableval}" in
4881 yes) GTK_CAIRO_ENABLED
=true
;;
4882 no
) GTK_CAIRO_ENABLED
=false
;;
4883 *) GTK_CAIRO_ENABLED
=true
;;
4886 GTK_CAIRO_ENABLED
=false
4890 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4892 cat >>confdefs.h
<<\_ACEOF
4899 if test "x${GTK_CAIRO_ENABLED}" = xtrue
; then
4908 # Check whether --enable-qt-peer was given.
4909 if test "${enable_qt_peer+set}" = set; then
4910 enableval
=$enable_qt_peer; case "${enableval}" in
4911 yes) COMPILE_QT_PEER
=yes ;;
4912 no
) COMPILE_QT_PEER
=no
;;
4913 *) COMPILE_QT_PEER
=yes ;;
4921 if test "x${COMPILE_QT_PEER}" = xyes
; then
4922 CREATE_QT_PEER_LIBRARIES_TRUE
=
4923 CREATE_QT_PEER_LIBRARIES_FALSE
='#'
4925 CREATE_QT_PEER_LIBRARIES_TRUE
='#'
4926 CREATE_QT_PEER_LIBRARIES_FALSE
=
4932 # Check whether --with-native-libdir was given.
4933 if test "${with_native_libdir+set}" = set; then
4934 withval
=$with_native_libdir;
4935 nativeexeclibdir
=${withval}
4939 nativeexeclibdir
='${libdir}/${PACKAGE}'
4947 # Check whether --with-glibj-dir was given.
4948 if test "${with_glibj_dir+set}" = set; then
4949 withval
=$with_glibj_dir;
4954 glibjdir
='${datadir}/${PACKAGE}'
4961 # Check whether --enable-regen-headers was given.
4962 if test "${enable_regen_headers+set}" = set; then
4963 enableval
=$enable_regen_headers; case "${enableval}" in
4964 yes) REGENERATE_JNI_HEADERS
=yes ;;
4965 no
) REGENERATE_JNI_HEADERS
=no
;;
4966 *) REGENERATE_JNI_HEADERS
=no
;;
4969 REGENERATE_JNI_HEADERS
=no
4974 if test "x${REGENERATE_JNI_HEADERS}" = xyes
; then
4975 CREATE_JNI_HEADERS_TRUE
=
4976 CREATE_JNI_HEADERS_FALSE
='#'
4978 CREATE_JNI_HEADERS_TRUE
='#'
4979 CREATE_JNI_HEADERS_FALSE
=
4983 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4984 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4986 if test "$LN_S" = "ln -s"; then
4987 { echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6; }
4990 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4991 echo "${ECHO_T}no, using $LN_S" >&6; }
4994 # Find a good install program. We prefer a C program (faster),
4995 # so one script is as good as another. But avoid the broken or
4996 # incompatible versions:
4997 # SysV /etc/install, /usr/sbin/install
4998 # SunOS /usr/etc/install
4999 # IRIX /sbin/install
5001 # AmigaOS /C/install, which installs bootblocks on floppy discs
5002 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5003 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5004 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5005 # OS/2's system install, which has a completely different semantic
5006 # ./install, which can be erroneously created by make from ./install.sh.
5007 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5008 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5009 if test -z "$INSTALL"; then
5010 if test "${ac_cv_path_install+set}" = set; then
5011 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 # Account for people who put trailing slashes in PATH elements.
5020 .
/ | .
// |
/cC
/* | \
5021 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5022 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5025 # OSF1 and SCO ODT 3.0 have their own names for install.
5026 # Don't use installbsd from OSF since it installs stuff as root
5028 for ac_prog
in ginstall scoinst
install; do
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5031 if test $ac_prog = install &&
5032 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5033 # AIX install. It has an incompatible calling convention.
5035 elif test $ac_prog = install &&
5036 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5037 # program-specific install script used by HP pwplus--don't use.
5040 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5053 if test "${ac_cv_path_install+set}" = set; then
5054 INSTALL
=$ac_cv_path_install
5056 # As a last resort, use the slow shell script. Don't cache a
5057 # value for INSTALL within a source directory, because that will
5058 # break other packages using the cache if that directory is
5059 # removed, or if the value is a relative name.
5060 INSTALL
=$ac_install_sh
5063 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5064 echo "${ECHO_T}$INSTALL" >&6; }
5066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5067 # It thinks the first close brace ends the variable substitution.
5068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5072 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5076 # Check whether --enable-static was given.
5077 if test "${enable_static+set}" = set; then
5078 enableval
=$enable_static; p
=${PACKAGE-default}
5080 yes) enable_static
=yes ;;
5081 no
) enable_static
=no
;;
5084 # Look at the argument we got. We use all the common list separators.
5085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5086 for pkg
in $enableval; do
5087 if test "X$pkg" = "X$p"; then
5098 # Check whether --enable-shared was given.
5099 if test "${enable_shared+set}" = set; then
5100 enableval
=$enable_shared; p
=${PACKAGE-default}
5102 yes) enable_shared
=yes ;;
5103 no
) enable_shared
=no
;;
5106 # Look at the argument we got. We use all the common list separators.
5107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5108 for pkg
in $enableval; do
5109 if test "X$pkg" = "X$p"; then
5120 # Check whether --enable-fast-install was given.
5121 if test "${enable_fast_install+set}" = set; then
5122 enableval
=$enable_fast_install; p
=${PACKAGE-default}
5124 yes) enable_fast_install
=yes ;;
5125 no
) enable_fast_install
=no
;;
5127 enable_fast_install
=no
5128 # Look at the argument we got. We use all the common list separators.
5129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5130 for pkg
in $enableval; do
5131 if test "X$pkg" = "X$p"; then
5132 enable_fast_install
=yes
5139 enable_fast_install
=yes
5143 # Check whether --with-gnu-ld was given.
5144 if test "${with_gnu_ld+set}" = set; then
5145 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5151 if test "$GCC" = yes; then
5152 # Check if gcc -print-prog-name=ld gives a path.
5153 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5154 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
5157 # gcc leaves a trailing carriage return which upsets mingw
5158 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5160 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5163 # Accept absolute paths.
5164 [\\/]* |
[A-Za-z
]:[\\/]*)
5165 re_direlt
='/[^/][^/]*/\.\./'
5166 # Canonicalize the path of ld
5167 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5168 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5169 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5171 test -z "$LD" && LD
="$ac_prog"
5174 # If it fails, then pretend we aren't using GCC.
5178 # If it is relative, then search for the first ld in PATH.
5182 elif test "$with_gnu_ld" = yes; then
5183 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5186 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5189 if test "${lt_cv_path_LD+set}" = set; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 if test -z "$LD"; then
5193 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5194 for ac_dir
in $PATH; do
5195 test -z "$ac_dir" && ac_dir
=.
5196 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5197 lt_cv_path_LD
="$ac_dir/$ac_prog"
5198 # Check to see if the program is GNU ld. I'd rather use --version,
5199 # but apparently some GNU ld's only accept -v.
5200 # Break only if it was the GNU/non-GNU ld that we prefer.
5201 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5202 test "$with_gnu_ld" != no
&& break
5204 test "$with_gnu_ld" != yes && break
5210 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5215 if test -n "$LD"; then
5216 { echo "$as_me:$LINENO: result: $LD" >&5
5217 echo "${ECHO_T}$LD" >&6; }
5219 { echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6; }
5222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5224 { (exit 1); exit 1; }; }
5225 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5231 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5232 lt_cv_prog_gnu_ld
=yes
5234 lt_cv_prog_gnu_ld
=no
5237 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5238 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5239 with_gnu_ld
=$lt_cv_prog_gnu_ld
5242 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5243 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5244 if test "${lt_cv_ld_reload_flag+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 lt_cv_ld_reload_flag
='-r'
5249 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5250 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5251 reload_flag
=$lt_cv_ld_reload_flag
5252 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5254 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5255 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5256 if test "${lt_cv_path_NM+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 if test -n "$NM"; then
5260 # Let the user override the test.
5263 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5264 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5265 test -z "$ac_dir" && ac_dir
=.
5266 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5267 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5268 # Check to see if the nm accepts a BSD-compat flag.
5269 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5270 # nm: unknown option "B" ignored
5271 # Tru64's nm complains that /dev/null is an invalid object file
5272 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5273 lt_cv_path_NM
="$tmp_nm -B"
5275 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5276 lt_cv_path_NM
="$tmp_nm -p"
5279 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5280 continue # so that we can try to find one that supports BSD flags
5285 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5290 { echo "$as_me:$LINENO: result: $NM" >&5
5291 echo "${ECHO_T}$NM" >&6; }
5293 { echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5294 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
5295 if test "${lt_cv_deplibs_check_method+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5299 lt_cv_file_magic_test_file
=
5300 lt_cv_deplibs_check_method
='unknown'
5301 # Need to set the preceding variable on all platforms that support
5302 # interlibrary dependencies.
5303 # 'none' -- dependencies not supported.
5304 # `unknown' -- same as none, but documents that we really don't know.
5305 # 'pass_all' -- all dependencies passed with no checks.
5306 # 'test_compile' -- check by making test program.
5307 # 'file_magic [regex]' -- check by looking for files in library path
5308 # which responds to the $file_magic_cmd with a given egrep regex.
5309 # If you have `file' or equivalent on your system and you're not sure
5310 # whether `pass_all' will *always* work, you probably want this one.
5314 lt_cv_deplibs_check_method
=pass_all
5318 lt_cv_deplibs_check_method
=pass_all
5322 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5323 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5324 lt_cv_file_magic_test_file
=/shlib
/libc.so
5327 cygwin
* | mingw
* |pw32
*)
5328 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5329 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5332 darwin
* | rhapsody
*)
5333 # this will be overwritten by pass_all, but leave it in just in case
5334 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5335 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5337 rhapsody
* | darwin1.012
)
5338 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5341 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5344 lt_cv_deplibs_check_method
=pass_all
5347 freebsd
* | kfreebsd
*-gnu)
5348 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5351 # Not sure whether the presence of OpenBSD here was a mistake.
5352 # Let's accept both of them until this is cleared up.
5353 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5354 lt_cv_file_magic_cmd
=/usr
/bin
/file
5355 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5359 lt_cv_deplibs_check_method
=pass_all
5364 lt_cv_deplibs_check_method
=pass_all
5370 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5371 lt_cv_file_magic_cmd
=/usr
/bin
/file
5372 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5375 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5376 lt_cv_file_magic_cmd
=/usr
/bin
/file
5377 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5385 # this will be overridden with pass_all, but let us keep it just in case
5386 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5390 *-32|
*"-32 ") libmagic
=32-bit;;
5391 *-n32|
*"-n32 ") libmagic
=N32
;;
5392 *-64|
*"-64 ") libmagic
=64-bit;;
5393 *) libmagic
=never-match
;;
5395 # this will be overridden with pass_all, but let us keep it just in case
5396 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5399 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5400 lt_cv_deplibs_check_method
=pass_all
5403 # This must be Linux ELF.
5405 lt_cv_deplibs_check_method
=pass_all
5408 netbsd
* | knetbsd
*-gnu)
5409 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5410 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5412 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5417 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5418 lt_cv_file_magic_cmd
=/usr
/bin
/file
5419 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5422 osf3
* | osf4
* | osf5
*)
5423 # this will be overridden with pass_all, but let us keep it just in case
5424 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5425 lt_cv_file_magic_test_file
=/shlib
/libc.so
5426 lt_cv_deplibs_check_method
=pass_all
5430 lt_cv_deplibs_check_method
=pass_all
5434 lt_cv_deplibs_check_method
=pass_all
5435 lt_cv_file_magic_test_file
=/lib
/libc.so
5438 sysv5uw
[78]* | sysv4
*uw2
*)
5439 lt_cv_deplibs_check_method
=pass_all
5442 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5443 case $host_vendor in
5445 lt_cv_deplibs_check_method
=pass_all
5448 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]'
5449 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5456 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5457 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5458 file_magic_cmd
=$lt_cv_file_magic_cmd
5459 deplibs_check_method
=$lt_cv_deplibs_check_method
5464 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5466 # find the maximum length of command line arguments
5467 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5468 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5469 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 # On DJGPP, this test can blow up pretty badly due to problems in libc
5478 # (any single argument exceeding 2000 bytes causes a buffer overrun
5479 # during glob expansion). Even if it were fixed, the result of this
5480 # check would be larger than it should be.
5481 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5485 # On Win9x/ME, this test blows up -- it succeeds, but takes
5486 # about 5 minutes as the teststring grows exponentially.
5487 # Worse, since 9x/ME are not pre-emptively multitasking,
5488 # you end up with a "frozen" computer, even though with patience
5489 # the test eventually succeeds (with a max line length of 256k).
5490 # Instead, let's just punt: use the minimum linelength reported by
5491 # all of the supported platforms: 8192 (on NT/2K/XP).
5492 lt_cv_sys_max_cmd_len
=8192;
5496 # On AmigaOS with pdksh, this test takes hours, literally.
5497 # So we just punt and use a minimum line length of 8192.
5498 lt_cv_sys_max_cmd_len
=8192;
5501 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5502 # This has been around since 386BSD, at least. Likely further.
5503 if test -x /sbin
/sysctl
; then
5504 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5505 elif test -x /usr
/sbin
/sysctl
; then
5506 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5508 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5510 # And add a safety zone
5511 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5512 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5518 if test -n "$lt_cv_sys_max_cmd_len" ; then
5519 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5520 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5522 { echo "$as_me:$LINENO: result: none" >&5
5523 echo "${ECHO_T}none" >&6; }
5527 # Only perform the check for file, if the check method requires it
5528 case $deplibs_check_method in
5530 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5531 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5532 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
5533 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5541 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5544 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5545 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5546 ac_dummy
="/usr/bin:$PATH"
5547 for ac_dir
in $ac_dummy; do
5548 test -z "$ac_dir" && ac_dir
=.
5549 if test -f $ac_dir/${ac_tool_prefix}file; then
5550 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5551 if test -n "$file_magic_test_file"; then
5552 case $deplibs_check_method in
5554 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5555 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5556 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5557 egrep "$file_magic_regex" > /dev
/null
; then
5562 *** Warning: the command libtool uses to detect shared libraries,
5563 *** $file_magic_cmd, produces output that libtool cannot recognize.
5564 *** The result is that libtool may fail to recognize shared libraries
5565 *** as such. This will affect the creation of libtool libraries that
5566 *** depend on shared libraries, but programs linked with such libtool
5567 *** libraries will work regardless of this problem. Nevertheless, you
5568 *** may want to report the problem to your system manager and/or to
5569 *** bug-libtool@gnu.org
5579 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5584 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5585 if test -n "$MAGIC_CMD"; then
5586 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5587 echo "${ECHO_T}$MAGIC_CMD" >&6; }
5589 { echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6; }
5593 if test -z "$lt_cv_path_MAGIC_CMD"; then
5594 if test -n "$ac_tool_prefix"; then
5595 { echo "$as_me:$LINENO: checking for file" >&5
5596 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
5597 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5605 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5608 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5609 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5610 ac_dummy
="/usr/bin:$PATH"
5611 for ac_dir
in $ac_dummy; do
5612 test -z "$ac_dir" && ac_dir
=.
5613 if test -f $ac_dir/file; then
5614 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5615 if test -n "$file_magic_test_file"; then
5616 case $deplibs_check_method in
5618 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5619 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5620 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5621 egrep "$file_magic_regex" > /dev
/null
; then
5626 *** Warning: the command libtool uses to detect shared libraries,
5627 *** $file_magic_cmd, produces output that libtool cannot recognize.
5628 *** The result is that libtool may fail to recognize shared libraries
5629 *** as such. This will affect the creation of libtool libraries that
5630 *** depend on shared libraries, but programs linked with such libtool
5631 *** libraries will work regardless of this problem. Nevertheless, you
5632 *** may want to report the problem to your system manager and/or to
5633 *** bug-libtool@gnu.org
5643 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5648 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5649 if test -n "$MAGIC_CMD"; then
5650 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5651 echo "${ECHO_T}$MAGIC_CMD" >&6; }
5653 { echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6; }
5666 if test -n "$ac_tool_prefix"; then
5667 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5668 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_RANLIB+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 if test -n "$RANLIB"; then
5675 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir
=.
5682 for ac_exec_ext
in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 RANLIB
=$ac_cv_prog_RANLIB
5695 if test -n "$RANLIB"; then
5696 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5697 echo "${ECHO_T}$RANLIB" >&6; }
5699 { echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6; }
5705 if test -z "$ac_cv_prog_RANLIB"; then
5706 ac_ct_RANLIB
=$RANLIB
5707 # Extract the first word of "ranlib", so it can be a program name with args.
5708 set dummy ranlib
; ac_word
=$2
5709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 if test -n "$ac_ct_RANLIB"; then
5715 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir
=.
5722 for ac_exec_ext
in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5735 if test -n "$ac_ct_RANLIB"; then
5736 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5737 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5739 { echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6; }
5743 if test "x$ac_ct_RANLIB" = x
; then
5746 case $cross_compiling:$ac_tool_warned in
5748 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5749 whose name does not start with the host triplet. If you think this
5750 configuration is useful to you, please write to autoconf@gnu.org." >&5
5751 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5752 whose name does not start with the host triplet. If you think this
5753 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5754 ac_tool_warned
=yes ;;
5756 RANLIB
=$ac_ct_RANLIB
5759 RANLIB
="$ac_cv_prog_RANLIB"
5762 if test -n "$ac_tool_prefix"; then
5763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5764 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5767 if test "${ac_cv_prog_STRIP+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 if test -n "$STRIP"; then
5771 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 STRIP
=$ac_cv_prog_STRIP
5791 if test -n "$STRIP"; then
5792 { echo "$as_me:$LINENO: result: $STRIP" >&5
5793 echo "${ECHO_T}$STRIP" >&6; }
5795 { echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6; }
5801 if test -z "$ac_cv_prog_STRIP"; then
5803 # Extract the first word of "strip", so it can be a program name with args.
5804 set dummy strip
; ac_word
=$2
5805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if test -n "$ac_ct_STRIP"; then
5811 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_ac_ct_STRIP
="strip"
5821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5831 if test -n "$ac_ct_STRIP"; then
5832 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5833 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5835 { echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6; }
5839 if test "x$ac_ct_STRIP" = x
; then
5842 case $cross_compiling:$ac_tool_warned in
5844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5845 whose name does not start with the host triplet. If you think this
5846 configuration is useful to you, please write to autoconf@gnu.org." >&5
5847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5848 whose name does not start with the host triplet. If you think this
5849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5850 ac_tool_warned
=yes ;;
5855 STRIP
="$ac_cv_prog_STRIP"
5859 # Check for any special flags to pass to ltconfig.
5860 libtool_flags
="--cache-file=$cache_file"
5861 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5862 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5863 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5864 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5865 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5868 # Check whether --enable-libtool-lock was given.
5869 if test "${enable_libtool_lock+set}" = set; then
5870 enableval
=$enable_libtool_lock;
5873 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5874 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5877 # Check whether --with-pic was given.
5878 if test "${with_pic+set}" = set; then
5879 withval
=$with_pic; pic_mode
="$withval"
5884 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5885 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5887 # Some flags need to be propagated to the compiler or linker for good
5891 # Find out which ABI we are using.
5892 echo '#line 5892 "configure"' > conftest.
$ac_ext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5894 (eval $ac_compile) 2>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; then
5898 if test "$lt_cv_prog_gnu_ld" = yes; then
5899 case `/usr/bin/file conftest.$ac_objext` in
5901 LD
="${LD-ld} -melf32bsmip"
5904 LD
="${LD-ld} -melf32bmipn32"
5907 LD
="${LD-ld} -melf64bmip"
5911 case `/usr/bin/file conftest.$ac_objext` in
5928 # Find out which ABI we are using.
5929 echo 'int i;' > conftest.
$ac_ext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5931 (eval $ac_compile) 2>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; then
5935 case "`/usr/bin/file conftest.o`" in
5947 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5948 # Find out which ABI we are using.
5949 echo 'int i;' > conftest.
$ac_ext
5950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5951 (eval $ac_compile) 2>&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; then
5955 case "`/usr/bin/file conftest.o`" in
5959 LD
="${LD-ld} -m elf_i386"
5961 ppc64-
*linux
*|powerpc64-
*linux
*)
5962 LD
="${LD-ld} -m elf32ppclinux"
5965 LD
="${LD-ld} -m elf_s390"
5968 LD
="${LD-ld} -m elf32_sparc"
5975 LD
="${LD-ld} -m elf_x86_64"
5977 ppc
*-*linux
*|powerpc
*-*linux
*)
5978 LD
="${LD-ld} -m elf64ppc"
5981 LD
="${LD-ld} -m elf64_s390"
5984 LD
="${LD-ld} -m elf64_sparc"
5994 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5995 SAVE_CFLAGS
="$CFLAGS"
5996 CFLAGS
="$CFLAGS -belf"
5997 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5998 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5999 if test "${lt_cv_cc_needs_belf+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 ac_cpp
='$CPP $CPPFLAGS'
6005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6009 cat >conftest.
$ac_ext <<_ACEOF
6012 cat confdefs.h
>>conftest.
$ac_ext
6013 cat >>conftest.
$ac_ext <<_ACEOF
6014 /* end confdefs.h. */
6024 rm -f conftest.
$ac_objext conftest
$ac_exeext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>conftest.er1
6028 grep -v '^ *+' conftest.er1
>conftest.err
6030 cat conftest.err
>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; } &&
6039 { ac_try
='test -s conftest$ac_exeext'
6040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); }; }; then
6045 lt_cv_cc_needs_belf
=yes
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.
$ac_ext >&5
6050 lt_cv_cc_needs_belf
=no
6053 rm -f conftest.err conftest.
$ac_objext \
6054 conftest
$ac_exeext conftest.
$ac_ext
6056 ac_cpp
='$CPP $CPPFLAGS'
6057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6062 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6063 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6064 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6065 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6066 CFLAGS
="$SAVE_CFLAGS"
6074 # Save cache, so that ltconfig can load it
6075 cat >confcache
<<\_ACEOF
6076 # This file is a shell script that caches the results of configure
6077 # tests run on this system so they can be shared between configure
6078 # scripts and configure runs, see configure's option --config-cache.
6079 # It is not useful on other systems. If it contains results you don't
6080 # want to keep, you may remove or edit it.
6082 # config.status only pays attention to the cache file if you give it
6083 # the --recheck option to rerun configure.
6085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6091 # The following way of writing the cache mishandles newlines in values,
6092 # but we know of no workaround that is simple, portable, and efficient.
6093 # So, we kill variables containing newlines.
6094 # Ultrix sh set writes to stderr and can't be redirected directly,
6095 # and sets the high bit in the cache file unless we assign to the vars.
6097 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6098 eval ac_val
=\$
$ac_var
6102 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6103 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6106 _ | IFS | as_nl
) ;; #(
6107 *) $as_unset $ac_var ;;
6113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6114 *${as_nl}ac_space
=\
*)
6115 # `set' does not quote correctly, so add quotes (double-quote
6116 # substitution turns \\\\ into \\, and sed turns \\ into \).
6119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6122 # `set' quotes correctly as required by POSIX, so do not add quotes.
6123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6136 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6137 if test -w $cache_file; then
6138 test "x$cache_file" != "x/dev/null" &&
6139 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6140 echo "$as_me: updating cache $cache_file" >&6;}
6141 cat confcache
>$cache_file
6143 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6144 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6149 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6150 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6151 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6152 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6153 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6154 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6155 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6156 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6157 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6158 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6159 echo "$as_me: error: libtool configure failed" >&2;}
6160 { (exit 1); exit 1; }; }
6162 # Reload cache, that may have been modified by ltconfig
6163 if test -r "$cache_file"; then
6164 # Some versions of bash will fail to source /dev/null (special
6165 # files actually), so we avoid doing that.
6166 if test -f "$cache_file"; then
6167 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6168 echo "$as_me: loading cache $cache_file" >&6;}
6170 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6171 *) . .
/$cache_file;;
6175 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6176 echo "$as_me: creating cache $cache_file" >&6;}
6181 # This can be used to rebuild libtool when needed
6182 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6184 # Always use our own libtool.
6185 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6187 # Redirect the config.log output again, so that the ltconfig log is not
6188 # clobbered by the next message.
6189 exec 5>>.
/config.log
6197 ac_cpp
='$CPP $CPPFLAGS'
6198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6201 if test -n "$ac_tool_prefix"; then
6202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6203 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6206 if test "${ac_cv_prog_CC+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 if test -n "$CC"; then
6210 ac_cv_prog_CC
="$CC" # Let the user override the test.
6212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir
=.
6217 for ac_exec_ext
in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 if test -n "$CC"; then
6231 { echo "$as_me:$LINENO: result: $CC" >&5
6232 echo "${ECHO_T}$CC" >&6; }
6234 { echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6; }
6240 if test -z "$ac_cv_prog_CC"; then
6242 # Extract the first word of "gcc", so it can be a program name with args.
6243 set dummy gcc
; ac_word
=$2
6244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 if test -n "$ac_ct_CC"; then
6250 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_exec_ext
in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_ac_ct_CC
="gcc"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6270 if test -n "$ac_ct_CC"; then
6271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6272 echo "${ECHO_T}$ac_ct_CC" >&6; }
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6278 if test "x$ac_ct_CC" = x
; then
6281 case $cross_compiling:$ac_tool_warned in
6283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6284 whose name does not start with the host triplet. If you think this
6285 configuration is useful to you, please write to autoconf@gnu.org." >&5
6286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6287 whose name does not start with the host triplet. If you think this
6288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6289 ac_tool_warned
=yes ;;
6297 if test -z "$CC"; then
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6300 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6303 if test "${ac_cv_prog_CC+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 if test -n "$CC"; then
6307 ac_cv_prog_CC
="$CC" # Let the user override the test.
6309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir
=.
6314 for ac_exec_ext
in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 if test -n "$CC"; then
6328 { echo "$as_me:$LINENO: result: $CC" >&5
6329 echo "${ECHO_T}$CC" >&6; }
6331 { echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6; }
6338 if test -z "$CC"; then
6339 # Extract the first word of "cc", so it can be a program name with args.
6340 set dummy cc
; ac_word
=$2
6341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6343 if test "${ac_cv_prog_CC+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 if test -n "$CC"; then
6347 ac_cv_prog_CC
="$CC" # Let the user override the test.
6350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir
=.
6355 for ac_exec_ext
in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6358 ac_prog_rejected
=yes
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 if test $ac_prog_rejected = yes; then
6370 # We found a bogon in the path, so make sure we never use it.
6371 set dummy
$ac_cv_prog_CC
6373 if test $# != 0; then
6374 # We chose a different compiler from the bogus one.
6375 # However, it has the same basename, so the bogon will be chosen
6376 # first if we set CC to just the basename; use the full file name.
6378 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6384 if test -n "$CC"; then
6385 { echo "$as_me:$LINENO: result: $CC" >&5
6386 echo "${ECHO_T}$CC" >&6; }
6388 { echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6; }
6394 if test -z "$CC"; then
6395 if test -n "$ac_tool_prefix"; then
6396 for ac_prog
in cl.exe
6398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6399 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6402 if test "${ac_cv_prog_CC+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 if test -n "$CC"; then
6406 ac_cv_prog_CC
="$CC" # Let the user override the test.
6408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir
=.
6413 for ac_exec_ext
in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 if test -n "$CC"; then
6427 { echo "$as_me:$LINENO: result: $CC" >&5
6428 echo "${ECHO_T}$CC" >&6; }
6430 { echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6; }
6435 test -n "$CC" && break
6438 if test -z "$CC"; then
6440 for ac_prog
in cl.exe
6442 # Extract the first word of "$ac_prog", so it can be a program name with args.
6443 set dummy
$ac_prog; ac_word
=$2
6444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 if test -n "$ac_ct_CC"; then
6450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir
=.
6457 for ac_exec_ext
in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_prog_ac_ct_CC
="$ac_prog"
6460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6470 if test -n "$ac_ct_CC"; then
6471 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6472 echo "${ECHO_T}$ac_ct_CC" >&6; }
6474 { echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6; }
6479 test -n "$ac_ct_CC" && break
6482 if test "x$ac_ct_CC" = x
; then
6485 case $cross_compiling:$ac_tool_warned in
6487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6488 whose name does not start with the host triplet. If you think this
6489 configuration is useful to you, please write to autoconf@gnu.org." >&5
6490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6491 whose name does not start with the host triplet. If you think this
6492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6493 ac_tool_warned
=yes ;;
6502 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6503 See \`config.log' for more details." >&5
6504 echo "$as_me: error: no acceptable C compiler found in \$PATH
6505 See \`config.log' for more details." >&2;}
6506 { (exit 1); exit 1; }; }
6508 # Provide some information about the compiler.
6509 echo "$as_me:$LINENO: checking for C compiler version" >&5
6510 ac_compiler
=`set X $ac_compile; echo $2`
6511 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
6512 (eval $ac_compiler --version >&5) 2>&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }
6516 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
6517 (eval $ac_compiler -v >&5) 2>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }
6521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
6522 (eval $ac_compiler -V >&5) 2>&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }
6527 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6528 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6529 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 cat >conftest.
$ac_ext <<_ACEOF
6535 cat confdefs.h
>>conftest.
$ac_ext
6536 cat >>conftest.
$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6550 rm -f conftest.
$ac_objext
6551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6552 (eval $ac_compile) 2>conftest.er1
6554 grep -v '^ *+' conftest.er1
>conftest.err
6556 cat conftest.err
>&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } &&
6559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; } &&
6565 { ac_try
='test -s conftest.$ac_objext'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6580 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6583 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6584 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6585 GCC
=`test $ac_compiler_gnu = yes && echo yes`
6586 ac_test_CFLAGS
=${CFLAGS+set}
6587 ac_save_CFLAGS
=$CFLAGS
6588 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6589 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6590 if test "${ac_cv_prog_cc_g+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 ac_save_c_werror_flag
=$ac_c_werror_flag
6594 ac_c_werror_flag
=yes
6597 cat >conftest.
$ac_ext <<_ACEOF
6600 cat confdefs.h
>>conftest.
$ac_ext
6601 cat >>conftest.
$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6612 rm -f conftest.
$ac_objext
6613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6614 (eval $ac_compile) 2>conftest.er1
6616 grep -v '^ *+' conftest.er1
>conftest.err
6618 cat conftest.err
>&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } &&
6621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); }; } &&
6627 { ac_try
='test -s conftest.$ac_objext'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; }; then
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.
$ac_ext >&5
6639 cat >conftest.
$ac_ext <<_ACEOF
6642 cat confdefs.h
>>conftest.
$ac_ext
6643 cat >>conftest.
$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6654 rm -f conftest.
$ac_objext
6655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6656 (eval $ac_compile) 2>conftest.er1
6658 grep -v '^ *+' conftest.er1
>conftest.err
6660 cat conftest.err
>&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); } &&
6663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try
='test -s conftest.$ac_objext'
6670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); }; }; then
6677 echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.
$ac_ext >&5
6680 ac_c_werror_flag
=$ac_save_c_werror_flag
6682 cat >conftest.
$ac_ext <<_ACEOF
6685 cat confdefs.h
>>conftest.
$ac_ext
6686 cat >>conftest.
$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6697 rm -f conftest.
$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699 (eval $ac_compile) 2>conftest.er1
6701 grep -v '^ *+' conftest.er1
>conftest.err
6703 cat conftest.err
>&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } &&
6706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; } &&
6712 { ac_try
='test -s conftest.$ac_objext'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.
$ac_ext >&5
6726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6733 ac_c_werror_flag
=$ac_save_c_werror_flag
6735 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6736 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6737 if test "$ac_test_CFLAGS" = set; then
6738 CFLAGS
=$ac_save_CFLAGS
6739 elif test $ac_cv_prog_cc_g = yes; then
6740 if test "$GCC" = yes; then
6746 if test "$GCC" = yes; then
6752 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6753 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6754 if test "${ac_cv_prog_cc_c89+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 ac_cv_prog_cc_c89
=no
6759 cat >conftest.
$ac_ext <<_ACEOF
6762 cat confdefs.h
>>conftest.
$ac_ext
6763 cat >>conftest.
$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6767 #include <sys/types.h>
6768 #include <sys/stat.h>
6769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6770 struct buf { int x; };
6771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6772 static char *e (p, i)
6778 static char *f (char * (*g) (char **, int), char **p, ...)
6783 s = g (p, va_arg (v,int));
6788 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6789 function prototypes and stuff, but not '\xHH' hex character constants.
6790 These don't provoke an error unfortunately, instead are silently treated
6791 as 'x'. The following induces an error, until -std is added to get
6792 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6793 array size at least. It's necessary to write '\x00'==0 to get something
6794 that's true only with -std. */
6795 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6797 int test (int i, double x);
6798 struct s1 {int (*f) (int a);};
6799 struct s2 {int (*f) (double a);};
6800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6811 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
6812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6814 CC
="$ac_save_CC $ac_arg"
6815 rm -f conftest.
$ac_objext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6817 (eval $ac_compile) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try
='test -s conftest.$ac_objext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 ac_cv_prog_cc_c89
=$ac_arg
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.
$ac_ext >&5
6844 rm -f conftest.err conftest.
$ac_objext
6845 test "x$ac_cv_prog_cc_c89" != "xno" && break
6847 rm -f conftest.
$ac_ext
6852 case "x$ac_cv_prog_cc_c89" in
6854 { echo "$as_me:$LINENO: result: none needed" >&5
6855 echo "${ECHO_T}none needed" >&6; } ;;
6857 { echo "$as_me:$LINENO: result: unsupported" >&5
6858 echo "${ECHO_T}unsupported" >&6; } ;;
6860 CC
="$CC $ac_cv_prog_cc_c89"
6861 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6862 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6867 ac_cpp
='$CPP $CPPFLAGS'
6868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6872 depcc
="$CC" am_compiler_list
=
6874 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6875 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6876 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6880 # We make a subdir and do the tests there. Otherwise we can end up
6881 # making bogus files that we don't know about and never remove. For
6882 # instance it was reported that on HP-UX the gcc test will end up
6883 # making a dummy file named `D' -- because `-MD' means `put the output
6886 # Copy depcomp to subdir because otherwise we won't find it if we're
6887 # using a relative directory.
6888 cp "$am_depcomp" conftest.dir
6890 # We will build objects and dependencies in a subdirectory because
6891 # it helps to detect inapplicable dependency modes. For instance
6892 # both Tru64's cc and ICC support -MD to output dependencies as a
6893 # side effect of compilation, but ICC will put the dependencies in
6894 # the current directory while Tru64 will put them in the object
6898 am_cv_CC_dependencies_compiler_type
=none
6899 if test "$am_compiler_list" = ""; then
6900 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6902 for depmode
in $am_compiler_list; do
6903 # Setup a source with many dependencies, because some compilers
6904 # like to wrap large dependency lists on column 80 (with \), and
6905 # we should not choose a depcomp mode which is confused by this.
6907 # We need to recreate these files for each test, as the compiler may
6908 # overwrite some of them when testing with obscure command lines.
6909 # This happens at least with the AIX C compiler.
6911 for i
in 1 2 3 4 5 6; do
6912 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6913 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6914 # Solaris 8's {/usr,}/bin/sh.
6915 touch sub
/conftst
$i.h
6917 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6921 # after this tag, mechanisms are not by side-effect, so they'll
6922 # only be used when explicitly requested
6923 if test "x$enable_dependency_tracking" = xyes
; then
6931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6932 # mode. It turns out that the SunPro C++ compiler does not properly
6933 # handle `-M -o', and we need to detect this.
6934 if depmode
=$depmode \
6935 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6936 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6937 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6938 >/dev
/null
2>conftest.err
&&
6939 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6940 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6941 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6942 # icc doesn't choke on unknown options, it will just issue warnings
6943 # or remarks (even with -Werror). So we grep stderr for any message
6944 # that says an option was ignored or not supported.
6945 # When given -MP, icc 7.0 and 7.1 complain thusly:
6946 # icc: Command line warning: ignoring option '-M'; no argument required
6947 # The diagnosis changed in icc 8.0:
6948 # icc: Command line remark: option '-MP' not supported
6949 if (grep 'ignoring option' conftest.err ||
6950 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6951 am_cv_CC_dependencies_compiler_type
=$depmode
6960 am_cv_CC_dependencies_compiler_type
=none
6964 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6965 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6966 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6971 test "x$enable_dependency_tracking" != xno \
6972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6974 am__fastdepCC_FALSE
='#'
6976 am__fastdepCC_TRUE
='#'
6977 am__fastdepCC_FALSE
=
6982 ac_cpp
='$CPP $CPPFLAGS'
6983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6986 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6988 # On Suns, sometimes $CPP names a directory.
6989 if test -n "$CPP" && test -d "$CPP"; then
6992 if test -z "$CPP"; then
6993 if test "${ac_cv_prog_CPP+set}" = set; then
6994 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 # Double quotes because CPP needs to be expanded
6997 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7000 for ac_c_preproc_warn_flag
in '' yes
7002 # Use a header file that comes with gcc, so configuring glibc
7003 # with a fresh cross-compiler works.
7004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7005 # <limits.h> exists even on freestanding compilers.
7006 # On the NeXT, cc -E runs the code through the compiler's parser,
7007 # not just through cpp. "Syntax error" is here to catch this case.
7008 cat >conftest.
$ac_ext <<_ACEOF
7011 cat confdefs.h
>>conftest.
$ac_ext
7012 cat >>conftest.
$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7015 # include <limits.h>
7017 # include <assert.h>
7021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1
>conftest.err
7026 cat conftest.err
>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } >/dev
/null
; then
7029 if test -s conftest.err
; then
7030 ac_cpp_err
=$ac_c_preproc_warn_flag
7031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7038 if test -z "$ac_cpp_err"; then
7041 echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.
$ac_ext >&5
7044 # Broken: fails on valid input.
7048 rm -f conftest.err conftest.
$ac_ext
7050 # OK, works on sane cases. Now check whether nonexistent headers
7051 # can be detected and how.
7052 cat >conftest.
$ac_ext <<_ACEOF
7055 cat confdefs.h
>>conftest.
$ac_ext
7056 cat >>conftest.
$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 #include <ac_nonexistent.h>
7060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7063 grep -v '^ *+' conftest.er1
>conftest.err
7065 cat conftest.err
>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } >/dev
/null
; then
7068 if test -s conftest.err
; then
7069 ac_cpp_err
=$ac_c_preproc_warn_flag
7070 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7077 if test -z "$ac_cpp_err"; then
7078 # Broken: success on invalid input.
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.
$ac_ext >&5
7084 # Passes both tests.
7089 rm -f conftest.err conftest.
$ac_ext
7092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7093 rm -f conftest.err conftest.
$ac_ext
7094 if $ac_preproc_ok; then
7106 { echo "$as_me:$LINENO: result: $CPP" >&5
7107 echo "${ECHO_T}$CPP" >&6; }
7109 for ac_c_preproc_warn_flag
in '' yes
7111 # Use a header file that comes with gcc, so configuring glibc
7112 # with a fresh cross-compiler works.
7113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114 # <limits.h> exists even on freestanding compilers.
7115 # On the NeXT, cc -E runs the code through the compiler's parser,
7116 # not just through cpp. "Syntax error" is here to catch this case.
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7124 # include <limits.h>
7126 # include <assert.h>
7130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7133 grep -v '^ *+' conftest.er1
>conftest.err
7135 cat conftest.err
>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } >/dev
/null
; then
7138 if test -s conftest.err
; then
7139 ac_cpp_err
=$ac_c_preproc_warn_flag
7140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7147 if test -z "$ac_cpp_err"; then
7150 echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.
$ac_ext >&5
7153 # Broken: fails on valid input.
7157 rm -f conftest.err conftest.
$ac_ext
7159 # OK, works on sane cases. Now check whether nonexistent headers
7160 # can be detected and how.
7161 cat >conftest.
$ac_ext <<_ACEOF
7164 cat confdefs.h
>>conftest.
$ac_ext
7165 cat >>conftest.
$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7172 grep -v '^ *+' conftest.er1
>conftest.err
7174 cat conftest.err
>&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } >/dev
/null
; then
7177 if test -s conftest.err
; then
7178 ac_cpp_err
=$ac_c_preproc_warn_flag
7179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7186 if test -z "$ac_cpp_err"; then
7187 # Broken: success on invalid input.
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.
$ac_ext >&5
7193 # Passes both tests.
7198 rm -f conftest.err conftest.
$ac_ext
7201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7202 rm -f conftest.err conftest.
$ac_ext
7203 if $ac_preproc_ok; then
7206 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7207 See \`config.log' for more details." >&5
7208 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7209 See \`config.log' for more details." >&2;}
7210 { (exit 1); exit 1; }; }
7214 ac_cpp
='$CPP $CPPFLAGS'
7215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7220 ac_cpp
='$CXXCPP $CPPFLAGS'
7221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7224 if test -z "$CXX"; then
7225 if test -n "$CCC"; then
7228 if test -n "$ac_tool_prefix"; then
7229 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7235 if test "${ac_cv_prog_CXX+set}" = set; then
7236 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 if test -n "$CXX"; then
7239 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir
=.
7246 for ac_exec_ext
in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 if test -n "$CXX"; then
7260 { echo "$as_me:$LINENO: result: $CXX" >&5
7261 echo "${ECHO_T}$CXX" >&6; }
7263 { echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6; }
7268 test -n "$CXX" && break
7271 if test -z "$CXX"; then
7273 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7275 # Extract the first word of "$ac_prog", so it can be a program name with args.
7276 set dummy
$ac_prog; ac_word
=$2
7277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7279 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7280 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 if test -n "$ac_ct_CXX"; then
7283 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir
=.
7290 for ac_exec_ext
in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7303 if test -n "$ac_ct_CXX"; then
7304 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7305 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7307 { echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6; }
7312 test -n "$ac_ct_CXX" && break
7315 if test "x$ac_ct_CXX" = x
; then
7318 case $cross_compiling:$ac_tool_warned in
7320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7321 whose name does not start with the host triplet. If you think this
7322 configuration is useful to you, please write to autoconf@gnu.org." >&5
7323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7324 whose name does not start with the host triplet. If you think this
7325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7326 ac_tool_warned
=yes ;;
7334 # Provide some information about the compiler.
7335 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7336 ac_compiler
=`set X $ac_compile; echo $2`
7337 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
7338 (eval $ac_compiler --version >&5) 2>&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }
7342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
7343 (eval $ac_compiler -v >&5) 2>&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); }
7347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
7348 (eval $ac_compiler -V >&5) 2>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }
7353 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7354 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7355 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7356 echo $ECHO_N "(cached) $ECHO_C" >&6
7358 cat >conftest.
$ac_ext <<_ACEOF
7361 cat confdefs.h
>>conftest.
$ac_ext
7362 cat >>conftest.
$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7376 rm -f conftest.
$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378 (eval $ac_compile) 2>conftest.er1
7380 grep -v '^ *+' conftest.er1
>conftest.err
7382 cat conftest.err
>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; } &&
7391 { ac_try
='test -s conftest.$ac_objext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.
$ac_ext >&5
7405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7406 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7409 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7410 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7411 GXX
=`test $ac_compiler_gnu = yes && echo yes`
7412 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7413 ac_save_CXXFLAGS
=$CXXFLAGS
7414 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7415 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7416 if test "${ac_cv_prog_cxx_g+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7419 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
7420 ac_cxx_werror_flag
=yes
7423 cat >conftest.
$ac_ext <<_ACEOF
7426 cat confdefs.h
>>conftest.
$ac_ext
7427 cat >>conftest.
$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7438 rm -f conftest.
$ac_objext
7439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7440 (eval $ac_compile) 2>conftest.er1
7442 grep -v '^ *+' conftest.er1
>conftest.err
7444 cat conftest.err
>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; } &&
7453 { ac_try
='test -s conftest.$ac_objext'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; }; then
7459 ac_cv_prog_cxx_g
=yes
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.
$ac_ext >&5
7465 cat >conftest.
$ac_ext <<_ACEOF
7468 cat confdefs.h
>>conftest.
$ac_ext
7469 cat >>conftest.
$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7480 rm -f conftest.
$ac_objext
7481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>conftest.er1
7484 grep -v '^ *+' conftest.er1
>conftest.err
7486 cat conftest.err
>&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; } &&
7495 { ac_try
='test -s conftest.$ac_objext'
7496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; }; then
7503 echo "$as_me: failed program was:" >&5
7504 sed 's/^/| /' conftest.
$ac_ext >&5
7506 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7508 cat >conftest.
$ac_ext <<_ACEOF
7511 cat confdefs.h
>>conftest.
$ac_ext
7512 cat >>conftest.
$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7523 rm -f conftest.
$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7527 grep -v '^ *+' conftest.er1
>conftest.err
7529 cat conftest.err
>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; } &&
7538 { ac_try
='test -s conftest.$ac_objext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 ac_cv_prog_cxx_g
=yes
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.
$ac_ext >&5
7552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7559 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7561 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7563 if test "$ac_test_CXXFLAGS" = set; then
7564 CXXFLAGS
=$ac_save_CXXFLAGS
7565 elif test $ac_cv_prog_cxx_g = yes; then
7566 if test "$GXX" = yes; then
7572 if test "$GXX" = yes; then
7579 ac_cpp
='$CPP $CPPFLAGS'
7580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7584 depcc
="$CXX" am_compiler_list
=
7586 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7587 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7588 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7592 # We make a subdir and do the tests there. Otherwise we can end up
7593 # making bogus files that we don't know about and never remove. For
7594 # instance it was reported that on HP-UX the gcc test will end up
7595 # making a dummy file named `D' -- because `-MD' means `put the output
7598 # Copy depcomp to subdir because otherwise we won't find it if we're
7599 # using a relative directory.
7600 cp "$am_depcomp" conftest.dir
7602 # We will build objects and dependencies in a subdirectory because
7603 # it helps to detect inapplicable dependency modes. For instance
7604 # both Tru64's cc and ICC support -MD to output dependencies as a
7605 # side effect of compilation, but ICC will put the dependencies in
7606 # the current directory while Tru64 will put them in the object
7610 am_cv_CXX_dependencies_compiler_type
=none
7611 if test "$am_compiler_list" = ""; then
7612 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7614 for depmode
in $am_compiler_list; do
7615 # Setup a source with many dependencies, because some compilers
7616 # like to wrap large dependency lists on column 80 (with \), and
7617 # we should not choose a depcomp mode which is confused by this.
7619 # We need to recreate these files for each test, as the compiler may
7620 # overwrite some of them when testing with obscure command lines.
7621 # This happens at least with the AIX C compiler.
7623 for i
in 1 2 3 4 5 6; do
7624 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7626 # Solaris 8's {/usr,}/bin/sh.
7627 touch sub
/conftst
$i.h
7629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7633 # after this tag, mechanisms are not by side-effect, so they'll
7634 # only be used when explicitly requested
7635 if test "x$enable_dependency_tracking" = xyes
; then
7643 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7644 # mode. It turns out that the SunPro C++ compiler does not properly
7645 # handle `-M -o', and we need to detect this.
7646 if depmode
=$depmode \
7647 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7648 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7649 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7650 >/dev
/null
2>conftest.err
&&
7651 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7652 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7653 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7654 # icc doesn't choke on unknown options, it will just issue warnings
7655 # or remarks (even with -Werror). So we grep stderr for any message
7656 # that says an option was ignored or not supported.
7657 # When given -MP, icc 7.0 and 7.1 complain thusly:
7658 # icc: Command line warning: ignoring option '-M'; no argument required
7659 # The diagnosis changed in icc 8.0:
7660 # icc: Command line remark: option '-MP' not supported
7661 if (grep 'ignoring option' conftest.err ||
7662 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7663 am_cv_CXX_dependencies_compiler_type
=$depmode
7672 am_cv_CXX_dependencies_compiler_type
=none
7676 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7677 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7678 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7683 test "x$enable_dependency_tracking" != xno \
7684 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7685 am__fastdepCXX_TRUE
=
7686 am__fastdepCXX_FALSE
='#'
7688 am__fastdepCXX_TRUE
='#'
7689 am__fastdepCXX_FALSE
=
7693 ac_cpp
='$CXXCPP $CPPFLAGS'
7694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7697 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7698 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7699 if test -z "$CXXCPP"; then
7700 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 # Double quotes because CXXCPP needs to be expanded
7704 for CXXCPP
in "$CXX -E" "/lib/cpp"
7707 for ac_cxx_preproc_warn_flag
in '' yes
7709 # Use a header file that comes with gcc, so configuring glibc
7710 # with a fresh cross-compiler works.
7711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7712 # <limits.h> exists even on freestanding compilers.
7713 # On the NeXT, cc -E runs the code through the compiler's parser,
7714 # not just through cpp. "Syntax error" is here to catch this case.
7715 cat >conftest.
$ac_ext <<_ACEOF
7718 cat confdefs.h
>>conftest.
$ac_ext
7719 cat >>conftest.
$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7722 # include <limits.h>
7724 # include <assert.h>
7728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } >/dev
/null
; then
7736 if test -s conftest.err
; then
7737 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7738 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7745 if test -z "$ac_cpp_err"; then
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.
$ac_ext >&5
7751 # Broken: fails on valid input.
7755 rm -f conftest.err conftest.
$ac_ext
7757 # OK, works on sane cases. Now check whether nonexistent headers
7758 # can be detected and how.
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <ac_nonexistent.h>
7767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7770 grep -v '^ *+' conftest.er1
>conftest.err
7772 cat conftest.err
>&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } >/dev
/null
; then
7775 if test -s conftest.err
; then
7776 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7777 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7784 if test -z "$ac_cpp_err"; then
7785 # Broken: success on invalid input.
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.
$ac_ext >&5
7791 # Passes both tests.
7796 rm -f conftest.err conftest.
$ac_ext
7799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7800 rm -f conftest.err conftest.
$ac_ext
7801 if $ac_preproc_ok; then
7806 ac_cv_prog_CXXCPP
=$CXXCPP
7809 CXXCPP
=$ac_cv_prog_CXXCPP
7811 ac_cv_prog_CXXCPP
=$CXXCPP
7813 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7814 echo "${ECHO_T}$CXXCPP" >&6; }
7816 for ac_cxx_preproc_warn_flag
in '' yes
7818 # Use a header file that comes with gcc, so configuring glibc
7819 # with a fresh cross-compiler works.
7820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7821 # <limits.h> exists even on freestanding compilers.
7822 # On the NeXT, cc -E runs the code through the compiler's parser,
7823 # not just through cpp. "Syntax error" is here to catch this case.
7824 cat >conftest.
$ac_ext <<_ACEOF
7827 cat confdefs.h
>>conftest.
$ac_ext
7828 cat >>conftest.
$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7831 # include <limits.h>
7833 # include <assert.h>
7837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7840 grep -v '^ *+' conftest.er1
>conftest.err
7842 cat conftest.err
>&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); } >/dev
/null
; then
7845 if test -s conftest.err
; then
7846 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7847 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7854 if test -z "$ac_cpp_err"; then
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.
$ac_ext >&5
7860 # Broken: fails on valid input.
7864 rm -f conftest.err conftest.
$ac_ext
7866 # OK, works on sane cases. Now check whether nonexistent headers
7867 # can be detected and how.
7868 cat >conftest.
$ac_ext <<_ACEOF
7871 cat confdefs.h
>>conftest.
$ac_ext
7872 cat >>conftest.
$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 #include <ac_nonexistent.h>
7876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7879 grep -v '^ *+' conftest.er1
>conftest.err
7881 cat conftest.err
>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } >/dev
/null
; then
7884 if test -s conftest.err
; then
7885 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7886 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7893 if test -z "$ac_cpp_err"; then
7894 # Broken: success on invalid input.
7897 echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.
$ac_ext >&5
7900 # Passes both tests.
7905 rm -f conftest.err conftest.
$ac_ext
7908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7909 rm -f conftest.err conftest.
$ac_ext
7910 if $ac_preproc_ok; then
7913 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7914 See \`config.log' for more details." >&5
7915 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7916 See \`config.log' for more details." >&2;}
7917 { (exit 1); exit 1; }; }
7921 ac_cpp
='$CPP $CPPFLAGS'
7922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7928 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7930 lt_save_CFLAGS
="$CFLAGS"
7931 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
7932 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
7933 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
7934 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
7935 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
7936 deplibs_check_method
="$deplibs_check_method" \
7937 file_magic_cmd
="$file_magic_cmd" \
7938 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
7939 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
7940 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7941 echo "$as_me: error: libtool tag configuration failed" >&2;}
7942 { (exit 1); exit 1; }; }
7944 CFLAGS
="$lt_save_CFLAGS"
7946 # Redirect the config.log output again, so that the ltconfig log is not
7947 # clobbered by the next message.
7948 exec 5>>.
/config.log
7953 if test "x${COMPILE_COLLECTIONS}" = xyes
; then
7954 # Extract the first word of "perl", so it can be a program name with args.
7955 set dummy perl
; ac_word
=$2
7956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7958 if test "${ac_cv_path_PERL+set}" = set; then
7959 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir
=.
7971 for ac_exec_ext
in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 PERL
=$ac_cv_path_PERL
7985 if test -n "$PERL"; then
7986 { echo "$as_me:$LINENO: result: $PERL" >&5
7987 echo "${ECHO_T}$PERL" >&6; }
7989 { echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6; }
7996 ac_config_files
="$ac_config_files lib/mkcollections.pl"
7998 ac_config_commands
="$ac_config_commands mkcollections.pl"
8002 if test "x${COMPILE_JNI}" = xyes
; then
8003 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8004 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8005 if test "${ac_cv_header_stdc+set}" = set; then
8006 echo $ECHO_N "(cached) $ECHO_C" >&6
8008 cat >conftest.
$ac_ext <<_ACEOF
8011 cat confdefs.h
>>conftest.
$ac_ext
8012 cat >>conftest.
$ac_ext <<_ACEOF
8013 /* end confdefs.h. */
8027 rm -f conftest.
$ac_objext
8028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8029 (eval $ac_compile) 2>conftest.er1
8031 grep -v '^ *+' conftest.er1
>conftest.err
8033 cat conftest.err
>&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); } &&
8036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); }; } &&
8042 { ac_try
='test -s conftest.$ac_objext'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; }; then
8048 ac_cv_header_stdc
=yes
8050 echo "$as_me: failed program was:" >&5
8051 sed 's/^/| /' conftest.
$ac_ext >&5
8053 ac_cv_header_stdc
=no
8056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8058 if test $ac_cv_header_stdc = yes; then
8059 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8060 cat >conftest.
$ac_ext <<_ACEOF
8063 cat confdefs.h
>>conftest.
$ac_ext
8064 cat >>conftest.
$ac_ext <<_ACEOF
8065 /* end confdefs.h. */
8069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8070 $EGREP "memchr" >/dev
/null
2>&1; then
8073 ac_cv_header_stdc
=no
8079 if test $ac_cv_header_stdc = yes; then
8080 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8081 cat >conftest.
$ac_ext <<_ACEOF
8084 cat confdefs.h
>>conftest.
$ac_ext
8085 cat >>conftest.
$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8091 $EGREP "free" >/dev
/null
2>&1; then
8094 ac_cv_header_stdc
=no
8100 if test $ac_cv_header_stdc = yes; then
8101 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8102 if test "$cross_compiling" = yes; then
8105 cat >conftest.
$ac_ext <<_ACEOF
8108 cat confdefs.h
>>conftest.
$ac_ext
8109 cat >>conftest.
$ac_ext <<_ACEOF
8110 /* end confdefs.h. */
8113 #if ((' ' & 0x0FF) == 0x020)
8114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8117 # define ISLOWER(c) \
8118 (('a' <= (c) && (c) <= 'i') \
8119 || ('j' <= (c) && (c) <= 'r') \
8120 || ('s' <= (c) && (c) <= 'z'))
8121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8129 for (i = 0; i < 256; i++)
8130 if (XOR (islower (i), ISLOWER (i))
8131 || toupper (i) != TOUPPER (i))
8136 rm -f conftest
$ac_exeext
8137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8138 (eval $ac_link) 2>&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8149 echo "$as_me: program exited with status $ac_status" >&5
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.
$ac_ext >&5
8154 ac_cv_header_stdc
=no
8156 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8162 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8163 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8164 if test $ac_cv_header_stdc = yes; then
8166 cat >>confdefs.h
<<\_ACEOF
8167 #define STDC_HEADERS 1
8173 { echo "$as_me:$LINENO: checking size of void *" >&5
8174 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
8175 if test "${ac_cv_sizeof_void_p+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8179 cat >conftest.
$ac_ext <<_ACEOF
8182 cat confdefs.h
>>conftest.
$ac_ext
8183 cat >>conftest.
$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 #include "confdefs.h"
8186 #include <sys/types.h>
8192 switch (0) case 0: case (sizeof (void *) == $ac_size):;
8197 rm -f conftest.
$ac_objext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8199 (eval $ac_compile) 2>conftest.er1
8201 grep -v '^ *+' conftest.er1
>conftest.err
8203 cat conftest.err
>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } &&
8212 { ac_try
='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_cv_sizeof_void_p
=$ac_size
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8227 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
8232 if test x
$ac_cv_sizeof_void_p = x
; then
8233 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
8234 echo "$as_me: error: cannot determine a size for void *" >&2;}
8235 { (exit 1); exit 1; }; }
8237 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8238 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
8240 cat >>confdefs.h
<<_ACEOF
8241 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8246 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8247 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
8248 if test "${ac_cv_c_bigendian+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 ac_cv_c_bigendian
=unknown
8252 # See if sys/param.h defines the BYTE_ORDER macro.
8253 cat >conftest.
$ac_ext <<_ACEOF
8256 cat confdefs.h
>>conftest.
$ac_ext
8257 cat >>conftest.
$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8259 #include <sys/types.h>
8260 #include <sys/param.h>
8265 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8272 rm -f conftest.
$ac_objext
8273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8274 (eval $ac_compile) 2>conftest.er1
8276 grep -v '^ *+' conftest.er1
>conftest.err
8278 cat conftest.err
>&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } &&
8281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; } &&
8287 { ac_try
='test -s conftest.$ac_objext'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; }; then
8293 # It does; now see whether it defined to BIG_ENDIAN or not.
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8300 #include <sys/types.h>
8301 #include <sys/param.h>
8306 #if BYTE_ORDER != BIG_ENDIAN
8313 rm -f conftest.
$ac_objext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8315 (eval $ac_compile) 2>conftest.er1
8317 grep -v '^ *+' conftest.er1
>conftest.err
8319 cat conftest.err
>&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); } &&
8322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; } &&
8328 { ac_try
='test -s conftest.$ac_objext'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 ac_cv_c_bigendian
=yes
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.
$ac_ext >&5
8339 ac_cv_c_bigendian
=no
8342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8344 echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.
$ac_ext >&5
8350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8351 if test $ac_cv_c_bigendian = unknown
; then
8352 if test "$cross_compiling" = yes; then
8353 echo $ac_n "cross-compiling... " 2>&6
8355 cat >conftest.
$ac_ext <<_ACEOF
8358 cat confdefs.h
>>conftest.
$ac_ext
8359 cat >>conftest.
$ac_ext <<_ACEOF
8360 /* end confdefs.h. */
8362 /* Are we little or big endian? From Harbison&Steele. */
8366 char c[sizeof (long)];
8369 exit (u.c[sizeof (long) - 1] == 1);
8372 rm -f conftest
$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_cv_c_bigendian
=no
8385 echo "$as_me: program exited with status $ac_status" >&5
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.
$ac_ext >&5
8390 ac_cv_c_bigendian
=yes
8392 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8398 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8399 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8400 if test $ac_cv_c_bigendian = unknown
; then
8401 { echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
8402 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6; }
8404 cat >conftest.c
<<EOF
8405 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8406 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8407 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
8408 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8409 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8410 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
8411 int main() { _ascii (); _ebcdic (); return 0; }
8413 if test -f conftest.c
; then
8414 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
8415 if test `grep -l BIGenDianSyS conftest.o` ; then
8416 echo $ac_n ' big endian probe OK, ' 1>&6
8417 ac_cv_c_bigendian
=yes
8419 if test `grep -l LiTTleEnDian conftest.o` ; then
8420 echo $ac_n ' little endian probe OK, ' 1>&6
8421 if test $ac_cv_c_bigendian = yes ; then
8422 ac_cv_c_bigendian
=unknown
;
8424 ac_cv_c_bigendian
=no
8427 echo $ac_n 'guessing bigendian ... ' >&6
8430 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8431 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8433 if test $ac_cv_c_bigendian = yes; then
8435 cat >>confdefs.h
<<\_ACEOF
8436 #define WORDS_BIGENDIAN 1
8440 cat >>confdefs.h
<<\_ACEOF
8441 #define HOST_WORDS_BIG_ENDIAN 1
8449 cat >>confdefs.h
<<_ACEOF
8450 #define BYTEORDER $BYTEORDER
8453 if test $ac_cv_c_bigendian = unknown
; then
8454 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
8455 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
8456 { (exit 1); exit 1; }; }
8475 for ac_header
in unistd.h sys
/types.h sys
/config.h sys
/ioctl.h \
8477 inttypes.h stdint.h utime.h sys
/utime.h sys
/filio.h \
8484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8488 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_res
=`eval echo '${'$as_ac_Header'}'`
8492 { echo "$as_me:$LINENO: result: $ac_res" >&5
8493 echo "${ECHO_T}$ac_res" >&6; }
8495 # Is the header compilable?
8496 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8498 cat >conftest.
$ac_ext <<_ACEOF
8501 cat confdefs.h
>>conftest.
$ac_ext
8502 cat >>conftest.
$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 $ac_includes_default
8505 #include <$ac_header>
8507 rm -f conftest.
$ac_objext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8509 (eval $ac_compile) 2>conftest.er1
8511 grep -v '^ *+' conftest.er1
>conftest.err
8513 cat conftest.err
>&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); } &&
8516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try
='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_header_compiler
=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.
$ac_ext >&5
8533 ac_header_compiler
=no
8536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8538 echo "${ECHO_T}$ac_header_compiler" >&6; }
8540 # Is the header present?
8541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1
>conftest.err
8556 cat conftest.err
>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } >/dev
/null
; then
8559 if test -s conftest.err
; then
8560 ac_cpp_err
=$ac_c_preproc_warn_flag
8561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8568 if test -z "$ac_cpp_err"; then
8569 ac_header_preproc
=yes
8571 echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.
$ac_ext >&5
8574 ac_header_preproc
=no
8577 rm -f conftest.err conftest.
$ac_ext
8578 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8579 echo "${ECHO_T}$ac_header_preproc" >&6; }
8581 # So? What about this header?
8582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8588 ac_header_preproc
=yes
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8604 ## -------------------------------- ##
8605 ## Report this to classpath@gnu.org ##
8606 ## -------------------------------- ##
8608 ) |
sed "s/^/$as_me: WARNING: /" >&2
8611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8613 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 eval "$as_ac_Header=\$ac_header_preproc"
8618 ac_res
=`eval echo '${'$as_ac_Header'}'`
8619 { echo "$as_me:$LINENO: result: $ac_res" >&5
8620 echo "${ECHO_T}$ac_res" >&6; }
8623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8624 cat >>confdefs.h
<<_ACEOF
8625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8633 cat >conftest.
$ac_ext <<_ACEOF
8636 cat confdefs.h
>>conftest.
$ac_ext
8637 cat >>conftest.
$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8643 $EGREP "uint32_t" >/dev
/null
2>&1; then
8645 cat >>confdefs.h
<<\_ACEOF
8646 #define HAVE_INT32_DEFINED 1
8652 cat >conftest.
$ac_ext <<_ACEOF
8655 cat confdefs.h
>>conftest.
$ac_ext
8656 cat >>conftest.
$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 #include <inttypes.h>
8661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8662 $EGREP "uint32_t" >/dev
/null
2>&1; then
8664 cat >>confdefs.h
<<\_ACEOF
8665 #define HAVE_INT32_DEFINED 1
8671 cat >conftest.
$ac_ext <<_ACEOF
8674 cat confdefs.h
>>conftest.
$ac_ext
8675 cat >>conftest.
$ac_ext <<_ACEOF
8676 /* end confdefs.h. */
8677 #include <sys/types.h>
8680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8681 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8683 cat >>confdefs.h
<<\_ACEOF
8684 #define HAVE_BSD_INT32_DEFINED 1
8690 cat >conftest.
$ac_ext <<_ACEOF
8693 cat confdefs.h
>>conftest.
$ac_ext
8694 cat >>conftest.
$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8696 #include <sys/config.h>
8699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8700 $EGREP "u_int32_t" >/dev
/null
2>&1; then
8702 cat >>confdefs.h
<<\_ACEOF
8703 #define HAVE_BSD_INT32_DEFINED 1
8751 for ac_func
in ftruncate fsync
select \
8752 gethostname socket strerror fork pipe execve open close \
8753 lseek fstat
read write htonl memset htons connect \
8754 getsockname getpeername
bind listen accept \
8755 recvfrom send sendto setsockopt getsockopt
time mktime \
8759 mmap munmap mincore msync madvise getpagesize sysconf \
8762 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8765 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6
8768 cat >conftest.
$ac_ext <<_ACEOF
8771 cat confdefs.h
>>conftest.
$ac_ext
8772 cat >>conftest.
$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8776 #define $ac_func innocuous_$ac_func
8778 /* System header to define __stub macros and hopefully few prototypes,
8779 which can conflict with char $ac_func (); below.
8780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8781 <limits.h> exists even on freestanding compilers. */
8784 # include <limits.h>
8786 # include <assert.h>
8791 /* Override any GCC internal prototype to avoid an error.
8792 Use char because int might match the return type of a GCC
8793 builtin and then its argument prototype would still apply. */
8798 /* The GNU C library defines this for functions which it implements
8799 to always fail with ENOSYS. Some functions are actually named
8800 something starting with __ and the normal name is an alias. */
8801 #if defined __stub_$ac_func || defined __stub___$ac_func
8813 rm -f conftest.
$ac_objext conftest
$ac_exeext
8814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8815 (eval $ac_link) 2>conftest.er1
8817 grep -v '^ *+' conftest.er1
>conftest.err
8819 cat conftest.err
>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } &&
8822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; } &&
8828 { ac_try
='test -s conftest$ac_exeext'
8829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); }; }; then
8834 eval "$as_ac_var=yes"
8836 echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.
$ac_ext >&5
8839 eval "$as_ac_var=no"
8842 rm -f conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8845 ac_res
=`eval echo '${'$as_ac_var'}'`
8846 { echo "$as_me:$LINENO: result: $ac_res" >&5
8847 echo "${ECHO_T}$ac_res" >&6; }
8848 if test `eval echo '${'$as_ac_var'}'` = yes; then
8849 cat >>confdefs.h
<<_ACEOF
8850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8857 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8858 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
8859 if test "${ac_cv_header_time+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 cat >conftest.
$ac_ext <<_ACEOF
8865 cat confdefs.h
>>conftest.
$ac_ext
8866 cat >>conftest.
$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8868 #include <sys/types.h>
8869 #include <sys/time.h>
8875 if ((struct tm *) 0)
8881 rm -f conftest.
$ac_objext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8883 (eval $ac_compile) 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
8887 cat conftest.err
>&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try
='test -s conftest.$ac_objext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 ac_cv_header_time
=yes
8904 echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.
$ac_ext >&5
8907 ac_cv_header_time
=no
8910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8912 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8913 echo "${ECHO_T}$ac_cv_header_time" >&6; }
8914 if test $ac_cv_header_time = yes; then
8916 cat >>confdefs.h
<<\_ACEOF
8917 #define TIME_WITH_SYS_TIME 1
8922 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8923 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8924 if test "${ac_cv_struct_tm+set}" = set; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 cat >conftest.
$ac_ext <<_ACEOF
8930 cat confdefs.h
>>conftest.
$ac_ext
8931 cat >>conftest.
$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8933 #include <sys/types.h>
8939 struct tm *tp; tp->tm_sec;
8944 rm -f conftest.
$ac_objext
8945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8946 (eval $ac_compile) 2>conftest.er1
8948 grep -v '^ *+' conftest.er1
>conftest.err
8950 cat conftest.err
>&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); } &&
8953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try
='test -s conftest.$ac_objext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 ac_cv_struct_tm
=time.h
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.
$ac_ext >&5
8970 ac_cv_struct_tm
=sys
/time.h
8973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8975 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8976 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
8977 if test $ac_cv_struct_tm = sys
/time.h
; then
8979 cat >>confdefs.h
<<\_ACEOF
8980 #define TM_IN_SYS_TIME 1
8985 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8986 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
8987 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 cat >conftest.
$ac_ext <<_ACEOF
8993 cat confdefs.h
>>conftest.
$ac_ext
8994 cat >>conftest.
$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 #include <sys/types.h>
8997 #include <$ac_cv_struct_tm>
9003 static struct tm ac_aggr;
9004 if (ac_aggr.tm_zone)
9010 rm -f conftest.
$ac_objext
9011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9012 (eval $ac_compile) 2>conftest.er1
9014 grep -v '^ *+' conftest.er1
>conftest.err
9016 cat conftest.err
>&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } &&
9019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; } &&
9025 { ac_try
='test -s conftest.$ac_objext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_member_struct_tm_tm_zone
=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.
$ac_ext >&5
9036 cat >conftest.
$ac_ext <<_ACEOF
9039 cat confdefs.h
>>conftest.
$ac_ext
9040 cat >>conftest.
$ac_ext <<_ACEOF
9041 /* end confdefs.h. */
9042 #include <sys/types.h>
9043 #include <$ac_cv_struct_tm>
9049 static struct tm ac_aggr;
9050 if (sizeof ac_aggr.tm_zone)
9056 rm -f conftest.
$ac_objext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9058 (eval $ac_compile) 2>conftest.er1
9060 grep -v '^ *+' conftest.er1
>conftest.err
9062 cat conftest.err
>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try
='test -s conftest.$ac_objext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9077 ac_cv_member_struct_tm_tm_zone
=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.
$ac_ext >&5
9082 ac_cv_member_struct_tm_tm_zone
=no
9085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9091 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
9092 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9094 cat >>confdefs.h
<<_ACEOF
9095 #define HAVE_STRUCT_TM_TM_ZONE 1
9101 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9103 cat >>confdefs.h
<<\_ACEOF
9104 #define HAVE_TM_ZONE 1
9108 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
9109 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
9110 if test "${ac_cv_have_decl_tzname+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 cat >conftest.
$ac_ext <<_ACEOF
9116 cat confdefs.h
>>conftest.
$ac_ext
9117 cat >>conftest.
$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9125 char *p = (char *) tzname;
9133 rm -f conftest.
$ac_objext
9134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 (eval $ac_compile) 2>conftest.er1
9137 grep -v '^ *+' conftest.er1
>conftest.err
9139 cat conftest.err
>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try
='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_cv_have_decl_tzname
=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.
$ac_ext >&5
9159 ac_cv_have_decl_tzname
=no
9162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9164 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
9165 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
9166 if test $ac_cv_have_decl_tzname = yes; then
9168 cat >>confdefs.h
<<_ACEOF
9169 #define HAVE_DECL_TZNAME 1
9174 cat >>confdefs.h
<<_ACEOF
9175 #define HAVE_DECL_TZNAME 0
9182 { echo "$as_me:$LINENO: checking for tzname" >&5
9183 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
9184 if test "${ac_cv_var_tzname+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 cat >conftest.
$ac_ext <<_ACEOF
9190 cat confdefs.h
>>conftest.
$ac_ext
9191 cat >>conftest.
$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9194 #if !HAVE_DECL_TZNAME
9195 extern char *tzname[];
9201 return tzname[0][0];
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>conftest.er1
9210 grep -v '^ *+' conftest.er1
>conftest.err
9212 cat conftest.err
>&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; } &&
9221 { ac_try
='test -s conftest$ac_exeext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_cv_var_tzname
=yes
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.
$ac_ext >&5
9235 rm -f conftest.err conftest.
$ac_objext \
9236 conftest
$ac_exeext conftest.
$ac_ext
9238 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9239 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
9240 if test $ac_cv_var_tzname = yes; then
9242 cat >>confdefs.h
<<\_ACEOF
9243 #define HAVE_TZNAME 1
9250 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
9251 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
9252 cat >conftest.
$ac_ext <<_ACEOF
9255 cat confdefs.h
>>conftest.
$ac_ext
9256 cat >>conftest.
$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9262 struct tm tim; tim.tm_gmtoff = 0;
9267 rm -f conftest.
$ac_objext
9268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9269 (eval $ac_compile) 2>conftest.er1
9271 grep -v '^ *+' conftest.er1
>conftest.err
9273 cat conftest.err
>&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest.$ac_objext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9289 cat >>confdefs.h
<<\_ACEOF
9290 #define STRUCT_TM_HAS_GMTOFF 1
9293 { echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6; }
9296 echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.
$ac_ext >&5
9299 { echo "$as_me:$LINENO: result: no" >&5
9300 echo "${ECHO_T}no" >&6; }
9301 { echo "$as_me:$LINENO: checking for global timezone variable" >&5
9302 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6; }
9303 cat >conftest.
$ac_ext <<_ACEOF
9306 cat confdefs.h
>>conftest.
$ac_ext
9307 cat >>conftest.
$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9313 void i(){long z2 = 2*timezone;}
9318 rm -f conftest.
$ac_objext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9320 (eval $ac_compile) 2>conftest.er1
9322 grep -v '^ *+' conftest.er1
>conftest.err
9324 cat conftest.err
>&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try
='test -s conftest.$ac_objext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9340 cat >>confdefs.h
<<\_ACEOF
9341 #define HAVE_TIMEZONE 1
9344 { echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6; }
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.
$ac_ext >&5
9350 { echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6; }
9352 { echo "$as_me:$LINENO: checking for global _timezone variable" >&5
9353 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6; }
9354 cat >conftest.
$ac_ext <<_ACEOF
9357 cat confdefs.h
>>conftest.
$ac_ext
9358 cat >>conftest.
$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9364 long z2 = _timezone;
9369 rm -f conftest.
$ac_objext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9371 (eval $ac_compile) 2>conftest.er1
9373 grep -v '^ *+' conftest.er1
>conftest.err
9375 cat conftest.err
>&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; } &&
9384 { ac_try
='test -s conftest.$ac_objext'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; }; then
9391 cat >>confdefs.h
<<\_ACEOF
9392 #define HAVE_UNDERSCORE_TIMEZONE 1
9395 { echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6; }
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 { echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6; }
9405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9413 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9414 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9415 if test "${ac_cv_c_const+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9418 cat >conftest.
$ac_ext <<_ACEOF
9421 cat confdefs.h
>>conftest.
$ac_ext
9422 cat >>conftest.
$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9428 /* FIXME: Include the comments suggested by Paul. */
9430 /* Ultrix mips cc rejects this. */
9431 typedef int charset[2];
9433 /* SunOS 4.1.1 cc rejects this. */
9434 char const *const *ccp;
9436 /* NEC SVR4.0.2 mips cc rejects this. */
9437 struct point {int x, y;};
9438 static struct point const zero = {0,0};
9439 /* AIX XL C 1.02.0.0 rejects this.
9440 It does not let you subtract one const X* pointer from another in
9441 an arm of an if-expression whose if-part is not a constant
9443 const char *g = "string";
9444 ccp = &g + (g ? g-g : 0);
9445 /* HPUX 7.0 cc rejects these. */
9448 ccp = (char const *const *) p;
9449 { /* SCO 3.2v4 cc rejects this. */
9451 char const *s = 0 ? (char *) 0 : (char const *) 0;
9456 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9458 const int *foo = &x[0];
9461 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9462 typedef const int *iptr;
9466 { /* AIX XL C 1.02.0.0 rejects this saying
9467 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9468 struct s { int j; const int *ap[3]; };
9469 struct s *b; b->j = 5;
9471 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9475 return !x[0] && !zero.x;
9482 rm -f conftest.
$ac_objext
9483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9484 (eval $ac_compile) 2>conftest.er1
9486 grep -v '^ *+' conftest.er1
>conftest.err
9488 cat conftest.err
>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; } &&
9497 { ac_try
='test -s conftest.$ac_objext'
9498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); }; }; then
9505 echo "$as_me: failed program was:" >&5
9506 sed 's/^/| /' conftest.
$ac_ext >&5
9511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9513 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9514 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9515 if test $ac_cv_c_const = no
; then
9517 cat >>confdefs.h
<<\_ACEOF
9523 { echo "$as_me:$LINENO: checking for __attribute__" >&5
9524 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
9525 if test "${ac_cv_c_attribute+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 cat >conftest.
$ac_ext <<_ACEOF
9532 cat confdefs.h
>>conftest.
$ac_ext
9533 cat >>conftest.
$ac_ext <<_ACEOF
9534 /* end confdefs.h. */
9535 void foo(void) __attribute__ ((__noreturn__));
9538 rm -f conftest.
$ac_objext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9540 (eval $ac_compile) 2>conftest.er1
9542 grep -v '^ *+' conftest.er1
>conftest.err
9544 cat conftest.err
>&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; } &&
9553 { ac_try
='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ac_cv_c_attribute
=yes
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.
$ac_ext >&5
9564 ac_cv_c_attribute
=no
9568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9571 { echo "$as_me:$LINENO: result: $ac_cv_c_attribute" >&5
9572 echo "${ECHO_T}$ac_cv_c_attribute" >&6; }
9575 case $ac_cv_c_attribute in
9578 cat >>confdefs.h
<<_ACEOF
9579 #define __attribute__(x) /* nothing */
9586 if test "X$prefix" = "XNONE"; then
9587 acl_final_prefix
="$ac_default_prefix"
9589 acl_final_prefix
="$prefix"
9591 if test "X$exec_prefix" = "XNONE"; then
9592 acl_final_exec_prefix
='${prefix}'
9594 acl_final_exec_prefix
="$exec_prefix"
9596 acl_save_prefix
="$prefix"
9597 prefix
="$acl_final_prefix"
9598 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9599 prefix
="$acl_save_prefix"
9602 # Check whether --with-gnu-ld was given.
9603 if test "${with_gnu_ld+set}" = set; then
9604 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
9609 # Prepare PATH_SEPARATOR.
9610 # The user is always right.
9611 if test "${PATH_SEPARATOR+set}" != set; then
9612 echo "#! /bin/sh" >conf$$.sh
9613 echo "exit 0" >>conf$$.sh
9615 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9623 if test "$GCC" = yes; then
9624 # Check if gcc -print-prog-name=ld gives a path.
9625 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9626 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
9629 # gcc leaves a trailing carriage return which upsets mingw
9630 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9632 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9635 # Accept absolute paths.
9636 [\\/]* |
[A-Za-z
]:[\\/]*)
9637 re_direlt
='/[^/][^/]*/\.\./'
9638 # Canonicalize the path of ld
9639 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9640 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9641 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9643 test -z "$LD" && LD
="$ac_prog"
9646 # If it fails, then pretend we aren't using GCC.
9650 # If it is relative, then search for the first ld in PATH.
9654 elif test "$with_gnu_ld" = yes; then
9655 { echo "$as_me:$LINENO: checking for GNU ld" >&5
9656 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9658 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9659 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9661 if test "${acl_cv_path_LD+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 if test -z "$LD"; then
9665 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9666 for ac_dir
in $PATH; do
9667 test -z "$ac_dir" && ac_dir
=.
9668 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9669 acl_cv_path_LD
="$ac_dir/$ac_prog"
9670 # Check to see if the program is GNU ld. I'd rather use --version,
9671 # but apparently some GNU ld's only accept -v.
9672 # Break only if it was the GNU/non-GNU ld that we prefer.
9673 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9674 test "$with_gnu_ld" != no
&& break
9676 test "$with_gnu_ld" != yes && break
9682 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9686 LD
="$acl_cv_path_LD"
9687 if test -n "$LD"; then
9688 { echo "$as_me:$LINENO: result: $LD" >&5
9689 echo "${ECHO_T}$LD" >&6; }
9691 { echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6; }
9694 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9695 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9696 { (exit 1); exit 1; }; }
9697 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9698 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9699 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9703 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9704 acl_cv_prog_gnu_ld
=yes
9706 acl_cv_prog_gnu_ld
=no
9709 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9710 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
9711 with_gnu_ld
=$acl_cv_prog_gnu_ld
9715 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9716 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
9717 if test "${acl_cv_rpath+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9722 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9728 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9729 echo "${ECHO_T}$acl_cv_rpath" >&6; }
9731 libext
="$acl_cv_libext"
9732 shlibext
="$acl_cv_shlibext"
9733 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9734 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9735 hardcode_direct
="$acl_cv_hardcode_direct"
9736 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9737 # Check whether --enable-rpath was given.
9738 if test "${enable_rpath+set}" = set; then
9739 enableval
=$enable_rpath; :
9753 acl_save_prefix
="$prefix"
9754 prefix
="$acl_final_prefix"
9755 acl_save_exec_prefix
="$exec_prefix"
9756 exec_prefix
="$acl_final_exec_prefix"
9758 eval additional_includedir
=\"$includedir\"
9759 eval additional_libdir
=\"$libdir\"
9761 exec_prefix
="$acl_save_exec_prefix"
9762 prefix
="$acl_save_prefix"
9765 # Check whether --with-libiconv-prefix was given.
9766 if test "${with_libiconv_prefix+set}" = set; then
9767 withval
=$with_libiconv_prefix;
9768 if test "X$withval" = "Xno"; then
9771 if test "X$withval" = "X"; then
9773 acl_save_prefix
="$prefix"
9774 prefix
="$acl_final_prefix"
9775 acl_save_exec_prefix
="$exec_prefix"
9776 exec_prefix
="$acl_final_exec_prefix"
9778 eval additional_includedir
=\"$includedir\"
9779 eval additional_libdir
=\"$libdir\"
9781 exec_prefix
="$acl_save_exec_prefix"
9782 prefix
="$acl_save_prefix"
9785 additional_includedir
="$withval/include"
9786 additional_libdir
="$withval/lib"
9797 names_already_handled
=
9798 names_next_round
='iconv '
9799 while test -n "$names_next_round"; do
9800 names_this_round
="$names_next_round"
9802 for name
in $names_this_round; do
9804 for n
in $names_already_handled; do
9805 if test "$n" = "$name"; then
9810 if test -z "$already_handled"; then
9811 names_already_handled
="$names_already_handled $name"
9812 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9813 eval value
=\"\
$HAVE_LIB$uppername\"
9814 if test -n "$value"; then
9815 if test "$value" = yes; then
9816 eval value
=\"\
$LIB$uppername\"
9817 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9818 eval value
=\"\
$LTLIB$uppername\"
9819 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9828 if test $use_additional = yes; then
9829 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9830 found_dir
="$additional_libdir"
9831 found_so
="$additional_libdir/lib$name.$shlibext"
9832 if test -f "$additional_libdir/lib$name.la"; then
9833 found_la
="$additional_libdir/lib$name.la"
9836 if test -f "$additional_libdir/lib$name.$libext"; then
9837 found_dir
="$additional_libdir"
9838 found_a
="$additional_libdir/lib$name.$libext"
9839 if test -f "$additional_libdir/lib$name.la"; then
9840 found_la
="$additional_libdir/lib$name.la"
9845 if test "X$found_dir" = "X"; then
9846 for x
in $LDFLAGS $LTLIBICONV; do
9848 acl_save_prefix
="$prefix"
9849 prefix
="$acl_final_prefix"
9850 acl_save_exec_prefix
="$exec_prefix"
9851 exec_prefix
="$acl_final_exec_prefix"
9853 exec_prefix
="$acl_save_exec_prefix"
9854 prefix
="$acl_save_prefix"
9858 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9859 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9861 found_so
="$dir/lib$name.$shlibext"
9862 if test -f "$dir/lib$name.la"; then
9863 found_la
="$dir/lib$name.la"
9866 if test -f "$dir/lib$name.$libext"; then
9868 found_a
="$dir/lib$name.$libext"
9869 if test -f "$dir/lib$name.la"; then
9870 found_la
="$dir/lib$name.la"
9876 if test "X$found_dir" != "X"; then
9881 if test "X$found_dir" != "X"; then
9882 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9883 if test "X$found_so" != "X"; then
9884 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9885 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9888 for x
in $ltrpathdirs; do
9889 if test "X$x" = "X$found_dir"; then
9894 if test -z "$haveit"; then
9895 ltrpathdirs
="$ltrpathdirs $found_dir"
9897 if test "$hardcode_direct" = yes; then
9898 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9900 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9901 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9903 for x
in $rpathdirs; do
9904 if test "X$x" = "X$found_dir"; then
9909 if test -z "$haveit"; then
9910 rpathdirs
="$rpathdirs $found_dir"
9914 for x
in $LDFLAGS $LIBICONV; do
9916 acl_save_prefix
="$prefix"
9917 prefix
="$acl_final_prefix"
9918 acl_save_exec_prefix
="$exec_prefix"
9919 exec_prefix
="$acl_final_exec_prefix"
9921 exec_prefix
="$acl_save_exec_prefix"
9922 prefix
="$acl_save_prefix"
9924 if test "X$x" = "X-L$found_dir"; then
9929 if test -z "$haveit"; then
9930 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9932 if test "$hardcode_minus_L" != no
; then
9933 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9935 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9941 if test "X$found_a" != "X"; then
9942 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9944 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9947 additional_includedir
=
9948 case "$found_dir" in
9950 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9951 additional_includedir
="$basedir/include"
9954 if test "X$additional_includedir" != "X"; then
9955 if test "X$additional_includedir" != "X/usr/include"; then
9957 if test "X$additional_includedir" = "X/usr/local/include"; then
9958 if test -n "$GCC"; then
9960 linux
*) haveit
=yes;;
9964 if test -z "$haveit"; then
9965 for x
in $CPPFLAGS $INCICONV; do
9967 acl_save_prefix
="$prefix"
9968 prefix
="$acl_final_prefix"
9969 acl_save_exec_prefix
="$exec_prefix"
9970 exec_prefix
="$acl_final_exec_prefix"
9972 exec_prefix
="$acl_save_exec_prefix"
9973 prefix
="$acl_save_prefix"
9975 if test "X$x" = "X-I$additional_includedir"; then
9980 if test -z "$haveit"; then
9981 if test -d "$additional_includedir"; then
9982 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9988 if test -n "$found_la"; then
9989 save_libdir
="$libdir"
9991 */* |
*\\*) .
"$found_la" ;;
9992 *) .
"./$found_la" ;;
9994 libdir
="$save_libdir"
9995 for dep
in $dependency_libs; do
9998 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9999 if test "X$additional_libdir" != "X/usr/lib"; then
10001 if test "X$additional_libdir" = "X/usr/local/lib"; then
10002 if test -n "$GCC"; then
10004 linux
*) haveit
=yes;;
10008 if test -z "$haveit"; then
10010 for x
in $LDFLAGS $LIBICONV; do
10012 acl_save_prefix
="$prefix"
10013 prefix
="$acl_final_prefix"
10014 acl_save_exec_prefix
="$exec_prefix"
10015 exec_prefix
="$acl_final_exec_prefix"
10017 exec_prefix
="$acl_save_exec_prefix"
10018 prefix
="$acl_save_prefix"
10020 if test "X$x" = "X-L$additional_libdir"; then
10025 if test -z "$haveit"; then
10026 if test -d "$additional_libdir"; then
10027 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10031 for x
in $LDFLAGS $LTLIBICONV; do
10033 acl_save_prefix
="$prefix"
10034 prefix
="$acl_final_prefix"
10035 acl_save_exec_prefix
="$exec_prefix"
10036 exec_prefix
="$acl_final_exec_prefix"
10038 exec_prefix
="$acl_save_exec_prefix"
10039 prefix
="$acl_save_prefix"
10041 if test "X$x" = "X-L$additional_libdir"; then
10046 if test -z "$haveit"; then
10047 if test -d "$additional_libdir"; then
10048 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10055 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10056 if test "$enable_rpath" != no
; then
10058 for x
in $rpathdirs; do
10059 if test "X$x" = "X$dir"; then
10064 if test -z "$haveit"; then
10065 rpathdirs
="$rpathdirs $dir"
10068 for x
in $ltrpathdirs; do
10069 if test "X$x" = "X$dir"; then
10074 if test -z "$haveit"; then
10075 ltrpathdirs
="$ltrpathdirs $dir"
10080 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10083 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10086 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10087 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10093 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10094 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10100 if test "X$rpathdirs" != "X"; then
10101 if test -n "$hardcode_libdir_separator"; then
10103 for found_dir
in $rpathdirs; do
10104 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10106 acl_save_libdir
="$libdir"
10108 eval flag
=\"$hardcode_libdir_flag_spec\"
10109 libdir
="$acl_save_libdir"
10110 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10112 for found_dir
in $rpathdirs; do
10113 acl_save_libdir
="$libdir"
10114 libdir
="$found_dir"
10115 eval flag
=\"$hardcode_libdir_flag_spec\"
10116 libdir
="$acl_save_libdir"
10117 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10121 if test "X$ltrpathdirs" != "X"; then
10122 for found_dir
in $ltrpathdirs; do
10123 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10133 am_save_CPPFLAGS
="$CPPFLAGS"
10135 for element
in $INCICONV; do
10137 for x
in $CPPFLAGS; do
10139 acl_save_prefix
="$prefix"
10140 prefix
="$acl_final_prefix"
10141 acl_save_exec_prefix
="$exec_prefix"
10142 exec_prefix
="$acl_final_exec_prefix"
10144 exec_prefix
="$acl_save_exec_prefix"
10145 prefix
="$acl_save_prefix"
10147 if test "X$x" = "X$element"; then
10152 if test -z "$haveit"; then
10153 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10158 { echo "$as_me:$LINENO: checking for iconv" >&5
10159 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
10160 if test "${am_cv_func_iconv+set}" = set; then
10161 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 am_cv_func_iconv
="no, consider installing GNU libiconv"
10166 cat >conftest.
$ac_ext <<_ACEOF
10169 cat confdefs.h
>>conftest.
$ac_ext
10170 cat >>conftest.
$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 #include <stdlib.h>
10177 iconv_t cd = iconv_open("","");
10178 iconv(cd,NULL,NULL,NULL,NULL);
10184 rm -f conftest.
$ac_objext conftest
$ac_exeext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 (eval $ac_link) 2>conftest.er1
10188 grep -v '^ *+' conftest.er1
>conftest.err
10190 cat conftest.err
>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try
='test -s conftest$ac_exeext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 am_cv_func_iconv
=yes
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.
$ac_ext >&5
10213 rm -f conftest.err conftest.
$ac_objext \
10214 conftest
$ac_exeext conftest.
$ac_ext
10215 if test "$am_cv_func_iconv" != yes; then
10216 am_save_LIBS
="$LIBS"
10217 LIBS
="$LIBS $LIBICONV"
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 #include <stdlib.h>
10229 iconv_t cd = iconv_open("","");
10230 iconv(cd,NULL,NULL,NULL,NULL);
10236 rm -f conftest.
$ac_objext conftest
$ac_exeext
10237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10238 (eval $ac_link) 2>conftest.er1
10240 grep -v '^ *+' conftest.er1
>conftest.err
10242 cat conftest.err
>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } &&
10245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; } &&
10251 { ac_try
='test -s conftest$ac_exeext'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; }; then
10257 am_cv_lib_iconv
=yes
10258 am_cv_func_iconv
=yes
10260 echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.
$ac_ext >&5
10266 rm -f conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 LIBS
="$am_save_LIBS"
10272 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10273 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
10274 if test "$am_cv_func_iconv" = yes; then
10276 cat >>confdefs.h
<<\_ACEOF
10277 #define HAVE_ICONV 1
10281 if test "$am_cv_lib_iconv" = yes; then
10282 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10283 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
10284 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
10285 echo "${ECHO_T}$LIBICONV" >&6; }
10287 CPPFLAGS
="$am_save_CPPFLAGS"
10294 if test "$am_cv_func_iconv" = yes; then
10295 { echo "$as_me:$LINENO: checking for iconv declaration" >&5
10296 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
10297 if test "${am_cv_proto_iconv+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 cat >conftest.
$ac_ext <<_ACEOF
10304 cat confdefs.h
>>conftest.
$ac_ext
10305 cat >>conftest.
$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10308 #include <stdlib.h>
10314 #if defined(__STDC__) || defined(__cplusplus)
10315 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10328 rm -f conftest.
$ac_objext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10330 (eval $ac_compile) 2>conftest.er1
10332 grep -v '^ *+' conftest.er1
>conftest.err
10334 cat conftest.err
>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } &&
10337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try
='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 am_cv_proto_iconv_arg1
=""
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.
$ac_ext >&5
10354 am_cv_proto_iconv_arg1
="const"
10357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10358 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);"
10361 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10362 { echo "$as_me:$LINENO: result: ${ac_t:-
10363 }$am_cv_proto_iconv" >&5
10364 echo "${ECHO_T}${ac_t:-
10365 }$am_cv_proto_iconv" >&6; }
10367 cat >>confdefs.h
<<_ACEOF
10368 #define ICONV_CONST $am_cv_proto_iconv_arg1
10374 if test "x${GCC}" = xyes
; then
10376 WARNING_CFLAGS
='-pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
10379 STRICT_WARNING_CFLAGS
=-Wstrict-prototypes
10383 if test "x${ENABLE_WERROR}" = xyes
; then
10384 ERROR_CFLAGS
='-Werror'
10389 if test "x${COMPILE_XMLJ}" = xyes
; then
10393 if test -z "$PKG_CONFIG"; then
10394 # Extract the first word of "pkg-config", so it can be a program name with args.
10395 set dummy pkg-config
; ac_word
=$2
10396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10398 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 case $PKG_CONFIG in
10403 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10407 for as_dir
in $PATH
10410 test -z "$as_dir" && as_dir
=.
10411 for ac_exec_ext
in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10425 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10426 if test -n "$PKG_CONFIG"; then
10427 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10428 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10430 { echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6; }
10437 if test "$PKG_CONFIG" = "no" ; then
10438 echo "*** The pkg-config script could not be found. Make sure it is"
10439 echo "*** in your path, or set the PKG_CONFIG environment variable"
10440 echo "*** to the full path to pkg-config."
10441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10443 PKG_CONFIG_MIN_VERSION
=0.9.0
10444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10445 { echo "$as_me:$LINENO: checking for libxml-2.0 >= 2.6.8" >&5
10446 echo $ECHO_N "checking for libxml-2.0 >= 2.6.8... $ECHO_C" >&6; }
10448 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
10449 { echo "$as_me:$LINENO: result: yes" >&5
10450 echo "${ECHO_T}yes" >&6; }
10453 { echo "$as_me:$LINENO: checking XML_CFLAGS" >&5
10454 echo $ECHO_N "checking XML_CFLAGS... $ECHO_C" >&6; }
10455 XML_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
10456 { echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
10457 echo "${ECHO_T}$XML_CFLAGS" >&6; }
10459 { echo "$as_me:$LINENO: checking XML_LIBS" >&5
10460 echo $ECHO_N "checking XML_LIBS... $ECHO_C" >&6; }
10461 XML_LIBS
=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
10462 { echo "$as_me:$LINENO: result: $XML_LIBS" >&5
10463 echo "${ECHO_T}$XML_LIBS" >&6; }
10467 ## If we have a custom action on failure, don't print errors, but
10468 ## do set a variable so people can do so.
10469 XML_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
10470 echo $XML_PKG_ERRORS
10476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10481 if test $succeeded = yes; then
10484 { { echo "$as_me:$LINENO: 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." >&5
10485 echo "$as_me: 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." >&2;}
10486 { (exit 1); exit 1; }; }
10492 if test -z "$PKG_CONFIG"; then
10493 # Extract the first word of "pkg-config", so it can be a program name with args.
10494 set dummy pkg-config
; ac_word
=$2
10495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10497 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10500 case $PKG_CONFIG in
10502 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10506 for as_dir
in $PATH
10509 test -z "$as_dir" && as_dir
=.
10510 for ac_exec_ext
in '' $ac_executable_extensions; do
10511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10512 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10520 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10524 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10525 if test -n "$PKG_CONFIG"; then
10526 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10527 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10529 { echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6; }
10536 if test "$PKG_CONFIG" = "no" ; then
10537 echo "*** The pkg-config script could not be found. Make sure it is"
10538 echo "*** in your path, or set the PKG_CONFIG environment variable"
10539 echo "*** to the full path to pkg-config."
10540 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10542 PKG_CONFIG_MIN_VERSION
=0.9.0
10543 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10544 { echo "$as_me:$LINENO: checking for libxslt >= 1.1.11" >&5
10545 echo $ECHO_N "checking for libxslt >= 1.1.11... $ECHO_C" >&6; }
10547 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
10548 { echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6; }
10552 { echo "$as_me:$LINENO: checking XSLT_CFLAGS" >&5
10553 echo $ECHO_N "checking XSLT_CFLAGS... $ECHO_C" >&6; }
10554 XSLT_CFLAGS
=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
10555 { echo "$as_me:$LINENO: result: $XSLT_CFLAGS" >&5
10556 echo "${ECHO_T}$XSLT_CFLAGS" >&6; }
10558 { echo "$as_me:$LINENO: checking XSLT_LIBS" >&5
10559 echo $ECHO_N "checking XSLT_LIBS... $ECHO_C" >&6; }
10560 XSLT_LIBS
=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
10561 { echo "$as_me:$LINENO: result: $XSLT_LIBS" >&5
10562 echo "${ECHO_T}$XSLT_LIBS" >&6; }
10566 ## If we have a custom action on failure, don't print errors, but
10567 ## do set a variable so people can do so.
10568 XSLT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
10569 echo $XSLT_PKG_ERRORS
10575 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10576 echo "*** See http://www.freedesktop.org/software/pkgconfig"
10580 if test $succeeded = yes; then
10583 { { echo "$as_me:$LINENO: 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." >&5
10584 echo "$as_me: 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." >&2;}
10585 { (exit 1); exit 1; }; }
10594 if test "x${COMPILE_GTK_PEER}" = xyes
; then
10596 if test "x$ac_path_x_has_been_run" != xyes
; then
10597 { echo "$as_me:$LINENO: checking for X" >&5
10598 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10600 ac_path_x_has_been_run
=yes
10602 # Check whether --with-x was given.
10603 if test "${with_x+set}" = set; then
10607 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10608 if test "x$with_x" = xno
; then
10609 # The user explicitly disabled X.
10612 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10613 # Both variables are already set.
10616 if test "${ac_cv_have_x+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 # One or both of the vars are not set, and there is no cached value.
10620 ac_x_includes
=no ac_x_libraries
=no
10621 rm -f -r conftest.dir
10622 if mkdir conftest.dir
; then
10624 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10625 cat >Imakefile
<<'_ACEOF'
10627 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10629 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10631 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10632 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10633 for ac_extension
in a so sl
; do
10634 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10635 test -f $ac_im_libdir/libX11.
$ac_extension; then
10636 ac_im_usrlibdir
=$ac_im_libdir; break
10639 # Screen out bogus values from the imake configuration. They are
10640 # bogus both because they are the default anyway, and because
10641 # using them would break gcc on systems where it needs fixed includes.
10642 case $ac_im_incroot in
10643 /usr
/include
) ac_x_includes
= ;;
10644 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10646 case $ac_im_usrlibdir in
10647 /usr
/lib |
/lib
) ;;
10648 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10652 rm -f -r conftest.dir
10655 # Standard set of common directories for X headers.
10656 # Check X11 before X11Rn because it is often a symlink to the current release.
10668 /usr/local/X11/include
10669 /usr/local/X11R6/include
10670 /usr/local/X11R5/include
10671 /usr/local/X11R4/include
10673 /usr/local/include/X11
10674 /usr/local/include/X11R6
10675 /usr/local/include/X11R5
10676 /usr/local/include/X11R4
10680 /usr/XFree86/include/X11
10684 /usr/unsupported/include
10685 /usr/athena/include
10686 /usr/local/x11r5/include
10687 /usr/lpp/Xamples/include
10689 /usr/openwin/include
10690 /usr/openwin/share/include'
10692 if test "$ac_x_includes" = no
; then
10693 # Guess where to find include files, by looking for Xlib.h.
10694 # First, try using that file with no special directory specified.
10695 cat >conftest.
$ac_ext <<_ACEOF
10698 cat confdefs.h
>>conftest.
$ac_ext
10699 cat >>conftest.
$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 #include <X11/Xlib.h.h>
10703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10706 grep -v '^ *+' conftest.er1
>conftest.err
10708 cat conftest.err
>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); } >/dev
/null
; then
10711 if test -s conftest.err
; then
10712 ac_cpp_err
=$ac_c_preproc_warn_flag
10713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10720 if test -z "$ac_cpp_err"; then
10721 # We can compile using X headers with no special include directory.
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10727 for ac_dir
in $ac_x_header_dirs; do
10728 if test -r "$ac_dir/X11/Xlib.h"; then
10729 ac_x_includes
=$ac_dir
10735 rm -f conftest.err conftest.
$ac_ext
10736 fi # $ac_x_includes = no
10738 if test "$ac_x_libraries" = no
; then
10739 # Check for the libraries.
10740 # See if we find them without any special options.
10741 # Don't add to $LIBS permanently.
10744 cat >conftest.
$ac_ext <<_ACEOF
10747 cat confdefs.h
>>conftest.
$ac_ext
10748 cat >>conftest.
$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750 #include <X11/Xlib.h>
10759 rm -f conftest.
$ac_objext conftest
$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10763 grep -v '^ *+' conftest.er1
>conftest.err
10765 cat conftest.err
>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try
='test -s conftest$ac_exeext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10781 # We can link X programs with no special library path.
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.
$ac_ext >&5
10788 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10790 # Don't even attempt the hair of trying to link an X program!
10791 for ac_extension
in a so sl
; do
10792 if test -r $ac_dir/libX11.
$ac_extension; then
10793 ac_x_libraries
=$ac_dir
10800 rm -f conftest.err conftest.
$ac_objext \
10801 conftest
$ac_exeext conftest.
$ac_ext
10802 fi # $ac_x_libraries = no
10804 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
10805 # Didn't find X anywhere. Cache the known absence of X.
10806 ac_cv_have_x
="have_x=no"
10808 # Record where we found X for the cache.
10809 ac_cv_have_x
="have_x=yes \
10810 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10815 eval "$ac_cv_have_x"
10818 if test "$have_x" != yes; then
10819 { echo "$as_me:$LINENO: result: $have_x" >&5
10820 echo "${ECHO_T}$have_x" >&6; }
10823 # If each of the values was on the command line, it overrides each guess.
10824 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10825 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10826 # Update the cache value to reflect the command line values.
10827 ac_cv_have_x
="have_x=yes \
10828 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10829 # It might be that x_includes is empty (headers are found in the
10830 # standard search path. Then output the corresponding message
10831 ac_out_x_includes
=$x_includes
10832 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
10833 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
10834 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
10838 if test "$no_x" = yes; then
10839 # Not all programs may use this symbol, but it does not hurt to define it.
10841 cat >>confdefs.h
<<\_ACEOF
10842 #define X_DISPLAY_MISSING 1
10845 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10847 if test -n "$x_includes"; then
10848 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10851 # It would also be nice to do this for all -L options, not just this one.
10852 if test -n "$x_libraries"; then
10853 X_LIBS
="$X_LIBS -L$x_libraries"
10854 # For Solaris; some versions of Sun CC require a space after -R and
10855 # others require no space. Words are not sufficient . . . .
10856 case `(uname -sr) 2>/dev/null` in
10858 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
10859 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
10860 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
10861 cat >conftest.
$ac_ext <<_ACEOF
10864 cat confdefs.h
>>conftest.
$ac_ext
10865 cat >>conftest.
$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10876 rm -f conftest.
$ac_objext conftest
$ac_exeext
10877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10878 (eval $ac_link) 2>conftest.er1
10880 grep -v '^ *+' conftest.er1
>conftest.err
10882 cat conftest.err
>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } &&
10885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try
='test -s conftest$ac_exeext'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; }; then
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.
$ac_ext >&5
10905 rm -f conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 if test $ac_R_nospace = yes; then
10908 { echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6; }
10910 X_LIBS
="$X_LIBS -R$x_libraries"
10912 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10928 rm -f conftest.
$ac_objext conftest
$ac_exeext
10929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10930 (eval $ac_link) 2>conftest.er1
10932 grep -v '^ *+' conftest.er1
>conftest.err
10934 cat conftest.err
>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; } &&
10943 { ac_try
='test -s conftest$ac_exeext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10951 echo "$as_me: failed program was:" >&5
10952 sed 's/^/| /' conftest.
$ac_ext >&5
10957 rm -f conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 if test $ac_R_space = yes; then
10960 { echo "$as_me:$LINENO: result: yes" >&5
10961 echo "${ECHO_T}yes" >&6; }
10962 X_LIBS
="$X_LIBS -R $x_libraries"
10964 { echo "$as_me:$LINENO: result: neither works" >&5
10965 echo "${ECHO_T}neither works" >&6; }
10968 LIBS
=$ac_xsave_LIBS
10972 # Check for system-dependent libraries X programs must link with.
10973 # Do this before checking for the system-independent R6 libraries
10974 # (-lICE), since we may need -lsocket or whatever for X linking.
10976 if test "$ISC" = yes; then
10977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10979 # Martyn Johnson says this is needed for Ultrix, if the X
10980 # libraries were built with DECnet support. And Karl Berry says
10981 # the Alpha needs dnet_stub (dnet does not exist).
10982 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
10983 cat >conftest.
$ac_ext <<_ACEOF
10986 cat confdefs.h
>>conftest.
$ac_ext
10987 cat >>conftest.
$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10996 char XOpenDisplay ();
11000 return XOpenDisplay ();
11005 rm -f conftest.
$ac_objext conftest
$ac_exeext
11006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007 (eval $ac_link) 2>conftest.er1
11009 grep -v '^ *+' conftest.er1
>conftest.err
11011 cat conftest.err
>&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 (exit $ac_status); } &&
11014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; } &&
11020 { ac_try
='test -s conftest$ac_exeext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11031 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
11032 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
11033 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11036 ac_check_lib_save_LIBS
=$LIBS
11037 LIBS
="-ldnet $LIBS"
11038 cat >conftest.
$ac_ext <<_ACEOF
11041 cat confdefs.h
>>conftest.
$ac_ext
11042 cat >>conftest.
$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11055 return dnet_ntoa ();
11060 rm -f conftest.
$ac_objext conftest
$ac_exeext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11062 (eval $ac_link) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1
>conftest.err
11066 cat conftest.err
>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try
='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_cv_lib_dnet_dnet_ntoa
=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11086 ac_cv_lib_dnet_dnet_ntoa
=no
11089 rm -f conftest.err conftest.
$ac_objext \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 LIBS
=$ac_check_lib_save_LIBS
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
11096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11099 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11100 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
11101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
11102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 ac_check_lib_save_LIBS
=$LIBS
11106 LIBS
="-ldnet_stub $LIBS"
11107 cat >conftest.
$ac_ext <<_ACEOF
11110 cat confdefs.h
>>conftest.
$ac_ext
11111 cat >>conftest.
$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11124 return dnet_ntoa ();
11129 rm -f conftest.
$ac_objext conftest
$ac_exeext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11131 (eval $ac_link) 2>conftest.er1
11133 grep -v '^ *+' conftest.er1
>conftest.err
11135 cat conftest.err
>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try
='test -s conftest$ac_exeext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11155 ac_cv_lib_dnet_stub_dnet_ntoa
=no
11158 rm -f conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_lib_save_LIBS
11162 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11163 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11164 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
11165 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11171 rm -f conftest.err conftest.
$ac_objext \
11172 conftest
$ac_exeext conftest.
$ac_ext
11173 LIBS
="$ac_xsave_LIBS"
11175 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11176 # to get the SysV transport functions.
11177 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11179 # The nsl library prevents programs from opening the X display
11180 # on Irix 5.2, according to T.E. Dickey.
11181 # The functions gethostbyname, getservbyname, and inet_addr are
11182 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11183 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
11184 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
11185 if test "${ac_cv_func_gethostbyname+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 cat >conftest.
$ac_ext <<_ACEOF
11191 cat confdefs.h
>>conftest.
$ac_ext
11192 cat >>conftest.
$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11196 #define gethostbyname innocuous_gethostbyname
11198 /* System header to define __stub macros and hopefully few prototypes,
11199 which can conflict with char gethostbyname (); below.
11200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11201 <limits.h> exists even on freestanding compilers. */
11204 # include <limits.h>
11206 # include <assert.h>
11209 #undef gethostbyname
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11217 char gethostbyname ();
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined __stub_gethostbyname || defined __stub___gethostbyname
11228 return gethostbyname ();
11233 rm -f conftest.
$ac_objext conftest
$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11237 grep -v '^ *+' conftest.er1
>conftest.err
11239 cat conftest.err
>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try
='test -s conftest$ac_exeext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_func_gethostbyname
=yes
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.
$ac_ext >&5
11259 ac_cv_func_gethostbyname
=no
11262 rm -f conftest.err conftest.
$ac_objext \
11263 conftest
$ac_exeext conftest.
$ac_ext
11265 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11266 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
11268 if test $ac_cv_func_gethostbyname = no
; then
11269 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
11270 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
11271 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 ac_check_lib_save_LIBS
=$LIBS
11276 cat >conftest.
$ac_ext <<_ACEOF
11279 cat confdefs.h
>>conftest.
$ac_ext
11280 cat >>conftest.
$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11289 char gethostbyname ();
11293 return gethostbyname ();
11298 rm -f conftest.
$ac_objext conftest
$ac_exeext
11299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11300 (eval $ac_link) 2>conftest.er1
11302 grep -v '^ *+' conftest.er1
>conftest.err
11304 cat conftest.err
>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; } &&
11313 { ac_try
='test -s conftest$ac_exeext'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; }; then
11319 ac_cv_lib_nsl_gethostbyname
=yes
11321 echo "$as_me: failed program was:" >&5
11322 sed 's/^/| /' conftest.
$ac_ext >&5
11324 ac_cv_lib_nsl_gethostbyname
=no
11327 rm -f conftest.err conftest.
$ac_objext \
11328 conftest
$ac_exeext conftest.
$ac_ext
11329 LIBS
=$ac_check_lib_save_LIBS
11331 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
11332 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
11333 if test $ac_cv_lib_nsl_gethostbyname = yes; then
11334 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11337 if test $ac_cv_lib_nsl_gethostbyname = no
; then
11338 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
11339 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
11340 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 ac_check_lib_save_LIBS
=$LIBS
11345 cat >conftest.
$ac_ext <<_ACEOF
11348 cat confdefs.h
>>conftest.
$ac_ext
11349 cat >>conftest.
$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11358 char gethostbyname ();
11362 return gethostbyname ();
11367 rm -f conftest.
$ac_objext conftest
$ac_exeext
11368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11369 (eval $ac_link) 2>conftest.er1
11371 grep -v '^ *+' conftest.er1
>conftest.err
11373 cat conftest.err
>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } &&
11376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; } &&
11382 { ac_try
='test -s conftest$ac_exeext'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; }; then
11388 ac_cv_lib_bsd_gethostbyname
=yes
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.
$ac_ext >&5
11393 ac_cv_lib_bsd_gethostbyname
=no
11396 rm -f conftest.err conftest.
$ac_objext \
11397 conftest
$ac_exeext conftest.
$ac_ext
11398 LIBS
=$ac_check_lib_save_LIBS
11400 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
11401 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
11402 if test $ac_cv_lib_bsd_gethostbyname = yes; then
11403 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
11409 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11410 # socket/setsockopt and other routines are undefined under SCO ODT
11411 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11412 # on later versions), says Simon Leinen: it contains gethostby*
11413 # variants that don't use the name server (or something). -lsocket
11414 # must be given before -lnsl if both are needed. We assume that
11415 # if connect needs -lnsl, so does gethostbyname.
11416 { echo "$as_me:$LINENO: checking for connect" >&5
11417 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
11418 if test "${ac_cv_func_connect+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 cat >conftest.
$ac_ext <<_ACEOF
11424 cat confdefs.h
>>conftest.
$ac_ext
11425 cat >>conftest.
$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11429 #define connect innocuous_connect
11431 /* System header to define __stub macros and hopefully few prototypes,
11432 which can conflict with char connect (); below.
11433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11434 <limits.h> exists even on freestanding compilers. */
11437 # include <limits.h>
11439 # include <assert.h>
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11451 /* The GNU C library defines this for functions which it implements
11452 to always fail with ENOSYS. Some functions are actually named
11453 something starting with __ and the normal name is an alias. */
11454 #if defined __stub_connect || defined __stub___connect
11466 rm -f conftest.
$ac_objext conftest
$ac_exeext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11468 (eval $ac_link) 2>conftest.er1
11470 grep -v '^ *+' conftest.er1
>conftest.err
11472 cat conftest.err
>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; } &&
11481 { ac_try
='test -s conftest$ac_exeext'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; }; then
11487 ac_cv_func_connect
=yes
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.
$ac_ext >&5
11492 ac_cv_func_connect
=no
11495 rm -f conftest.err conftest.
$ac_objext \
11496 conftest
$ac_exeext conftest.
$ac_ext
11498 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11499 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
11501 if test $ac_cv_func_connect = no
; then
11502 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
11503 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
11504 if test "${ac_cv_lib_socket_connect+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 ac_check_lib_save_LIBS
=$LIBS
11508 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11509 cat >conftest.
$ac_ext <<_ACEOF
11512 cat confdefs.h
>>conftest.
$ac_ext
11513 cat >>conftest.
$ac_ext <<_ACEOF
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11531 rm -f conftest.
$ac_objext conftest
$ac_exeext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11533 (eval $ac_link) 2>conftest.er1
11535 grep -v '^ *+' conftest.er1
>conftest.err
11537 cat conftest.err
>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; } &&
11546 { ac_try
='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 ac_cv_lib_socket_connect
=yes
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.
$ac_ext >&5
11557 ac_cv_lib_socket_connect
=no
11560 rm -f conftest.err conftest.
$ac_objext \
11561 conftest
$ac_exeext conftest.
$ac_ext
11562 LIBS
=$ac_check_lib_save_LIBS
11564 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
11565 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
11566 if test $ac_cv_lib_socket_connect = yes; then
11567 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11572 # Guillermo Gomez says -lposix is necessary on A/UX.
11573 { echo "$as_me:$LINENO: checking for remove" >&5
11574 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
11575 if test "${ac_cv_func_remove+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11578 cat >conftest.
$ac_ext <<_ACEOF
11581 cat confdefs.h
>>conftest.
$ac_ext
11582 cat >>conftest.
$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11584 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
11585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11586 #define remove innocuous_remove
11588 /* System header to define __stub macros and hopefully few prototypes,
11589 which can conflict with char remove (); below.
11590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11591 <limits.h> exists even on freestanding compilers. */
11594 # include <limits.h>
11596 # include <assert.h>
11601 /* Override any GCC internal prototype to avoid an error.
11602 Use char because int might match the return type of a GCC
11603 builtin and then its argument prototype would still apply. */
11608 /* The GNU C library defines this for functions which it implements
11609 to always fail with ENOSYS. Some functions are actually named
11610 something starting with __ and the normal name is an alias. */
11611 #if defined __stub_remove || defined __stub___remove
11623 rm -f conftest.
$ac_objext conftest
$ac_exeext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11625 (eval $ac_link) 2>conftest.er1
11627 grep -v '^ *+' conftest.er1
>conftest.err
11629 cat conftest.err
>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } &&
11632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try
='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_cv_func_remove
=yes
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.
$ac_ext >&5
11649 ac_cv_func_remove
=no
11652 rm -f conftest.err conftest.
$ac_objext \
11653 conftest
$ac_exeext conftest.
$ac_ext
11655 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
11656 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
11658 if test $ac_cv_func_remove = no
; then
11659 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
11660 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
11661 if test "${ac_cv_lib_posix_remove+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 ac_check_lib_save_LIBS
=$LIBS
11665 LIBS
="-lposix $LIBS"
11666 cat >conftest.
$ac_ext <<_ACEOF
11669 cat confdefs.h
>>conftest.
$ac_ext
11670 cat >>conftest.
$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11688 rm -f conftest.
$ac_objext conftest
$ac_exeext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_lib_posix_remove
=yes
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11714 ac_cv_lib_posix_remove
=no
11717 rm -f conftest.err conftest.
$ac_objext \
11718 conftest
$ac_exeext conftest.
$ac_ext
11719 LIBS
=$ac_check_lib_save_LIBS
11721 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
11722 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
11723 if test $ac_cv_lib_posix_remove = yes; then
11724 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11729 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11730 { echo "$as_me:$LINENO: checking for shmat" >&5
11731 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
11732 if test "${ac_cv_func_shmat+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 cat >conftest.
$ac_ext <<_ACEOF
11738 cat confdefs.h
>>conftest.
$ac_ext
11739 cat >>conftest.
$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
11742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11743 #define shmat innocuous_shmat
11745 /* System header to define __stub macros and hopefully few prototypes,
11746 which can conflict with char shmat (); below.
11747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11748 <limits.h> exists even on freestanding compilers. */
11751 # include <limits.h>
11753 # include <assert.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. */
11765 /* The GNU C library defines this for functions which it implements
11766 to always fail with ENOSYS. Some functions are actually named
11767 something starting with __ and the normal name is an alias. */
11768 #if defined __stub_shmat || defined __stub___shmat
11780 rm -f conftest.
$ac_objext conftest
$ac_exeext
11781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11782 (eval $ac_link) 2>conftest.er1
11784 grep -v '^ *+' conftest.er1
>conftest.err
11786 cat conftest.err
>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } &&
11789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; } &&
11795 { ac_try
='test -s conftest$ac_exeext'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; }; then
11801 ac_cv_func_shmat
=yes
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.
$ac_ext >&5
11806 ac_cv_func_shmat
=no
11809 rm -f conftest.err conftest.
$ac_objext \
11810 conftest
$ac_exeext conftest.
$ac_ext
11812 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
11813 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
11815 if test $ac_cv_func_shmat = no
; then
11816 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
11817 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
11818 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 ac_check_lib_save_LIBS
=$LIBS
11823 cat >conftest.
$ac_ext <<_ACEOF
11826 cat confdefs.h
>>conftest.
$ac_ext
11827 cat >>conftest.
$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11845 rm -f conftest.
$ac_objext conftest
$ac_exeext
11846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11847 (eval $ac_link) 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } &&
11854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; } &&
11860 { ac_try
='test -s conftest$ac_exeext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_lib_ipc_shmat
=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.
$ac_ext >&5
11871 ac_cv_lib_ipc_shmat
=no
11874 rm -f conftest.err conftest.
$ac_objext \
11875 conftest
$ac_exeext conftest.
$ac_ext
11876 LIBS
=$ac_check_lib_save_LIBS
11878 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
11879 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
11880 if test $ac_cv_lib_ipc_shmat = yes; then
11881 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11887 # Check for libraries that X11R6 Xt/Xaw programs need.
11888 ac_save_LDFLAGS
=$LDFLAGS
11889 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11890 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11891 # check for ICE first), but we must link in the order -lSM -lICE or
11892 # we get undefined symbols. So assume we have SM if we have ICE.
11893 # These have to be linked with before -lX11, unlike the other
11894 # libraries we check for below, so use a different variable.
11895 # John Interrante, Karl Berry
11896 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11897 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
11898 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 ac_check_lib_save_LIBS
=$LIBS
11902 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11903 cat >conftest.
$ac_ext <<_ACEOF
11906 cat confdefs.h
>>conftest.
$ac_ext
11907 cat >>conftest.
$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11916 char IceConnectionNumber ();
11920 return IceConnectionNumber ();
11925 rm -f conftest.
$ac_objext conftest
$ac_exeext
11926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11927 (eval $ac_link) 2>conftest.er1
11929 grep -v '^ *+' conftest.er1
>conftest.err
11931 cat conftest.err
>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; } &&
11940 { ac_try
='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_lib_ICE_IceConnectionNumber
=yes
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.
$ac_ext >&5
11951 ac_cv_lib_ICE_IceConnectionNumber
=no
11954 rm -f conftest.err conftest.
$ac_objext \
11955 conftest
$ac_exeext conftest.
$ac_ext
11956 LIBS
=$ac_check_lib_save_LIBS
11958 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11959 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11960 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11961 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11964 LDFLAGS
=$ac_save_LDFLAGS
11968 if test "$no_x" = yes; then
11969 { { echo "$as_me:$LINENO: error: GTK+ peers requested but no X library available" >&5
11970 echo "$as_me: error: GTK+ peers requested but no X library available" >&2;}
11971 { (exit 1); exit 1; }; }
11973 { echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
11974 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6; }
11975 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 ac_check_lib_save_LIBS
=$LIBS
11979 LIBS
="-lXtst ${X_LIBS} $LIBS"
11980 cat >conftest.
$ac_ext <<_ACEOF
11983 cat confdefs.h
>>conftest.
$ac_ext
11984 cat >>conftest.
$ac_ext <<_ACEOF
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11993 char XTestQueryExtension ();
11997 return XTestQueryExtension ();
12002 rm -f conftest.
$ac_objext conftest
$ac_exeext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12004 (eval $ac_link) 2>conftest.er1
12006 grep -v '^ *+' conftest.er1
>conftest.err
12008 cat conftest.err
>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } &&
12011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013 (eval $ac_try) 2>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); }; } &&
12017 { ac_try
='test -s conftest$ac_exeext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 ac_cv_lib_Xtst_XTestQueryExtension
=yes
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.
$ac_ext >&5
12028 ac_cv_lib_Xtst_XTestQueryExtension
=no
12031 rm -f conftest.err conftest.
$ac_objext \
12032 conftest
$ac_exeext conftest.
$ac_ext
12033 LIBS
=$ac_check_lib_save_LIBS
12035 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
12036 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
12037 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
12040 { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5
12041 echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;}
12042 { (exit 1); exit 1; }; }
12048 if test -z "$PKG_CONFIG"; then
12049 # Extract the first word of "pkg-config", so it can be a program name with args.
12050 set dummy pkg-config
; ac_word
=$2
12051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12053 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 case $PKG_CONFIG in
12058 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12062 for as_dir
in $PATH
12065 test -z "$as_dir" && as_dir
=.
12066 for ac_exec_ext
in '' $ac_executable_extensions; do
12067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12068 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12080 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12081 if test -n "$PKG_CONFIG"; then
12082 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12083 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12085 { echo "$as_me:$LINENO: result: no" >&5
12086 echo "${ECHO_T}no" >&6; }
12092 if test "$PKG_CONFIG" = "no" ; then
12093 echo "*** The pkg-config script could not be found. Make sure it is"
12094 echo "*** in your path, or set the PKG_CONFIG environment variable"
12095 echo "*** to the full path to pkg-config."
12096 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12098 PKG_CONFIG_MIN_VERSION
=0.9.0
12099 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12100 { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
12101 echo $ECHO_N "checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... $ECHO_C" >&6; }
12103 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
12104 { echo "$as_me:$LINENO: result: yes" >&5
12105 echo "${ECHO_T}yes" >&6; }
12108 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12109 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
12110 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12111 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12112 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
12114 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12115 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
12116 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12117 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12118 echo "${ECHO_T}$GTK_LIBS" >&6; }
12122 ## If we have a custom action on failure, don't print errors, but
12123 ## do set a variable so people can do so.
12124 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
12125 echo $GTK_PKG_ERRORS
12131 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12132 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12136 if test $succeeded = yes; then
12139 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4 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." >&5
12140 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4 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." >&2;}
12141 { (exit 1); exit 1; }; }
12145 if test "x${enable_gtk_cairo}" = xyes
; then
12149 if test -z "$PKG_CONFIG"; then
12150 # Extract the first word of "pkg-config", so it can be a program name with args.
12151 set dummy pkg-config
; ac_word
=$2
12152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12157 case $PKG_CONFIG in
12159 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12163 for as_dir
in $PATH
12166 test -z "$as_dir" && as_dir
=.
12167 for ac_exec_ext
in '' $ac_executable_extensions; do
12168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12169 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12177 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12181 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12182 if test -n "$PKG_CONFIG"; then
12183 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12184 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12186 { echo "$as_me:$LINENO: result: no" >&5
12187 echo "${ECHO_T}no" >&6; }
12193 if test "$PKG_CONFIG" = "no" ; then
12194 echo "*** The pkg-config script could not be found. Make sure it is"
12195 echo "*** in your path, or set the PKG_CONFIG environment variable"
12196 echo "*** to the full path to pkg-config."
12197 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12199 PKG_CONFIG_MIN_VERSION
=0.9.0
12200 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12201 { echo "$as_me:$LINENO: checking for cairo >= 0.5.0" >&5
12202 echo $ECHO_N "checking for cairo >= 0.5.0... $ECHO_C" >&6; }
12204 if $PKG_CONFIG --exists "cairo >= 0.5.0" ; then
12205 { echo "$as_me:$LINENO: result: yes" >&5
12206 echo "${ECHO_T}yes" >&6; }
12209 { echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
12210 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6; }
12211 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 0.5.0"`
12212 { echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
12213 echo "${ECHO_T}$CAIRO_CFLAGS" >&6; }
12215 { echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
12216 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6; }
12217 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo >= 0.5.0"`
12218 { echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
12219 echo "${ECHO_T}$CAIRO_LIBS" >&6; }
12223 ## If we have a custom action on failure, don't print errors, but
12224 ## do set a variable so people can do so.
12225 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 0.5.0"`
12226 echo $CAIRO_PKG_ERRORS
12232 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12233 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12237 if test $succeeded = yes; then
12240 { { echo "$as_me:$LINENO: error: Library requirements (cairo >= 0.5.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." >&5
12241 echo "$as_me: error: Library requirements (cairo >= 0.5.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." >&2;}
12242 { (exit 1); exit 1; }; }
12250 if test -z "$PKG_CONFIG"; then
12251 # Extract the first word of "pkg-config", so it can be a program name with args.
12252 set dummy pkg-config
; ac_word
=$2
12253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12255 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 case $PKG_CONFIG in
12260 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12264 for as_dir
in $PATH
12267 test -z "$as_dir" && as_dir
=.
12268 for ac_exec_ext
in '' $ac_executable_extensions; do
12269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12270 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12278 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12282 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12283 if test -n "$PKG_CONFIG"; then
12284 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12285 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12287 { echo "$as_me:$LINENO: result: no" >&5
12288 echo "${ECHO_T}no" >&6; }
12294 if test "$PKG_CONFIG" = "no" ; then
12295 echo "*** The pkg-config script could not be found. Make sure it is"
12296 echo "*** in your path, or set the PKG_CONFIG environment variable"
12297 echo "*** to the full path to pkg-config."
12298 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12300 PKG_CONFIG_MIN_VERSION
=0.9.0
12301 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12302 { echo "$as_me:$LINENO: checking for freetype2" >&5
12303 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6; }
12305 if $PKG_CONFIG --exists "freetype2" ; then
12306 { echo "$as_me:$LINENO: result: yes" >&5
12307 echo "${ECHO_T}yes" >&6; }
12310 { echo "$as_me:$LINENO: checking FREETYPE2_CFLAGS" >&5
12311 echo $ECHO_N "checking FREETYPE2_CFLAGS... $ECHO_C" >&6; }
12312 FREETYPE2_CFLAGS
=`$PKG_CONFIG --cflags "freetype2"`
12313 { echo "$as_me:$LINENO: result: $FREETYPE2_CFLAGS" >&5
12314 echo "${ECHO_T}$FREETYPE2_CFLAGS" >&6; }
12316 { echo "$as_me:$LINENO: checking FREETYPE2_LIBS" >&5
12317 echo $ECHO_N "checking FREETYPE2_LIBS... $ECHO_C" >&6; }
12318 FREETYPE2_LIBS
=`$PKG_CONFIG --libs "freetype2"`
12319 { echo "$as_me:$LINENO: result: $FREETYPE2_LIBS" >&5
12320 echo "${ECHO_T}$FREETYPE2_LIBS" >&6; }
12322 FREETYPE2_CFLAGS
=""
12324 ## If we have a custom action on failure, don't print errors, but
12325 ## do set a variable so people can do so.
12326 FREETYPE2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
12327 echo $FREETYPE2_PKG_ERRORS
12333 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12334 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12338 if test $succeeded = yes; then
12341 { { echo "$as_me:$LINENO: 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." >&5
12342 echo "$as_me: 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." >&2;}
12343 { (exit 1); exit 1; }; }
12349 if test -z "$PKG_CONFIG"; then
12350 # Extract the first word of "pkg-config", so it can be a program name with args.
12351 set dummy pkg-config
; ac_word
=$2
12352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 case $PKG_CONFIG in
12359 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12363 for as_dir
in $PATH
12366 test -z "$as_dir" && as_dir
=.
12367 for ac_exec_ext
in '' $ac_executable_extensions; do
12368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12369 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12377 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12381 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12382 if test -n "$PKG_CONFIG"; then
12383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12386 { echo "$as_me:$LINENO: result: no" >&5
12387 echo "${ECHO_T}no" >&6; }
12393 if test "$PKG_CONFIG" = "no" ; then
12394 echo "*** The pkg-config script could not be found. Make sure it is"
12395 echo "*** in your path, or set the PKG_CONFIG environment variable"
12396 echo "*** to the full path to pkg-config."
12397 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12399 PKG_CONFIG_MIN_VERSION
=0.9.0
12400 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12401 { echo "$as_me:$LINENO: checking for pangoft2" >&5
12402 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6; }
12404 if $PKG_CONFIG --exists "pangoft2" ; then
12405 { echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6; }
12409 { echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
12410 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6; }
12411 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12412 { echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
12413 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6; }
12415 { echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
12416 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6; }
12417 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12418 { echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
12419 echo "${ECHO_T}$PANGOFT2_LIBS" >&6; }
12423 ## If we have a custom action on failure, don't print errors, but
12424 ## do set a variable so people can do so.
12425 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12426 echo $PANGOFT2_PKG_ERRORS
12432 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12433 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12437 if test $succeeded = yes; then
12440 { { echo "$as_me:$LINENO: 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." >&5
12441 echo "$as_me: 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." >&2;}
12442 { (exit 1); exit 1; }; }
12456 if test "x${COMPILE_QT_PEER}" = xyes
; then
12460 if test -z "$PKG_CONFIG"; then
12461 # Extract the first word of "pkg-config", so it can be a program name with args.
12462 set dummy pkg-config
; ac_word
=$2
12463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12465 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 case $PKG_CONFIG in
12470 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12474 for as_dir
in $PATH
12477 test -z "$as_dir" && as_dir
=.
12478 for ac_exec_ext
in '' $ac_executable_extensions; do
12479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12480 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12488 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12492 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12493 if test -n "$PKG_CONFIG"; then
12494 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12495 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12497 { echo "$as_me:$LINENO: result: no" >&5
12498 echo "${ECHO_T}no" >&6; }
12504 if test "$PKG_CONFIG" = "no" ; then
12505 echo "*** The pkg-config script could not be found. Make sure it is"
12506 echo "*** in your path, or set the PKG_CONFIG environment variable"
12507 echo "*** to the full path to pkg-config."
12508 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12510 PKG_CONFIG_MIN_VERSION
=0.9.0
12511 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12512 { echo "$as_me:$LINENO: checking for QtCore QtGui >= 4.1.0" >&5
12513 echo $ECHO_N "checking for QtCore QtGui >= 4.1.0... $ECHO_C" >&6; }
12515 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
12516 { echo "$as_me:$LINENO: result: yes" >&5
12517 echo "${ECHO_T}yes" >&6; }
12520 { echo "$as_me:$LINENO: checking QT_CFLAGS" >&5
12521 echo $ECHO_N "checking QT_CFLAGS... $ECHO_C" >&6; }
12522 QT_CFLAGS
=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
12523 { echo "$as_me:$LINENO: result: $QT_CFLAGS" >&5
12524 echo "${ECHO_T}$QT_CFLAGS" >&6; }
12526 { echo "$as_me:$LINENO: checking QT_LIBS" >&5
12527 echo $ECHO_N "checking QT_LIBS... $ECHO_C" >&6; }
12528 QT_LIBS
=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
12529 { echo "$as_me:$LINENO: result: $QT_LIBS" >&5
12530 echo "${ECHO_T}$QT_LIBS" >&6; }
12534 ## If we have a custom action on failure, don't print errors, but
12535 ## do set a variable so people can do so.
12536 QT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
12543 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12544 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12548 if test $succeeded = yes; then
12554 if test "x$HAVE_QT4" = "xyes"; then
12555 QT_INCLUDE_DIR
=$
($PKG_CONFIG --variable=includedir QtGui
)
12556 EXTRA_QT_INCLUDE_DIR
="$QT_INCLUDE_DIR/Qt"
12557 as_ac_File
=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12558 { echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
12559 echo $ECHO_N "checking for $QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
12560 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 test "$cross_compiling" = yes &&
12564 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12565 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12566 { (exit 1); exit 1; }; }
12567 if test -r "$QT_INCLUDE_DIR/QWidget"; then
12568 eval "$as_ac_File=yes"
12570 eval "$as_ac_File=no"
12573 ac_res
=`eval echo '${'$as_ac_File'}'`
12574 { echo "$as_me:$LINENO: result: $ac_res" >&5
12575 echo "${ECHO_T}$ac_res" >&6; }
12576 if test `eval echo '${'$as_ac_File'}'` = yes; then
12577 { echo "$as_me:$LINENO: No extra QT_INCLUDE_DIR needed" >&5
12578 echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
12580 as_ac_File
=`echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
12581 { echo "$as_me:$LINENO: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
12582 echo $ECHO_N "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... $ECHO_C" >&6; }
12583 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 test "$cross_compiling" = yes &&
12587 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
12588 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
12589 { (exit 1); exit 1; }; }
12590 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
12591 eval "$as_ac_File=yes"
12593 eval "$as_ac_File=no"
12596 ac_res
=`eval echo '${'$as_ac_File'}'`
12597 { echo "$as_me:$LINENO: result: $ac_res" >&5
12598 echo "${ECHO_T}$ac_res" >&6; }
12599 if test `eval echo '${'$as_ac_File'}'` = yes; then
12600 QT_CFLAGS
="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
12602 { echo "$as_me:$LINENO: WARNING: QWidget not found" >&5
12603 echo "$as_me: WARNING: QWidget not found" >&2;}
12608 # Extract the first word of "moc", so it can be a program name with args.
12609 set dummy moc
; ac_word
=$2
12610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12612 if test "${ac_cv_prog_MOC+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 if test -n "$MOC"; then
12616 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12619 for as_dir
in $PATH
12622 test -z "$as_dir" && as_dir
=.
12623 for ac_exec_ext
in '' $ac_executable_extensions; do
12624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12625 ac_cv_prog_MOC
="moc"
12626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12635 MOC
=$ac_cv_prog_MOC
12636 if test -n "$MOC"; then
12637 { echo "$as_me:$LINENO: result: $MOC" >&5
12638 echo "${ECHO_T}$MOC" >&6; }
12640 { echo "$as_me:$LINENO: result: no" >&5
12641 echo "${ECHO_T}no" >&6; }
12646 if test "x$HAVE_QT4" = "xno"; then
12647 { echo "$as_me:$LINENO: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
12648 echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
12652 # Check whether --with-qt4dir was given.
12653 if test "${with_qt4dir+set}" = set; then
12654 withval
=$with_qt4dir; QT4DIR
=$withval
12658 if test x
"$QT4DIR" = x
; then
12659 { { echo "$as_me:$LINENO: error: *** No path for Qt4 --with-qt4dir option given" >&5
12660 echo "$as_me: error: *** No path for Qt4 --with-qt4dir option given" >&2;}
12661 { (exit 1); exit 1; }; }
12663 { echo "$as_me:$LINENO: result: QT4DIR... $QT4DIR" >&5
12664 echo "${ECHO_T}QT4DIR... $QT4DIR" >&6; }
12665 # Extract the first word of "moc", so it can be a program name with args.
12666 set dummy moc
; ac_word
=$2
12667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12669 if test "${ac_cv_prog_MOC+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 if test -n "$MOC"; then
12673 ac_cv_prog_MOC
="$MOC" # Let the user override the test.
12675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12676 for as_dir
in $QT4DIR/bin
12679 test -z "$as_dir" && as_dir
=.
12680 for ac_exec_ext
in '' $ac_executable_extensions; do
12681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12682 ac_cv_prog_MOC
="$QT4DIR/bin/moc"
12683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12692 MOC
=$ac_cv_prog_MOC
12693 if test -n "$MOC"; then
12694 { echo "$as_me:$LINENO: result: $MOC" >&5
12695 echo "${ECHO_T}$MOC" >&6; }
12697 { echo "$as_me:$LINENO: result: no" >&5
12698 echo "${ECHO_T}no" >&6; }
12702 if test x
"$MOC" = x
; then
12703 { { echo "$as_me:$LINENO: error: *** This is not the right Qt installation" >&5
12704 echo "$as_me: error: *** This is not the right Qt installation" >&2;}
12705 { (exit 1); exit 1; }; }
12707 QT_CFLAGS
="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
12708 QT_CFLAGS
="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
12709 QT_LIBS
="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
12710 QT_LIBS
="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
12713 { { echo "$as_me:$LINENO: error: *** Please check PKG_CONFIG_PATH or the version
12714 of your installed Qt4 installation." >&5
12715 echo "$as_me: error: *** Please check PKG_CONFIG_PATH or the version
12716 of your installed Qt4 installation." >&2;}
12717 { (exit 1); exit 1; }; }
12721 { echo "$as_me:$LINENO: Set QT_CFLAGS... $QT_CFLAGS" >&5
12722 echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
12730 # Check whether --with-javah was given.
12731 if test "${with_javah+set}" = set; then
12732 withval
=$with_javah;
12733 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
12735 if test "x${withval}" != x
; then
12736 if test -f "${withval}"; then
12737 USER_JAVAH
="${withval}"
12739 # Extract the first word of ""${withval}"", so it can be a program name with args.
12740 set dummy
"${withval}"; ac_word
=$2
12741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12743 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 case $USER_JAVAH in
12748 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12752 for as_dir
in $PATH
12755 test -z "$as_dir" && as_dir
=.
12756 for ac_exec_ext
in '' $ac_executable_extensions; do
12757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12758 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12769 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12770 if test -n "$USER_JAVAH"; then
12771 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12772 echo "${ECHO_T}$USER_JAVAH" >&6; }
12774 { echo "$as_me:$LINENO: result: no" >&5
12775 echo "${ECHO_T}no" >&6; }
12781 for javah_name
in gcjh javah
; do
12782 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12783 set dummy
"$javah_name"; ac_word
=$2
12784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12786 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 case $USER_JAVAH in
12791 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12795 for as_dir
in $PATH
12798 test -z "$as_dir" && as_dir
=.
12799 for ac_exec_ext
in '' $ac_executable_extensions; do
12800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12801 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12812 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12813 if test -n "$USER_JAVAH"; then
12814 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12815 echo "${ECHO_T}$USER_JAVAH" >&6; }
12817 { echo "$as_me:$LINENO: result: no" >&5
12818 echo "${ECHO_T}no" >&6; }
12822 if test "x${USER_JAVAH}" != x
; then
12828 # if test "x${USER_JAVAH}" = x; then
12829 # echo "configure: cannot find javah" 1>&2
12835 if test "x" != x
; then
12836 if test -f ""; then
12839 # Extract the first word of """", so it can be a program name with args.
12840 set dummy
""; ac_word
=$2
12841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12843 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12846 case $USER_JAVAH in
12848 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12852 for as_dir
in $PATH
12855 test -z "$as_dir" && as_dir
=.
12856 for ac_exec_ext
in '' $ac_executable_extensions; do
12857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12858 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12869 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12870 if test -n "$USER_JAVAH"; then
12871 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12872 echo "${ECHO_T}$USER_JAVAH" >&6; }
12874 { echo "$as_me:$LINENO: result: no" >&5
12875 echo "${ECHO_T}no" >&6; }
12881 for javah_name
in gcjh javah
; do
12882 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12883 set dummy
"$javah_name"; ac_word
=$2
12884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12886 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 case $USER_JAVAH in
12891 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12895 for as_dir
in $PATH
12898 test -z "$as_dir" && as_dir
=.
12899 for ac_exec_ext
in '' $ac_executable_extensions; do
12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12901 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12912 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12913 if test -n "$USER_JAVAH"; then
12914 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12915 echo "${ECHO_T}$USER_JAVAH" >&6; }
12917 { echo "$as_me:$LINENO: result: no" >&5
12918 echo "${ECHO_T}no" >&6; }
12922 if test "x${USER_JAVAH}" != x
; then
12928 # if test "x${USER_JAVAH}" = x; then
12929 # echo "configure: cannot find javah" 1>&2
12938 if test "x" != x
; then
12939 if test -f ""; then
12942 # Extract the first word of """", so it can be a program name with args.
12943 set dummy
""; ac_word
=$2
12944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12946 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 case $USER_JAVAH in
12951 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12955 for as_dir
in $PATH
12958 test -z "$as_dir" && as_dir
=.
12959 for ac_exec_ext
in '' $ac_executable_extensions; do
12960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12961 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
12962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12972 USER_JAVAH
=$ac_cv_path_USER_JAVAH
12973 if test -n "$USER_JAVAH"; then
12974 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
12975 echo "${ECHO_T}$USER_JAVAH" >&6; }
12977 { echo "$as_me:$LINENO: result: no" >&5
12978 echo "${ECHO_T}no" >&6; }
12984 for javah_name
in gcjh javah
; do
12985 # Extract the first word of ""$javah_name"", so it can be a program name with args.
12986 set dummy
"$javah_name"; ac_word
=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_path_USER_JAVAH+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 case $USER_JAVAH in
12994 ac_cv_path_USER_JAVAH
="$USER_JAVAH" # Let the user override the test with a path.
12997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12998 for as_dir
in $PATH
13001 test -z "$as_dir" && as_dir
=.
13002 for ac_exec_ext
in '' $ac_executable_extensions; do
13003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13004 ac_cv_path_USER_JAVAH
="$as_dir/$ac_word$ac_exec_ext"
13005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13015 USER_JAVAH
=$ac_cv_path_USER_JAVAH
13016 if test -n "$USER_JAVAH"; then
13017 { echo "$as_me:$LINENO: result: $USER_JAVAH" >&5
13018 echo "${ECHO_T}$USER_JAVAH" >&6; }
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13025 if test "x${USER_JAVAH}" != x
; then
13031 # if test "x${USER_JAVAH}" = x; then
13032 # echo "configure: cannot find javah" 1>&2
13041 if test "x${USER_JAVAH}" != x
; then
13042 USER_SPECIFIED_JAVAH_TRUE
=
13043 USER_SPECIFIED_JAVAH_FALSE
='#'
13045 USER_SPECIFIED_JAVAH_TRUE
='#'
13046 USER_SPECIFIED_JAVAH_FALSE
=
13052 CLASSPATH_INCLUDES
="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/target/Linux -I\$(top_srcdir)/native/target/generic"
13055 if test "x${COMPILE_JNI}" = xyes
; then
13056 { echo "$as_me:$LINENO: checking jni_md.h support" >&5
13057 echo $ECHO_N "checking jni_md.h support... $ECHO_C" >&6; }
13058 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h
; then
13059 { echo "$as_me:$LINENO: result: yes" >&5
13060 echo "${ECHO_T}yes" >&6; }
13063 target_os
=linux-gnu
13064 { echo "$as_me:$LINENO: WARNING: no" >&5
13065 echo "$as_me: WARNING: no" >&2;}
13067 ac_sources
="include/jni_md-${target_cpu}-${target_os}.h"
13068 ac_dests
="include/jni_md.h"
13069 while test -n "$ac_sources"; do
13070 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
13071 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
13072 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
13074 ac_config_links
="$ac_config_links $ac_config_links_1"
13079 user_specified_javac
=
13083 # Check whether --with-gcj was given.
13084 if test "${with_gcj+set}" = set; then
13086 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13088 if test "x${withval}" != x
; then
13089 if test -f "${withval}"; then
13092 # Extract the first word of ""${withval}"", so it can be a program name with args.
13093 set dummy
"${withval}"; ac_word
=$2
13094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13096 if test "${ac_cv_path_GCJ+set}" = set; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13105 for as_dir
in $PATH
13108 test -z "$as_dir" && as_dir
=.
13109 for ac_exec_ext
in '' $ac_executable_extensions; do
13110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13111 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13122 GCJ
=$ac_cv_path_GCJ
13123 if test -n "$GCJ"; then
13124 { echo "$as_me:$LINENO: result: $GCJ" >&5
13125 echo "${ECHO_T}$GCJ" >&6; }
13127 { echo "$as_me:$LINENO: result: no" >&5
13128 echo "${ECHO_T}no" >&6; }
13134 # Extract the first word of ""gcj"", so it can be a program name with args.
13135 set dummy
"gcj"; ac_word
=$2
13136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13138 if test "${ac_cv_path_GCJ+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13147 for as_dir
in $PATH
13150 test -z "$as_dir" && as_dir
=.
13151 for ac_exec_ext
in '' $ac_executable_extensions; do
13152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13153 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 GCJ
=$ac_cv_path_GCJ
13165 if test -n "$GCJ"; then
13166 { echo "$as_me:$LINENO: result: $GCJ" >&5
13167 echo "${ECHO_T}$GCJ" >&6; }
13169 { echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6; }
13175 if test "x$GCJ" != x
; then
13176 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13177 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13179 ac_cpp
='$CPP $CPPFLAGS'
13180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13184 cat >conftest.
$ac_ext <<_ACEOF
13186 #error GCJ 4.0.0 or higher is required
13190 $GCJ -E conftest.c
> /dev
/null
13192 if test "x$gcj_4_result" = "x0"; then
13193 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13194 echo "${ECHO_T}4.0 or higher found" >&6; }
13196 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13197 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13200 ac_cpp
='$CPP $CPPFLAGS'
13201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13208 if test "x${withval}" != xno
; then
13210 if test "x" != x
; then
13211 if test -f ""; then
13214 # Extract the first word of """", so it can be a program name with args.
13215 set dummy
""; ac_word
=$2
13216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13218 if test "${ac_cv_path_GCJ+set}" = set; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13227 for as_dir
in $PATH
13230 test -z "$as_dir" && as_dir
=.
13231 for ac_exec_ext
in '' $ac_executable_extensions; do
13232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13233 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13244 GCJ
=$ac_cv_path_GCJ
13245 if test -n "$GCJ"; then
13246 { echo "$as_me:$LINENO: result: $GCJ" >&5
13247 echo "${ECHO_T}$GCJ" >&6; }
13249 { echo "$as_me:$LINENO: result: no" >&5
13250 echo "${ECHO_T}no" >&6; }
13256 # Extract the first word of ""gcj"", so it can be a program name with args.
13257 set dummy
"gcj"; ac_word
=$2
13258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13260 if test "${ac_cv_path_GCJ+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13269 for as_dir
in $PATH
13272 test -z "$as_dir" && as_dir
=.
13273 for ac_exec_ext
in '' $ac_executable_extensions; do
13274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13275 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13286 GCJ
=$ac_cv_path_GCJ
13287 if test -n "$GCJ"; then
13288 { echo "$as_me:$LINENO: result: $GCJ" >&5
13289 echo "${ECHO_T}$GCJ" >&6; }
13291 { echo "$as_me:$LINENO: result: no" >&5
13292 echo "${ECHO_T}no" >&6; }
13297 if test "x$GCJ" != x
; then
13298 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13299 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13301 ac_cpp
='$CPP $CPPFLAGS'
13302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13306 cat >conftest.
$ac_ext <<_ACEOF
13308 #error GCJ 4.0.0 or higher is required
13312 $GCJ -E conftest.c
> /dev
/null
13314 if test "x$gcj_4_result" = "x0"; then
13315 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13316 echo "${ECHO_T}4.0 or higher found" >&6; }
13318 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13319 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13322 ac_cpp
='$CPP $CPPFLAGS'
13323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13331 user_specified_javac
=gcj
13336 if test "x" != x
; then
13337 if test -f ""; then
13340 # Extract the first word of """", so it can be a program name with args.
13341 set dummy
""; ac_word
=$2
13342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13344 if test "${ac_cv_path_GCJ+set}" = set; then
13345 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13353 for as_dir
in $PATH
13356 test -z "$as_dir" && as_dir
=.
13357 for ac_exec_ext
in '' $ac_executable_extensions; do
13358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13359 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 GCJ
=$ac_cv_path_GCJ
13371 if test -n "$GCJ"; then
13372 { echo "$as_me:$LINENO: result: $GCJ" >&5
13373 echo "${ECHO_T}$GCJ" >&6; }
13375 { echo "$as_me:$LINENO: result: no" >&5
13376 echo "${ECHO_T}no" >&6; }
13382 # Extract the first word of ""gcj"", so it can be a program name with args.
13383 set dummy
"gcj"; ac_word
=$2
13384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13386 if test "${ac_cv_path_GCJ+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13391 ac_cv_path_GCJ
="$GCJ" # Let the user override the test with a path.
13394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13395 for as_dir
in $PATH
13398 test -z "$as_dir" && as_dir
=.
13399 for ac_exec_ext
in '' $ac_executable_extensions; do
13400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13401 ac_cv_path_GCJ
="$as_dir/$ac_word$ac_exec_ext"
13402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13412 GCJ
=$ac_cv_path_GCJ
13413 if test -n "$GCJ"; then
13414 { echo "$as_me:$LINENO: result: $GCJ" >&5
13415 echo "${ECHO_T}$GCJ" >&6; }
13417 { echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6; }
13423 if test "x$GCJ" != x
; then
13424 { echo "$as_me:$LINENO: checking gcj version 4.0" >&5
13425 echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6; }
13427 ac_cpp
='$CPP $CPPFLAGS'
13428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13432 cat >conftest.
$ac_ext <<_ACEOF
13434 #error GCJ 4.0.0 or higher is required
13438 $GCJ -E conftest.c
> /dev
/null
13440 if test "x$gcj_4_result" = "x0"; then
13441 { echo "$as_me:$LINENO: result: 4.0 or higher found" >&5
13442 echo "${ECHO_T}4.0 or higher found" >&6; }
13444 { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5
13445 echo "$as_me: WARNING: 4.0 or higher required" >&2;}
13448 ac_cpp
='$CPP $CPPFLAGS'
13449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13462 # Check whether --with-jikes was given.
13463 if test "${with_jikes+set}" = set; then
13464 withval
=$with_jikes;
13465 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13467 if test "x${withval}" != x
; then
13468 if test -f "${withval}"; then
13471 # Extract the first word of ""${withval}"", so it can be a program name with args.
13472 set dummy
"${withval}"; ac_word
=$2
13473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13475 if test "${ac_cv_path_JIKES+set}" = set; then
13476 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13484 for as_dir
in $PATH
13487 test -z "$as_dir" && as_dir
=.
13488 for ac_exec_ext
in '' $ac_executable_extensions; do
13489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13490 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13501 JIKES
=$ac_cv_path_JIKES
13502 if test -n "$JIKES"; then
13503 { echo "$as_me:$LINENO: result: $JIKES" >&5
13504 echo "${ECHO_T}$JIKES" >&6; }
13506 { echo "$as_me:$LINENO: result: no" >&5
13507 echo "${ECHO_T}no" >&6; }
13513 # Extract the first word of ""jikes"", so it can be a program name with args.
13514 set dummy
"jikes"; ac_word
=$2
13515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13517 if test "${ac_cv_path_JIKES+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13526 for as_dir
in $PATH
13529 test -z "$as_dir" && as_dir
=.
13530 for ac_exec_ext
in '' $ac_executable_extensions; do
13531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13532 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13543 JIKES
=$ac_cv_path_JIKES
13544 if test -n "$JIKES"; then
13545 { echo "$as_me:$LINENO: result: $JIKES" >&5
13546 echo "${ECHO_T}$JIKES" >&6; }
13548 { echo "$as_me:$LINENO: result: no" >&5
13549 echo "${ECHO_T}no" >&6; }
13554 if test "x$JIKES" != "x"; then
13555 { echo "$as_me:$LINENO: checking jikes version" >&5
13556 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13557 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13558 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13559 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13560 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13561 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13565 if test "x$JIKES" != "x"; then
13566 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13567 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13569 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13570 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13574 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13575 JIKESENCODING
='-encoding UTF-8'
13579 JIKESWARNINGS
="+Pno-switchcheck"
13580 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13581 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13582 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13590 if test "x${withval}" != xno
; then
13592 if test "x" != x
; then
13593 if test -f ""; then
13596 # Extract the first word of """", so it can be a program name with args.
13597 set dummy
""; ac_word
=$2
13598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13600 if test "${ac_cv_path_JIKES+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13609 for as_dir
in $PATH
13612 test -z "$as_dir" && as_dir
=.
13613 for ac_exec_ext
in '' $ac_executable_extensions; do
13614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13615 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13626 JIKES
=$ac_cv_path_JIKES
13627 if test -n "$JIKES"; then
13628 { echo "$as_me:$LINENO: result: $JIKES" >&5
13629 echo "${ECHO_T}$JIKES" >&6; }
13631 { echo "$as_me:$LINENO: result: no" >&5
13632 echo "${ECHO_T}no" >&6; }
13638 # Extract the first word of ""jikes"", so it can be a program name with args.
13639 set dummy
"jikes"; ac_word
=$2
13640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13642 if test "${ac_cv_path_JIKES+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13651 for as_dir
in $PATH
13654 test -z "$as_dir" && as_dir
=.
13655 for ac_exec_ext
in '' $ac_executable_extensions; do
13656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13657 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13668 JIKES
=$ac_cv_path_JIKES
13669 if test -n "$JIKES"; then
13670 { echo "$as_me:$LINENO: result: $JIKES" >&5
13671 echo "${ECHO_T}$JIKES" >&6; }
13673 { echo "$as_me:$LINENO: result: no" >&5
13674 echo "${ECHO_T}no" >&6; }
13679 if test "x$JIKES" != "x"; then
13680 { echo "$as_me:$LINENO: checking jikes version" >&5
13681 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13682 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13683 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13684 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13685 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13686 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13690 if test "x$JIKES" != "x"; then
13691 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13692 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13694 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13695 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13699 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13700 JIKESENCODING
='-encoding UTF-8'
13704 JIKESWARNINGS
="+Pno-switchcheck"
13705 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13706 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13707 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13716 user_specified_javac
=jikes
13721 if test "x" != x
; then
13722 if test -f ""; then
13725 # Extract the first word of """", so it can be a program name with args.
13726 set dummy
""; ac_word
=$2
13727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13729 if test "${ac_cv_path_JIKES+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13738 for as_dir
in $PATH
13741 test -z "$as_dir" && as_dir
=.
13742 for ac_exec_ext
in '' $ac_executable_extensions; do
13743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13744 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13755 JIKES
=$ac_cv_path_JIKES
13756 if test -n "$JIKES"; then
13757 { echo "$as_me:$LINENO: result: $JIKES" >&5
13758 echo "${ECHO_T}$JIKES" >&6; }
13760 { echo "$as_me:$LINENO: result: no" >&5
13761 echo "${ECHO_T}no" >&6; }
13767 # Extract the first word of ""jikes"", so it can be a program name with args.
13768 set dummy
"jikes"; ac_word
=$2
13769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13771 if test "${ac_cv_path_JIKES+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 ac_cv_path_JIKES
="$JIKES" # Let the user override the test with a path.
13779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13780 for as_dir
in $PATH
13783 test -z "$as_dir" && as_dir
=.
13784 for ac_exec_ext
in '' $ac_executable_extensions; do
13785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13786 ac_cv_path_JIKES
="$as_dir/$ac_word$ac_exec_ext"
13787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13797 JIKES
=$ac_cv_path_JIKES
13798 if test -n "$JIKES"; then
13799 { echo "$as_me:$LINENO: result: $JIKES" >&5
13800 echo "${ECHO_T}$JIKES" >&6; }
13802 { echo "$as_me:$LINENO: result: no" >&5
13803 echo "${ECHO_T}no" >&6; }
13808 if test "x$JIKES" != "x"; then
13809 { echo "$as_me:$LINENO: checking jikes version" >&5
13810 echo $ECHO_N "checking jikes version... $ECHO_C" >&6; }
13811 JIKES_VERSION
=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5`
13812 JIKES_VERSION_MAJOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 1`
13813 JIKES_VERSION_MINOR
=`echo "$JIKES_VERSION" | cut -d '.' -f 2`
13814 if expr "$JIKES_VERSION_MAJOR" = 1 > /dev
/null
; then
13815 if expr "$JIKES_VERSION_MINOR" \
< 19 > /dev
/null
; then
13819 if test "x$JIKES" != "x"; then
13820 { echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5
13821 echo "${ECHO_T}$JIKES_VERSION" >&6; }
13823 { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5
13824 echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;}
13828 if test -n "`$JIKES --help 2>&1 | grep encoding`"; then
13829 JIKESENCODING
='-encoding UTF-8'
13833 JIKESWARNINGS
="+Pno-switchcheck"
13834 if test "x$JIKES_VERSION_MAJOR" = x
"1" ; then
13835 if ! test "x$JIKES_VERSION_MINOR" = x
"19"; then
13836 JIKESWARNINGS
="$JIKESWARNINGS +Pno-shadow"
13850 # Check whether --with-kjc was given.
13851 if test "${with_kjc+set}" = set; then
13853 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
13855 if test "x${withval}" != x
; then
13856 if test -f "${withval}"; then
13859 # Extract the first word of ""${withval}"", so it can be a program name with args.
13860 set dummy
"${withval}"; ac_word
=$2
13861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13863 if test "${ac_cv_path_KJC+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13868 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13872 for as_dir
in $PATH
13875 test -z "$as_dir" && as_dir
=.
13876 for ac_exec_ext
in '' $ac_executable_extensions; do
13877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13878 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13889 KJC
=$ac_cv_path_KJC
13890 if test -n "$KJC"; then
13891 { echo "$as_me:$LINENO: result: $KJC" >&5
13892 echo "${ECHO_T}$KJC" >&6; }
13894 { echo "$as_me:$LINENO: result: no" >&5
13895 echo "${ECHO_T}no" >&6; }
13901 # Extract the first word of ""kJC"", so it can be a program name with args.
13902 set dummy
"kJC"; ac_word
=$2
13903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13905 if test "${ac_cv_path_KJC+set}" = set; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13914 for as_dir
in $PATH
13917 test -z "$as_dir" && as_dir
=.
13918 for ac_exec_ext
in '' $ac_executable_extensions; do
13919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13920 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 KJC
=$ac_cv_path_KJC
13932 if test -n "$KJC"; then
13933 { echo "$as_me:$LINENO: result: $KJC" >&5
13934 echo "${ECHO_T}$KJC" >&6; }
13936 { echo "$as_me:$LINENO: result: no" >&5
13937 echo "${ECHO_T}no" >&6; }
13944 if test "x${withval}" != xno
; then
13946 if test "x" != x
; then
13947 if test -f ""; then
13950 # Extract the first word of """", so it can be a program name with args.
13951 set dummy
""; ac_word
=$2
13952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13954 if test "${ac_cv_path_KJC+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
13962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13963 for as_dir
in $PATH
13966 test -z "$as_dir" && as_dir
=.
13967 for ac_exec_ext
in '' $ac_executable_extensions; do
13968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13969 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
13970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13980 KJC
=$ac_cv_path_KJC
13981 if test -n "$KJC"; then
13982 { echo "$as_me:$LINENO: result: $KJC" >&5
13983 echo "${ECHO_T}$KJC" >&6; }
13985 { echo "$as_me:$LINENO: result: no" >&5
13986 echo "${ECHO_T}no" >&6; }
13992 # Extract the first word of ""kJC"", so it can be a program name with args.
13993 set dummy
"kJC"; ac_word
=$2
13994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13996 if test "${ac_cv_path_KJC+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14005 for as_dir
in $PATH
14008 test -z "$as_dir" && as_dir
=.
14009 for ac_exec_ext
in '' $ac_executable_extensions; do
14010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14011 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14022 KJC
=$ac_cv_path_KJC
14023 if test -n "$KJC"; then
14024 { echo "$as_me:$LINENO: result: $KJC" >&5
14025 echo "${ECHO_T}$KJC" >&6; }
14027 { echo "$as_me:$LINENO: result: no" >&5
14028 echo "${ECHO_T}no" >&6; }
14036 user_specified_javac
=kjc
14041 if test "x" != x
; then
14042 if test -f ""; then
14045 # Extract the first word of """", so it can be a program name with args.
14046 set dummy
""; ac_word
=$2
14047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14049 if test "${ac_cv_path_KJC+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14058 for as_dir
in $PATH
14061 test -z "$as_dir" && as_dir
=.
14062 for ac_exec_ext
in '' $ac_executable_extensions; do
14063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14064 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14075 KJC
=$ac_cv_path_KJC
14076 if test -n "$KJC"; then
14077 { echo "$as_me:$LINENO: result: $KJC" >&5
14078 echo "${ECHO_T}$KJC" >&6; }
14080 { echo "$as_me:$LINENO: result: no" >&5
14081 echo "${ECHO_T}no" >&6; }
14087 # Extract the first word of ""kJC"", so it can be a program name with args.
14088 set dummy
"kJC"; ac_word
=$2
14089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14091 if test "${ac_cv_path_KJC+set}" = set; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 ac_cv_path_KJC
="$KJC" # Let the user override the test with a path.
14099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14100 for as_dir
in $PATH
14103 test -z "$as_dir" && as_dir
=.
14104 for ac_exec_ext
in '' $ac_executable_extensions; do
14105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14106 ac_cv_path_KJC
="$as_dir/$ac_word$ac_exec_ext"
14107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14117 KJC
=$ac_cv_path_KJC
14118 if test -n "$KJC"; then
14119 { echo "$as_me:$LINENO: result: $KJC" >&5
14120 echo "${ECHO_T}$KJC" >&6; }
14122 { echo "$as_me:$LINENO: result: no" >&5
14123 echo "${ECHO_T}no" >&6; }
14136 # Check whether --with-gcjx was given.
14137 if test "${with_gcjx+set}" = set; then
14138 withval
=$with_gcjx;
14139 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14141 if test "x${withval}" != x
; then
14142 if test -f "${withval}"; then
14145 # Extract the first word of ""${withval}"", so it can be a program name with args.
14146 set dummy
"${withval}"; ac_word
=$2
14147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14149 if test "${ac_cv_path_GCJX+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14158 for as_dir
in $PATH
14161 test -z "$as_dir" && as_dir
=.
14162 for ac_exec_ext
in '' $ac_executable_extensions; do
14163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14164 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14175 GCJX
=$ac_cv_path_GCJX
14176 if test -n "$GCJX"; then
14177 { echo "$as_me:$LINENO: result: $GCJX" >&5
14178 echo "${ECHO_T}$GCJX" >&6; }
14180 { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14187 # Extract the first word of ""gcjx"", so it can be a program name with args.
14188 set dummy
"gcjx"; ac_word
=$2
14189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14191 if test "${ac_cv_path_GCJX+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14200 for as_dir
in $PATH
14203 test -z "$as_dir" && as_dir
=.
14204 for ac_exec_ext
in '' $ac_executable_extensions; do
14205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14206 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14217 GCJX
=$ac_cv_path_GCJX
14218 if test -n "$GCJX"; then
14219 { echo "$as_me:$LINENO: result: $GCJX" >&5
14220 echo "${ECHO_T}$GCJX" >&6; }
14222 { echo "$as_me:$LINENO: result: no" >&5
14223 echo "${ECHO_T}no" >&6; }
14230 if test "x${withval}" != xno
; then
14232 if test "x" != x
; then
14233 if test -f ""; then
14236 # Extract the first word of """", so it can be a program name with args.
14237 set dummy
""; ac_word
=$2
14238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14240 if test "${ac_cv_path_GCJX+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14249 for as_dir
in $PATH
14252 test -z "$as_dir" && as_dir
=.
14253 for ac_exec_ext
in '' $ac_executable_extensions; do
14254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14255 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14266 GCJX
=$ac_cv_path_GCJX
14267 if test -n "$GCJX"; then
14268 { echo "$as_me:$LINENO: result: $GCJX" >&5
14269 echo "${ECHO_T}$GCJX" >&6; }
14271 { echo "$as_me:$LINENO: result: no" >&5
14272 echo "${ECHO_T}no" >&6; }
14278 # Extract the first word of ""gcjx"", so it can be a program name with args.
14279 set dummy
"gcjx"; ac_word
=$2
14280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14282 if test "${ac_cv_path_GCJX+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14291 for as_dir
in $PATH
14294 test -z "$as_dir" && as_dir
=.
14295 for ac_exec_ext
in '' $ac_executable_extensions; do
14296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14297 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14308 GCJX
=$ac_cv_path_GCJX
14309 if test -n "$GCJX"; then
14310 { echo "$as_me:$LINENO: result: $GCJX" >&5
14311 echo "${ECHO_T}$GCJX" >&6; }
14313 { echo "$as_me:$LINENO: result: no" >&5
14314 echo "${ECHO_T}no" >&6; }
14322 user_specified_javac
=gcjx
14327 if test "x" != x
; then
14328 if test -f ""; then
14331 # Extract the first word of """", so it can be a program name with args.
14332 set dummy
""; ac_word
=$2
14333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14335 if test "${ac_cv_path_GCJX+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14344 for as_dir
in $PATH
14347 test -z "$as_dir" && as_dir
=.
14348 for ac_exec_ext
in '' $ac_executable_extensions; do
14349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14350 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14361 GCJX
=$ac_cv_path_GCJX
14362 if test -n "$GCJX"; then
14363 { echo "$as_me:$LINENO: result: $GCJX" >&5
14364 echo "${ECHO_T}$GCJX" >&6; }
14366 { echo "$as_me:$LINENO: result: no" >&5
14367 echo "${ECHO_T}no" >&6; }
14373 # Extract the first word of ""gcjx"", so it can be a program name with args.
14374 set dummy
"gcjx"; ac_word
=$2
14375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14377 if test "${ac_cv_path_GCJX+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14382 ac_cv_path_GCJX
="$GCJX" # Let the user override the test with a path.
14385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14386 for as_dir
in $PATH
14389 test -z "$as_dir" && as_dir
=.
14390 for ac_exec_ext
in '' $ac_executable_extensions; do
14391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14392 ac_cv_path_GCJX
="$as_dir/$ac_word$ac_exec_ext"
14393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14403 GCJX
=$ac_cv_path_GCJX
14404 if test -n "$GCJX"; then
14405 { echo "$as_me:$LINENO: result: $GCJX" >&5
14406 echo "${ECHO_T}$GCJX" >&6; }
14408 { echo "$as_me:$LINENO: result: no" >&5
14409 echo "${ECHO_T}no" >&6; }
14422 # Check whether --with-ecj was given.
14423 if test "${with_ecj+set}" = set; then
14425 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno
; then
14427 if test "x${withval}" != x
; then
14428 if test -f "${withval}"; then
14431 # Extract the first word of ""${withval}"", so it can be a program name with args.
14432 set dummy
"${withval}"; ac_word
=$2
14433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14435 if test "${ac_cv_path_ECJ+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14444 for as_dir
in $PATH
14447 test -z "$as_dir" && as_dir
=.
14448 for ac_exec_ext
in '' $ac_executable_extensions; do
14449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14450 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14461 ECJ
=$ac_cv_path_ECJ
14462 if test -n "$ECJ"; then
14463 { echo "$as_me:$LINENO: result: $ECJ" >&5
14464 echo "${ECHO_T}$ECJ" >&6; }
14466 { echo "$as_me:$LINENO: result: no" >&5
14467 echo "${ECHO_T}no" >&6; }
14473 # Extract the first word of ""ecj"", so it can be a program name with args.
14474 set dummy
"ecj"; ac_word
=$2
14475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14477 if test "${ac_cv_path_ECJ+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14486 for as_dir
in $PATH
14489 test -z "$as_dir" && as_dir
=.
14490 for ac_exec_ext
in '' $ac_executable_extensions; do
14491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14492 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14503 ECJ
=$ac_cv_path_ECJ
14504 if test -n "$ECJ"; then
14505 { echo "$as_me:$LINENO: result: $ECJ" >&5
14506 echo "${ECHO_T}$ECJ" >&6; }
14508 { echo "$as_me:$LINENO: result: no" >&5
14509 echo "${ECHO_T}no" >&6; }
14516 if test "x${withval}" != xno
; then
14518 if test "x" != x
; then
14519 if test -f ""; then
14522 # Extract the first word of """", so it can be a program name with args.
14523 set dummy
""; ac_word
=$2
14524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14526 if test "${ac_cv_path_ECJ+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14535 for as_dir
in $PATH
14538 test -z "$as_dir" && as_dir
=.
14539 for ac_exec_ext
in '' $ac_executable_extensions; do
14540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14541 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14552 ECJ
=$ac_cv_path_ECJ
14553 if test -n "$ECJ"; then
14554 { echo "$as_me:$LINENO: result: $ECJ" >&5
14555 echo "${ECHO_T}$ECJ" >&6; }
14557 { echo "$as_me:$LINENO: result: no" >&5
14558 echo "${ECHO_T}no" >&6; }
14564 # Extract the first word of ""ecj"", so it can be a program name with args.
14565 set dummy
"ecj"; ac_word
=$2
14566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14568 if test "${ac_cv_path_ECJ+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14577 for as_dir
in $PATH
14580 test -z "$as_dir" && as_dir
=.
14581 for ac_exec_ext
in '' $ac_executable_extensions; do
14582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14583 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14594 ECJ
=$ac_cv_path_ECJ
14595 if test -n "$ECJ"; then
14596 { echo "$as_me:$LINENO: result: $ECJ" >&5
14597 echo "${ECHO_T}$ECJ" >&6; }
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14608 user_specified_javac
=ecj
14613 if test "x" != x
; then
14614 if test -f ""; then
14617 # Extract the first word of """", so it can be a program name with args.
14618 set dummy
""; ac_word
=$2
14619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14621 if test "${ac_cv_path_ECJ+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14630 for as_dir
in $PATH
14633 test -z "$as_dir" && as_dir
=.
14634 for ac_exec_ext
in '' $ac_executable_extensions; do
14635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14636 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14647 ECJ
=$ac_cv_path_ECJ
14648 if test -n "$ECJ"; then
14649 { echo "$as_me:$LINENO: result: $ECJ" >&5
14650 echo "${ECHO_T}$ECJ" >&6; }
14652 { echo "$as_me:$LINENO: result: no" >&5
14653 echo "${ECHO_T}no" >&6; }
14659 # Extract the first word of ""ecj"", so it can be a program name with args.
14660 set dummy
"ecj"; ac_word
=$2
14661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14663 if test "${ac_cv_path_ECJ+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 ac_cv_path_ECJ
="$ECJ" # Let the user override the test with a path.
14671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14672 for as_dir
in $PATH
14675 test -z "$as_dir" && as_dir
=.
14676 for ac_exec_ext
in '' $ac_executable_extensions; do
14677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14678 ac_cv_path_ECJ
="$as_dir/$ac_word$ac_exec_ext"
14679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14689 ECJ
=$ac_cv_path_ECJ
14690 if test -n "$ECJ"; then
14691 { echo "$as_me:$LINENO: result: $ECJ" >&5
14692 echo "${ECHO_T}$ECJ" >&6; }
14694 { echo "$as_me:$LINENO: result: no" >&5
14695 echo "${ECHO_T}no" >&6; }
14707 if test "x${user_specified_javac}" = x
; then
14710 if test "x${GCJ}" != x
; then
14712 FOUND_GCJ_FALSE
='#'
14720 if test "x${JIKES}" != x
; then
14722 FOUND_JIKES_FALSE
='#'
14724 FOUND_JIKES_TRUE
='#'
14730 if test "x${ECJ}" != x
; then
14732 FOUND_ECJ_FALSE
='#'
14741 if test "x${user_specified_javac}" = xgcj
; then
14743 FOUND_GCJ_FALSE
='#'
14751 if test "x${user_specified_javac}" = xjikes
; then
14753 FOUND_JIKES_FALSE
='#'
14755 FOUND_JIKES_TRUE
='#'
14761 if test "x${user_specified_javac}" = xecj
; then
14763 FOUND_ECJ_FALSE
='#'
14772 if test "x${user_specified_javac}" = xkjc
; then
14774 FOUND_KJC_FALSE
='#'
14782 if test "x${user_specified_javac}" = xgcjx
; then
14784 FOUND_GCJX_FALSE
='#'
14786 FOUND_GCJX_TRUE
='#'
14791 if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj
; then
14792 { { echo "$as_me:$LINENO: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&5
14793 echo "$as_me: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" >&2;}
14794 { (exit 1); exit 1; }; }
14800 # Check whether --with-classpath was given.
14801 if test "${with_classpath+set}" = set; then
14802 withval
=$with_classpath;
14803 if test "x${withval}" = xyes
; then
14804 # set user classpath to CLASSPATH from env
14805 { echo "$as_me:$LINENO: checking for classlib" >&5
14806 echo $ECHO_N "checking for classlib... $ECHO_C" >&6; }
14807 USER_CLASSLIB
=${CLASSPATH}
14809 { echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5
14810 echo "${ECHO_T}${USER_CLASSLIB}" >&6; }
14811 conditional_with_classlib=true
14812 elif test "x
${withval}" != x && test "x
${withval}" != xno; then
14813 # set user classpath to specified value
14814 { echo "$as_me:$LINENO: checking
for classlib
" >&5
14815 echo $ECHO_N "checking
for classlib...
$ECHO_C" >&6; }
14816 USER_CLASSLIB=${withval}
14818 { echo "$as_me:$LINENO: result
: ${withval}" >&5
14819 echo "${ECHO_T}${withval}" >&6; }
14820 conditional_with_classlib
=true
14824 conditional_with_classlib
=false
14829 if test "x${conditional_with_classlib}" = xtrue
; then
14830 USER_SPECIFIED_CLASSLIB_TRUE
=
14831 USER_SPECIFIED_CLASSLIB_FALSE
='#'
14833 USER_SPECIFIED_CLASSLIB_TRUE
='#'
14834 USER_SPECIFIED_CLASSLIB_FALSE
=
14839 # Check whether --with-vm-classes was given.
14840 if test "${with_vm_classes+set}" = set; then
14841 withval
=$with_vm_classes; vm_classes
="$with_vm_classes"
14843 vm_classes
='${top_srcdir}/vm/reference'
14849 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
14850 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
14851 # Check whether --enable-maintainer-mode was given.
14852 if test "${enable_maintainer_mode+set}" = set; then
14853 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
14855 USE_MAINTAINER_MODE
=no
14858 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
14859 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
14862 if test $USE_MAINTAINER_MODE = yes; then
14863 MAINTAINER_MODE_TRUE
=
14864 MAINTAINER_MODE_FALSE
='#'
14866 MAINTAINER_MODE_TRUE
='#'
14867 MAINTAINER_MODE_FALSE
=
14870 MAINT
=$MAINTAINER_MODE_TRUE
14874 # Check whether --enable-debug was given.
14875 if test "${enable_debug+set}" = set; then
14876 enableval
=$enable_debug; case "${enableval}" in
14880 cat >>confdefs.h
<<\_ACEOF
14885 no
) LIBDEBUG
="false" ;;
14886 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
14887 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
14888 { (exit 1); exit 1; }; } ;;
14896 # Check whether --enable-load-library was given.
14897 if test "${enable_load_library+set}" = set; then
14898 enableval
=$enable_load_library; case "${enableval}" in
14899 yes) INIT_LOAD_LIBRARY
="true" ;;
14900 no
) INIT_LOAD_LIBRARY
="false" ;;
14901 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5
14902 echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;}
14903 { (exit 1); exit 1; }; } ;;
14906 INIT_LOAD_LIBRARY
="true"
14912 # Check whether --enable-java-lang-system-explicit-initialization was given.
14913 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then
14914 enableval
=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
14915 yes|true
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="true" ;;
14916 no|false
) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false" ;;
14917 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5
14918 echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;}
14919 { (exit 1); exit 1; }; } ;;
14922 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
="false"
14931 # Extract the first word of "mkdir", so it can be a program name with args.
14932 set dummy mkdir
; ac_word
=$2
14933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14935 if test "${ac_cv_path_MKDIR+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
14943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14944 for as_dir
in $PATH
14947 test -z "$as_dir" && as_dir
=.
14948 for ac_exec_ext
in '' $ac_executable_extensions; do
14949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14950 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
14951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14961 MKDIR
=$ac_cv_path_MKDIR
14962 if test -n "$MKDIR"; then
14963 { echo "$as_me:$LINENO: result: $MKDIR" >&5
14964 echo "${ECHO_T}$MKDIR" >&6; }
14966 { echo "$as_me:$LINENO: result: no" >&5
14967 echo "${ECHO_T}no" >&6; }
14971 # Extract the first word of "cp", so it can be a program name with args.
14972 set dummy
cp; ac_word
=$2
14973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14975 if test "${ac_cv_path_CP+set}" = set; then
14976 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
14983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14984 for as_dir
in $PATH
14987 test -z "$as_dir" && as_dir
=.
14988 for ac_exec_ext
in '' $ac_executable_extensions; do
14989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14990 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
14991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15002 if test -n "$CP"; then
15003 { echo "$as_me:$LINENO: result: $CP" >&5
15004 echo "${ECHO_T}$CP" >&6; }
15006 { echo "$as_me:$LINENO: result: no" >&5
15007 echo "${ECHO_T}no" >&6; }
15011 # Extract the first word of "date", so it can be a program name with args.
15012 set dummy
date; ac_word
=$2
15013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15015 if test "${ac_cv_path_DATE+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
15023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15024 for as_dir
in $PATH
15027 test -z "$as_dir" && as_dir
=.
15028 for ac_exec_ext
in '' $ac_executable_extensions; do
15029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15030 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
15031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15041 DATE
=$ac_cv_path_DATE
15042 if test -n "$DATE"; then
15043 { echo "$as_me:$LINENO: result: $DATE" >&5
15044 echo "${ECHO_T}$DATE" >&6; }
15046 { echo "$as_me:$LINENO: result: no" >&5
15047 echo "${ECHO_T}no" >&6; }
15052 # Extract the first word of "find", so it can be a program name with args.
15053 set dummy
find; ac_word
=$2
15054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15056 if test "${ac_cv_path_FIND+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
15064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15065 for as_dir
in $PATH
15068 test -z "$as_dir" && as_dir
=.
15069 for ac_exec_ext
in '' $ac_executable_extensions; do
15070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15071 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15082 FIND
=$ac_cv_path_FIND
15083 if test -n "$FIND"; then
15084 { echo "$as_me:$LINENO: result: $FIND" >&5
15085 echo "${ECHO_T}$FIND" >&6; }
15087 { echo "$as_me:$LINENO: result: no" >&5
15088 echo "${ECHO_T}no" >&6; }
15094 # Extract the first word of "zip", so it can be a program name with args.
15095 set dummy
zip; ac_word
=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_path_ZIP+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
15106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15107 for as_dir
in $PATH
15110 test -z "$as_dir" && as_dir
=.
15111 for ac_exec_ext
in '' $ac_executable_extensions; do
15112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15113 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15124 ZIP
=$ac_cv_path_ZIP
15125 if test -n "$ZIP"; then
15126 { echo "$as_me:$LINENO: result: $ZIP" >&5
15127 echo "${ECHO_T}$ZIP" >&6; }
15129 { echo "$as_me:$LINENO: result: no" >&5
15130 echo "${ECHO_T}no" >&6; }
15135 # Check whether --with-fastjar was given.
15136 if test "${with_fastjar+set}" = set; then
15137 withval
=$with_fastjar;
15138 { echo "$as_me:$LINENO: checking for user supplied fastjar" >&5
15139 echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6; }
15141 { echo "$as_me:$LINENO: result: ${FASTJAR}" >&5
15142 echo "${ECHO_T}${FASTJAR}" >&6; }
15145 # Extract the first word of "fastjar
", so it can be a program name with args.
15146 set dummy fastjar; ac_word=$2
15147 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15148 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15149 if test "${ac_cv_path_FASTJAR+set}" = set; then
15150 echo $ECHO_N "(cached
) $ECHO_C" >&6
15154 ac_cv_path_FASTJAR="$FASTJAR" # Let the user override the test with a path.
15157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15158 for as_dir in $PATH
15161 test -z "$as_dir" && as_dir=.
15162 for ac_exec_ext in '' $ac_executable_extensions; do
15163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15164 ac_cv_path_FASTJAR="$as_dir/$ac_word$ac_exec_ext"
15165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15175 FASTJAR=$ac_cv_path_FASTJAR
15176 if test -n "$FASTJAR"; then
15177 { echo "$as_me:$LINENO: result
: $FASTJAR" >&5
15178 echo "${ECHO_T}$FASTJAR" >&6; }
15180 { echo "$as_me:$LINENO: result
: no
" >&5
15181 echo "${ECHO_T}no
" >&6; }
15187 if test x"${FASTJAR}" != x; then
15192 # Check whether --with-glibj was given.
15193 if test "${with_glibj+set}" = set; then
15194 withval=$with_glibj;
15195 if test "x
${withval}" = xyes || test "x
${withval}" = xzip; then
15196 install_class_files=no
15197 build_class_files=yes
15199 elif test "x
${withval}" = xboth; then
15200 install_class_files=yes
15201 build_class_files=yes
15203 elif test "x
${withval}" = xflat; then
15204 install_class_files=yes
15205 build_class_files=yes
15207 elif test "x
${withval}" = xno || test "x
${withval}" = xnone; then
15208 install_class_files=no
15209 build_class_files=no
15211 elif test "x
${withval}" = xbuild; then
15212 install_class_files=no
15213 build_class_files=yes
15216 { { echo "$as_me:$LINENO: error
: unknown value given to
--with-glibj" >&5
15217 echo "$as_me: error
: unknown value given to
--with-glibj" >&2;}
15218 { (exit 1); exit 1; }; }
15223 install_class_files=no
15230 if test "x
${use_zip}" = xyes; then
15231 INSTALL_GLIBJ_ZIP_TRUE=
15232 INSTALL_GLIBJ_ZIP_FALSE='#'
15234 INSTALL_GLIBJ_ZIP_TRUE='#'
15235 INSTALL_GLIBJ_ZIP_FALSE=
15240 if test "x
${install_class_files}" = xyes; then
15241 INSTALL_CLASS_FILES_TRUE=
15242 INSTALL_CLASS_FILES_FALSE='#'
15244 INSTALL_CLASS_FILES_TRUE='#'
15245 INSTALL_CLASS_FILES_FALSE=
15250 if test "x
${build_class_files}" = xyes; then
15251 BUILD_CLASS_FILES_TRUE=
15252 BUILD_CLASS_FILES_FALSE='#'
15254 BUILD_CLASS_FILES_TRUE='#'
15255 BUILD_CLASS_FILES_FALSE=
15259 # Check whether --enable-examples was given.
15260 if test "${enable_examples+set}" = set; then
15261 enableval=$enable_examples; case "${enableval}" in
15262 yes) EXAMPLESDIR="examples
" ;;
15263 no) EXAMPLESDIR="" ;;
15264 *) { { echo "$as_me:$LINENO: error
: bad value
${enableval} for --enable-examples" >&5
15265 echo "$as_me: error
: bad value
${enableval} for --enable-examples" >&2;}
15266 { (exit 1); exit 1; }; } ;;
15269 EXAMPLESDIR="examples
"
15272 if test "x
${use_zip}" = xno && test "x
${install_class_files}" = xno; then
15280 # Check whether --with-gjdoc was given.
15281 if test "${with_gjdoc+set}" = set; then
15282 withval=$with_gjdoc; if test "x
${withval}" = xno; then
15284 elif test "x
${withval}" = xyes -o "x
{withval
}" = x; then
15286 # Extract the first word of "gjdoc
", so it can be a program name with args.
15287 set dummy gjdoc; ac_word=$2
15288 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15289 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15290 if test "${ac_cv_path_GJDOC+set}" = set; then
15291 echo $ECHO_N "(cached
) $ECHO_C" >&6
15295 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
15298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15299 for as_dir in $PATH
15302 test -z "$as_dir" && as_dir=.
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15305 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
15306 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15313 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
15317 GJDOC=$ac_cv_path_GJDOC
15318 if test -n "$GJDOC"; then
15319 { echo "$as_me:$LINENO: result
: $GJDOC" >&5
15320 echo "${ECHO_T}$GJDOC" >&6; }
15322 { echo "$as_me:$LINENO: result
: no
" >&5
15323 echo "${ECHO_T}no
" >&6; }
15327 if test "x
${GJDOC}" = xno; then
15328 { { echo "$as_me:$LINENO: error
: \"gjdoc executable not found
\"" >&5
15329 echo "$as_me: error
: \"gjdoc executable not found
\"" >&2;}
15330 { (exit 1); exit 1; }; };
15335 as_ac_File=`echo "ac_cv_file_
${GJDOC}" | $as_tr_sh`
15336 { echo "$as_me:$LINENO: checking
for ${GJDOC}" >&5
15337 echo $ECHO_N "checking
for ${GJDOC}...
$ECHO_C" >&6; }
15338 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
15339 echo $ECHO_N "(cached
) $ECHO_C" >&6
15341 test "$cross_compiling" = yes &&
15342 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
15343 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
15344 { (exit 1); exit 1; }; }
15345 if test -r "${GJDOC}"; then
15346 eval "$as_ac_File=yes"
15348 eval "$as_ac_File=no
"
15351 ac_res=`eval echo '${'$as_ac_File'}'`
15352 { echo "$as_me:$LINENO: result
: $ac_res" >&5
15353 echo "${ECHO_T}$ac_res" >&6; }
15354 if test `eval echo '${'$as_ac_File'}'` = yes; then
15357 { { echo "$as_me:$LINENO: error
: \"Cannot use
${withval} as gjdoc executable since it doesn
't exist\"" >&5
15358 echo "$as_me: error: \"Cannot use ${withval} as gjdoc executable since it doesn't exist
\"" >&2;}
15359 { (exit 1); exit 1; }; }
15370 if test "x
${WITH_GJDOC}" = xyes; then
15371 CREATE_API_DOCS_TRUE=
15372 CREATE_API_DOCS_FALSE='#'
15374 CREATE_API_DOCS_TRUE='#'
15375 CREATE_API_DOCS_FALSE=
15382 # Check whether --with-jay was given.
15383 if test "${with_jay+set}" = set; then
15385 if test -d "${withval}"; then
15386 JAY_DIR_PATH="${withval}"
15387 # Extract the first word of "jay
", so it can be a program name with args.
15388 set dummy jay; ac_word=$2
15389 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15390 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15391 if test "${ac_cv_path_JAY+set}" = set; then
15392 echo $ECHO_N "(cached
) $ECHO_C" >&6
15396 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
15399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15400 for as_dir in ${JAY_DIR_PATH}
15403 test -z "$as_dir" && as_dir=.
15404 for ac_exec_ext in '' $ac_executable_extensions; do
15405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15406 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
15407 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15414 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
15418 JAY=$ac_cv_path_JAY
15419 if test -n "$JAY"; then
15420 { echo "$as_me:$LINENO: result
: $JAY" >&5
15421 echo "${ECHO_T}$JAY" >&6; }
15423 { echo "$as_me:$LINENO: result
: no
" >&5
15424 echo "${ECHO_T}no
" >&6; }
15428 if test "x
${JAY}" = xno; then
15429 { { echo "$as_me:$LINENO: error
: \"jay executable not found
\"" >&5
15430 echo "$as_me: error
: \"jay executable not found
\"" >&2;}
15431 { (exit 1); exit 1; }; };
15434 JAY_DIR_PATH=$(dirname "${withval}")
15438 JAY_SKELETON="${JAY_DIR_PATH}/skeleton
"
15439 as_ac_File=`echo "ac_cv_file_
${JAY_SKELETON}" | $as_tr_sh`
15440 { echo "$as_me:$LINENO: checking
for ${JAY_SKELETON}" >&5
15441 echo $ECHO_N "checking
for ${JAY_SKELETON}...
$ECHO_C" >&6; }
15442 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
15443 echo $ECHO_N "(cached
) $ECHO_C" >&6
15445 test "$cross_compiling" = yes &&
15446 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
15447 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
15448 { (exit 1); exit 1; }; }
15449 if test -r "${JAY_SKELETON}"; then
15450 eval "$as_ac_File=yes"
15452 eval "$as_ac_File=no
"
15455 ac_res=`eval echo '${'$as_ac_File'}'`
15456 { echo "$as_me:$LINENO: result
: $ac_res" >&5
15457 echo "${ECHO_T}$ac_res" >&6; }
15458 if test `eval echo '${'$as_ac_File'}'` = yes; then
15461 { { echo "$as_me:$LINENO: error
: \"Expected skeleton
file in $
(dirname ${withval})\"" >&5
15462 echo "$as_me: error
: \"Expected skeleton
file in $
(dirname ${withval})\"" >&2;}
15463 { (exit 1); exit 1; }; }
15476 if test "x
${JAY_FOUND}" = xyes; then
15477 REGEN_PARSERS_TRUE=
15478 REGEN_PARSERS_FALSE='#'
15480 REGEN_PARSERS_TRUE='#'
15481 REGEN_PARSERS_FALSE=
15486 # Check whether --enable-portable-native-sync was given.
15487 if test "${enable_portable_native_sync+set}" = set; then
15488 enableval=$enable_portable_native_sync; case "${enableval}" in
15491 cat >>confdefs.h <<\_ACEOF
15492 #define PORTABLE_NATIVE_SYNC 1
15498 { { echo "$as_me:$LINENO: error
: bad value
${enableval} for --enable-portable-native-sync" >&5
15499 echo "$as_me: error
: bad value
${enableval} for --enable-portable-native-sync" >&2;}
15500 { (exit 1); exit 1; }; }
15506 # ------ AX CREATE STDINT H -------------------------------------
15507 { echo "$as_me:$LINENO: checking
for stdint types
" >&5
15508 echo $ECHO_N "checking
for stdint types...
$ECHO_C" >&6; }
15509 ac_stdint_h=`echo include/config-int.h`
15510 # try to shortcircuit - if the default include path of the compiler
15511 # can find a "stdint.h
" header then we assume that all compilers can.
15512 if test "${ac_cv_header_stdint_t+set}" = set; then
15513 echo $ECHO_N "(cached
) $ECHO_C" >&6
15516 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
15517 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
15518 old_CFLAGS="$CFLAGS" ; CFLAGS=""
15519 cat >conftest.$ac_ext <<_ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15525 #include <stdint.h>
15529 int_least32_t v = 0;
15534 rm -f conftest.$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>conftest.er1
15538 grep -v '^ *+' conftest.er1 >conftest.err
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest.$ac_objext'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15554 (exit $ac_status); }; }; then
15555 ac_cv_stdint_result="(assuming C99 compatible system
)"
15556 ac_cv_header_stdint_t="stdint.h
";
15558 echo "$as_me: failed program was
:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_cv_header_stdint_t=""
15564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15565 CXXFLAGS="$old_CXXFLAGS"
15566 CPPFLAGS="$old_CPPFLAGS"
15567 CFLAGS="$old_CFLAGS"
15571 v="...
$ac_cv_header_stdint_h"
15572 if test "$ac_stdint_h" = "stdint.h
" ; then
15573 { echo "$as_me:$LINENO: result
: (are you sure you want them
in .
/stdint.h?
)" >&5
15574 echo "${ECHO_T}(are you sure you want them
in .
/stdint.h?
)" >&6; }
15575 elif test "$ac_stdint_h" = "inttypes.h
" ; then
15576 { echo "$as_me:$LINENO: result
: (are you sure you want them
in .
/inttypes.h?
)" >&5
15577 echo "${ECHO_T}(are you sure you want them
in .
/inttypes.h?
)" >&6; }
15578 elif test "_
$ac_cv_header_stdint_t" = "_
" ; then
15579 { echo "$as_me:$LINENO: result
: (putting them into
$ac_stdint_h)$v" >&5
15580 echo "${ECHO_T}(putting them into
$ac_stdint_h)$v" >&6; }
15582 ac_cv_header_stdint="$ac_cv_header_stdint_t"
15583 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdint (shortcircuit
)" >&5
15584 echo "${ECHO_T}$ac_cv_header_stdint (shortcircuit
)" >&6; }
15587 if test "_
$ac_cv_header_stdint_t" = "_
" ; then # can not shortcircuit..
15590 inttype_headers=`echo | sed -e 's/,/ /g'`
15592 ac_cv_stdint_result="(no helpful system typedefs seen
)"
15594 { echo "$as_me:$LINENO: checking
for stdint uintptr_t
" >&5
15595 echo $ECHO_N "checking
for stdint uintptr_t...
$ECHO_C" >&6; }
15596 if test "${ac_cv_header_stdint_x+set}" = set; then
15597 echo $ECHO_N "(cached
) $ECHO_C" >&6
15600 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
15601 { echo "$as_me:$LINENO: result
: (..
)" >&5
15602 echo "${ECHO_T}(..
)" >&6; }
15603 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
15604 unset ac_cv_type_uintptr_t
15605 unset ac_cv_type_uint64_t
15606 { echo "$as_me:$LINENO: checking
for uintptr_t
" >&5
15607 echo $ECHO_N "checking
for uintptr_t...
$ECHO_C" >&6; }
15608 if test "${ac_cv_type_uintptr_t+set}" = set; then
15609 echo $ECHO_N "(cached
) $ECHO_C" >&6
15611 cat >conftest.$ac_ext <<_ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15619 typedef uintptr_t ac__type_new_;
15623 if ((ac__type_new_ *) 0)
15625 if (sizeof (ac__type_new_))
15631 rm -f conftest.$ac_objext
15632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15633 (eval $ac_compile) 2>conftest.er1
15635 grep -v '^ *+' conftest.er1 >conftest.err
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15639 (exit $ac_status); } &&
15640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 ac_cv_type_uintptr_t=yes
15654 echo "$as_me: failed program was
:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15657 ac_cv_type_uintptr_t=no
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15662 { echo "$as_me:$LINENO: result
: $ac_cv_type_uintptr_t" >&5
15663 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
15664 if test $ac_cv_type_uintptr_t = yes; then
15665 ac_cv_header_stdint_x=$i
15670 { echo "$as_me:$LINENO: checking
for uint64_t
" >&5
15671 echo $ECHO_N "checking
for uint64_t...
$ECHO_C" >&6; }
15672 if test "${ac_cv_type_uint64_t+set}" = set; then
15673 echo $ECHO_N "(cached
) $ECHO_C" >&6
15675 cat >conftest.$ac_ext <<_ACEOF
15678 cat confdefs.h >>conftest.$ac_ext
15679 cat >>conftest.$ac_ext <<_ACEOF
15680 /* end confdefs.h. */
15683 typedef uint64_t ac__type_new_;
15687 if ((ac__type_new_ *) 0)
15689 if (sizeof (ac__type_new_))
15695 rm -f conftest.$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>conftest.er1
15699 grep -v '^ *+' conftest.er1 >conftest.err
15701 cat conftest.err >&5
15702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15703 (exit $ac_status); } &&
15704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest.$ac_objext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 ac_cv_type_uint64_t=yes
15718 echo "$as_me: failed program was
:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15721 ac_cv_type_uint64_t=no
15724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726 { echo "$as_me:$LINENO: result
: $ac_cv_type_uint64_t" >&5
15727 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15728 if test $ac_cv_type_uint64_t = yes; then
15734 stdint.h inttypes.h sys/inttypes.h $inttype_headers
15737 { echo "$as_me:$LINENO: checking
for stdint uintptr_t
" >&5
15738 echo $ECHO_N "checking
for stdint uintptr_t...
$ECHO_C" >&6; }
15741 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdint_x" >&5
15742 echo "${ECHO_T}$ac_cv_header_stdint_x" >&6; }
15745 if test "_
$ac_cv_header_stdint_x" = "_
" ; then
15747 { echo "$as_me:$LINENO: checking
for stdint uint32_t
" >&5
15748 echo $ECHO_N "checking
for stdint uint32_t...
$ECHO_C" >&6; }
15749 if test "${ac_cv_header_stdint_o+set}" = set; then
15750 echo $ECHO_N "(cached
) $ECHO_C" >&6
15753 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
15754 { echo "$as_me:$LINENO: result
: (..
)" >&5
15755 echo "${ECHO_T}(..
)" >&6; }
15756 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
15757 unset ac_cv_type_uint32_t
15758 unset ac_cv_type_uint64_t
15759 { echo "$as_me:$LINENO: checking
for uint32_t
" >&5
15760 echo $ECHO_N "checking
for uint32_t...
$ECHO_C" >&6; }
15761 if test "${ac_cv_type_uint32_t+set}" = set; then
15762 echo $ECHO_N "(cached
) $ECHO_C" >&6
15764 cat >conftest.$ac_ext <<_ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15772 typedef uint32_t ac__type_new_;
15776 if ((ac__type_new_ *) 0)
15778 if (sizeof (ac__type_new_))
15784 rm -f conftest.$ac_objext
15785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15786 (eval $ac_compile) 2>conftest.er1
15788 grep -v '^ *+' conftest.er1 >conftest.err
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15792 (exit $ac_status); } &&
15793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15798 (exit $ac_status); }; } &&
15799 { ac_try='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_cv_type_uint32_t=yes
15807 echo "$as_me: failed program was
:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15810 ac_cv_type_uint32_t=no
15813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15815 { echo "$as_me:$LINENO: result
: $ac_cv_type_uint32_t" >&5
15816 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
15817 if test $ac_cv_type_uint32_t = yes; then
15818 ac_cv_header_stdint_o=$i
15823 { echo "$as_me:$LINENO: checking
for uint64_t
" >&5
15824 echo $ECHO_N "checking
for uint64_t...
$ECHO_C" >&6; }
15825 if test "${ac_cv_type_uint64_t+set}" = set; then
15826 echo $ECHO_N "(cached
) $ECHO_C" >&6
15828 cat >conftest.$ac_ext <<_ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15836 typedef uint64_t ac__type_new_;
15840 if ((ac__type_new_ *) 0)
15842 if (sizeof (ac__type_new_))
15848 rm -f conftest.$ac_objext
15849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15850 (eval $ac_compile) 2>conftest.er1
15852 grep -v '^ *+' conftest.er1 >conftest.err
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try='test -s conftest.$ac_objext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 ac_cv_type_uint64_t=yes
15871 echo "$as_me: failed program was
:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15874 ac_cv_type_uint64_t=no
15877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15879 { echo "$as_me:$LINENO: result
: $ac_cv_type_uint64_t" >&5
15880 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15881 if test $ac_cv_type_uint64_t = yes; then
15887 inttypes.h sys/inttypes.h stdint.h $inttype_headers
15891 { echo "$as_me:$LINENO: checking
for stdint uint32_t
" >&5
15892 echo $ECHO_N "checking
for stdint uint32_t...
$ECHO_C" >&6; }
15895 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdint_o" >&5
15896 echo "${ECHO_T}$ac_cv_header_stdint_o" >&6; }
15900 if test "_
$ac_cv_header_stdint_x" = "_
" ; then
15901 if test "_
$ac_cv_header_stdint_o" = "_
" ; then
15903 { echo "$as_me:$LINENO: checking
for stdint u_int32_t
" >&5
15904 echo $ECHO_N "checking
for stdint u_int32_t...
$ECHO_C" >&6; }
15905 if test "${ac_cv_header_stdint_u+set}" = set; then
15906 echo $ECHO_N "(cached
) $ECHO_C" >&6
15909 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
15910 { echo "$as_me:$LINENO: result
: (..
)" >&5
15911 echo "${ECHO_T}(..
)" >&6; }
15912 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
15913 unset ac_cv_type_u_int32_t
15914 unset ac_cv_type_u_int64_t
15915 { echo "$as_me:$LINENO: checking
for u_int32_t
" >&5
15916 echo $ECHO_N "checking
for u_int32_t...
$ECHO_C" >&6; }
15917 if test "${ac_cv_type_u_int32_t+set}" = set; then
15918 echo $ECHO_N "(cached
) $ECHO_C" >&6
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15928 typedef u_int32_t ac__type_new_;
15932 if ((ac__type_new_ *) 0)
15934 if (sizeof (ac__type_new_))
15940 rm -f conftest.$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1 >conftest.err
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_type_u_int32_t=yes
15963 echo "$as_me: failed program was
:" >&5
15964 sed 's/^/| /' conftest.$ac_ext >&5
15966 ac_cv_type_u_int32_t=no
15969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15971 { echo "$as_me:$LINENO: result
: $ac_cv_type_u_int32_t" >&5
15972 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
15973 if test $ac_cv_type_u_int32_t = yes; then
15974 ac_cv_header_stdint_u=$i
15979 { echo "$as_me:$LINENO: checking
for u_int64_t
" >&5
15980 echo $ECHO_N "checking
for u_int64_t...
$ECHO_C" >&6; }
15981 if test "${ac_cv_type_u_int64_t+set}" = set; then
15982 echo $ECHO_N "(cached
) $ECHO_C" >&6
15984 cat >conftest.$ac_ext <<_ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15992 typedef u_int64_t ac__type_new_;
15996 if ((ac__type_new_ *) 0)
15998 if (sizeof (ac__type_new_))
16004 rm -f conftest.$ac_objext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>conftest.er1
16008 grep -v '^ *+' conftest.er1 >conftest.err
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 (eval $ac_try) 2>&5
16017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16018 (exit $ac_status); }; } &&
16019 { ac_try='test -s conftest.$ac_objext'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_type_u_int64_t=yes
16027 echo "$as_me: failed program was
:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16030 ac_cv_type_u_int64_t=no
16033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16035 { echo "$as_me:$LINENO: result
: $ac_cv_type_u_int64_t" >&5
16036 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16037 if test $ac_cv_type_u_int64_t = yes; then
16043 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
16047 { echo "$as_me:$LINENO: checking
for stdint u_int32_t
" >&5
16048 echo $ECHO_N "checking
for stdint u_int32_t...
$ECHO_C" >&6; }
16051 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdint_u" >&5
16052 echo "${ECHO_T}$ac_cv_header_stdint_u" >&6; }
16056 if test "_
$ac_cv_header_stdint_x" = "_
" ; then
16057 { echo "$as_me:$LINENO: checking
for stdint datatype model
" >&5
16058 echo $ECHO_N "checking
for stdint datatype model...
$ECHO_C" >&6; }
16059 { echo "$as_me:$LINENO: result
: (..
)" >&5
16060 echo "${ECHO_T}(..
)" >&6; }
16062 { echo "$as_me:$LINENO: checking
for char
" >&5
16063 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
16064 if test "${ac_cv_type_char+set}" = set; then
16065 echo $ECHO_N "(cached
) $ECHO_C" >&6
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073 $ac_includes_default
16074 typedef char ac__type_new_;
16078 if ((ac__type_new_ *) 0)
16080 if (sizeof (ac__type_new_))
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16090 grep -v '^ *+' conftest.er1 >conftest.err
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_cv_type_char=yes
16109 echo "$as_me: failed program was
:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
16118 echo "${ECHO_T}$ac_cv_type_char" >&6; }
16120 { echo "$as_me:$LINENO: checking size of char
" >&5
16121 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
16122 if test "${ac_cv_sizeof_char+set}" = set; then
16123 echo $ECHO_N "(cached
) $ECHO_C" >&6
16125 if test "$ac_cv_type_char" = yes; then
16126 # The cast to long int works around a bug in the HP C Compiler
16127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16129 # This bug is HP SR number 8606223364.
16130 if test "$cross_compiling" = yes; then
16131 # Depending upon the size, compute the lo and hi bounds.
16132 cat >conftest.$ac_ext <<_ACEOF
16135 cat confdefs.h >>conftest.$ac_ext
16136 cat >>conftest.$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16138 $ac_includes_default
16139 typedef char ac__type_sizeof_;
16143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16150 rm -f conftest.$ac_objext
16151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16152 (eval $ac_compile) 2>conftest.er1
16154 grep -v '^ *+' conftest.er1 >conftest.err
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16170 (exit $ac_status); }; }; then
16173 cat >conftest.$ac_ext <<_ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 typedef char ac__type_sizeof_;
16184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1 >conftest.err
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_hi=$ac_mid; break
16214 echo "$as_me: failed program was
:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16217 ac_lo=`expr $ac_mid + 1`
16218 if test $ac_lo -le $ac_mid; then
16222 ac_mid=`expr 2 '*' $ac_mid + 1`
16225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16228 echo "$as_me: failed program was
:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16231 cat >conftest.$ac_ext <<_ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 $ac_includes_default
16238 typedef char ac__type_sizeof_;
16242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>conftest.er1
16253 grep -v '^ *+' conftest.er1 >conftest.err
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16257 (exit $ac_status); } &&
16258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16263 (exit $ac_status); }; } &&
16264 { ac_try='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16269 (exit $ac_status); }; }; then
16272 cat >conftest.$ac_ext <<_ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 $ac_includes_default
16279 typedef char ac__type_sizeof_;
16283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16290 rm -f conftest.$ac_objext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16292 (eval $ac_compile) 2>conftest.er1
16294 grep -v '^ *+' conftest.er1 >conftest.err
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16298 (exit $ac_status); } &&
16299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16304 (exit $ac_status); }; } &&
16305 { ac_try='test -s conftest.$ac_objext'
16306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307 (eval $ac_try) 2>&5
16309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16310 (exit $ac_status); }; }; then
16311 ac_lo=$ac_mid; break
16313 echo "$as_me: failed program was
:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16316 ac_hi=`expr '(' $ac_mid ')' - 1`
16317 if test $ac_mid -le $ac_hi; then
16321 ac_mid=`expr 2 '*' $ac_mid`
16324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16327 echo "$as_me: failed program was
:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16337 # Binary search between lo and hi bounds.
16338 while test "x
$ac_lo" != "x
$ac_hi"; do
16339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16340 cat >conftest.$ac_ext <<_ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346 $ac_includes_default
16347 typedef char ac__type_sizeof_;
16351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16358 rm -f conftest.$ac_objext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16360 (eval $ac_compile) 2>conftest.er1
16362 grep -v '^ *+' conftest.er1 >conftest.err
16364 cat conftest.err >&5
16365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16366 (exit $ac_status); } &&
16367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16372 (exit $ac_status); }; } &&
16373 { ac_try='test -s conftest.$ac_objext'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16378 (exit $ac_status); }; }; then
16381 echo "$as_me: failed program was
:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16384 ac_lo=`expr '(' $ac_mid ')' + 1`
16387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16390 ?*) ac_cv_sizeof_char=$ac_lo;;
16391 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
16392 See \
`config.log' for more details." >&5
16393 echo "$as_me: error: cannot compute sizeof (char)
16394 See \`config.log
' for more details." >&2;}
16395 { (exit 77); exit 77; }; } ;;
16398 cat >conftest.$ac_ext <<_ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 $ac_includes_default
16405 typedef char ac__type_sizeof_;
16406 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16407 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16409 #include <stdlib.h>
16414 FILE *f = fopen ("conftest.val", "w");
16417 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16419 long int i = longval ();
16420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16422 fprintf (f, "%ld\n", i);
16426 unsigned long int i = ulongval ();
16427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16429 fprintf (f, "%lu\n", i);
16431 return ferror (f) || fclose (f) != 0;
16437 rm -f conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_sizeof_char=`cat conftest.val`
16450 echo "$as_me: program exited with status $ac_status" >&5
16451 echo "$as_me: failed program was:" >&5
16452 sed 's
/^
/|
/' conftest.$ac_ext >&5
16454 ( exit $ac_status )
16455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
16456 See \`config.log' for more details.
" >&5
16457 echo "$as_me: error
: cannot compute sizeof
(char
)
16458 See \
`config.log' for more details." >&2;}
16459 { (exit 77); exit 77; }; }
16461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16465 ac_cv_sizeof_char=0
16468 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16469 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
16470 cat >>confdefs.h <<_ACEOF
16471 #define SIZEOF_CHAR $ac_cv_sizeof_char
16475 { echo "$as_me:$LINENO: checking for short" >&5
16476 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
16477 if test "${ac_cv_type_short+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 cat >conftest.$ac_ext <<_ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16487 typedef short ac__type_new_;
16491 if ((ac__type_new_ *) 0)
16493 if (sizeof (ac__type_new_))
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1 >conftest.err
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_type_short=yes
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16525 ac_cv_type_short=no
16528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16530 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16531 echo "${ECHO_T}$ac_cv_type_short" >&6; }
16533 { echo "$as_me:$LINENO: checking size of short" >&5
16534 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
16535 if test "${ac_cv_sizeof_short+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 if test "$ac_cv_type_short" = yes; then
16539 # The cast to long int works around a bug in the HP C Compiler
16540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16541 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
16542 # This bug is HP SR number 8606223364.
16543 if test "$cross_compiling" = yes; then
16544 # Depending upon the size, compute the lo and hi bounds.
16545 cat >conftest.$ac_ext <<_ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 typedef short ac__type_sizeof_;
16556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16563 rm -f conftest.$ac_objext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16565 (eval $ac_compile) 2>conftest.er1
16567 grep -v '^
*+' conftest.er1 >conftest.err
16569 cat conftest.err >&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); } &&
16572 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest.
$ac_objext'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; }; then
16586 cat >conftest.$ac_ext <<_ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 $ac_includes_default
16593 typedef short ac__type_sizeof_;
16597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16604 rm -f conftest.$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16608 grep -v '^
*+' conftest.er1 >conftest.err
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest.
$ac_objext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_hi=$ac_mid; break
16627 echo "$as_me: failed program was:" >&5
16628 sed 's
/^
/|
/' conftest.$ac_ext >&5
16630 ac_lo=`expr $ac_mid + 1`
16631 if test $ac_lo -le $ac_mid; then
16635 ac_mid=`expr 2 '*' $ac_mid + 1`
16638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 echo "$as_me: failed program was:" >&5
16642 sed 's
/^
/|
/' conftest.$ac_ext >&5
16644 cat >conftest.$ac_ext <<_ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16651 typedef short ac__type_sizeof_;
16655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16662 rm -f conftest.$ac_objext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16664 (eval $ac_compile) 2>conftest.er1
16666 grep -v '^
*+' conftest.er1 >conftest.err
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.
$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16685 cat >conftest.$ac_ext <<_ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 $ac_includes_default
16692 typedef short ac__type_sizeof_;
16696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16703 rm -f conftest.$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16707 grep -v '^
*+' conftest.er1 >conftest.err
16709 cat conftest.err >&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try='test -s conftest.
$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_lo=$ac_mid; break
16726 echo "$as_me: failed program was:" >&5
16727 sed 's
/^
/|
/' conftest.$ac_ext >&5
16729 ac_hi=`expr '(' $ac_mid ')' - 1`
16730 if test $ac_mid -le $ac_hi; then
16734 ac_mid=`expr 2 '*' $ac_mid`
16737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16740 echo "$as_me: failed program was:" >&5
16741 sed 's
/^
/|
/' conftest.$ac_ext >&5
16746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 # Binary search between lo and hi bounds.
16751 while test "x$ac_lo" != "x$ac_hi"; do
16752 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 typedef short ac__type_sizeof_;
16764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16775 grep -v '^
*+' conftest.er1 >conftest.err
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.
$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16794 echo "$as_me: failed program was:" >&5
16795 sed 's
/^
/|
/' conftest.$ac_ext >&5
16797 ac_lo=`expr '(' $ac_mid ')' + 1`
16800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16803 ?*) ac_cv_sizeof_short=$ac_lo;;
16804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
16805 See \`config.log' for more details.
" >&5
16806 echo "$as_me: error
: cannot compute sizeof
(short
)
16807 See \
`config.log' for more details." >&2;}
16808 { (exit 77); exit 77; }; } ;;
16811 cat >conftest.$ac_ext <<_ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16818 typedef short ac__type_sizeof_;
16819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16822 #include <stdlib.h>
16827 FILE *f = fopen ("conftest.val", "w");
16830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16832 long int i = longval ();
16833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16835 fprintf (f, "%ld\n", i);
16839 unsigned long int i = ulongval ();
16840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16842 fprintf (f, "%lu\n", i);
16844 return ferror (f) || fclose (f) != 0;
16850 rm -f conftest$ac_exeext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16852 (eval $ac_link) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_cv_sizeof_short=`cat conftest.val
`
16863 echo "$as_me: program exited with status $ac_status" >&5
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16867 ( exit $ac_status )
16868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
16869 See \`config.log
' for more details." >&5
16870 echo "$as_me: error: cannot compute sizeof (short)
16871 See \`config.log' for more details.
" >&2;}
16872 { (exit 77); exit 77; }; }
16874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16878 ac_cv_sizeof_short=0
16881 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
16882 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
16883 cat >>confdefs.h <<_ACEOF
16884 #define SIZEOF_SHORT $ac_cv_sizeof_short
16888 { echo "$as_me:$LINENO: checking
for int
" >&5
16889 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
16890 if test "${ac_cv_type_int+set}" = set; then
16891 echo $ECHO_N "(cached
) $ECHO_C" >&6
16893 cat >conftest.$ac_ext <<_ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16900 typedef int ac__type_new_;
16904 if ((ac__type_new_ *) 0)
16906 if (sizeof (ac__type_new_))
16912 rm -f conftest.$ac_objext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16916 grep -v '^ *+' conftest.er1 >conftest.err
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16932 (exit $ac_status); }; }; then
16935 echo "$as_me: failed program was
:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16943 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
16944 echo "${ECHO_T}$ac_cv_type_int" >&6; }
16946 { echo "$as_me:$LINENO: checking size of int
" >&5
16947 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
16948 if test "${ac_cv_sizeof_int+set}" = set; then
16949 echo $ECHO_N "(cached
) $ECHO_C" >&6
16951 if test "$ac_cv_type_int" = yes; then
16952 # The cast to long int works around a bug in the HP C Compiler
16953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16955 # This bug is HP SR number 8606223364.
16956 if test "$cross_compiling" = yes; then
16957 # Depending upon the size, compute the lo and hi bounds.
16958 cat >conftest.$ac_ext <<_ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 $ac_includes_default
16965 typedef int ac__type_sizeof_;
16969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16976 rm -f conftest.$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978 (eval $ac_compile) 2>conftest.er1
16980 grep -v '^ *+' conftest.er1 >conftest.err
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16996 (exit $ac_status); }; }; then
16999 cat >conftest.$ac_ext <<_ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 $ac_includes_default
17006 typedef int ac__type_sizeof_;
17010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17017 rm -f conftest.$ac_objext
17018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17019 (eval $ac_compile) 2>conftest.er1
17021 grep -v '^ *+' conftest.er1 >conftest.err
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17025 (exit $ac_status); } &&
17026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17031 (exit $ac_status); }; } &&
17032 { ac_try='test -s conftest.$ac_objext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 ac_hi=$ac_mid; break
17040 echo "$as_me: failed program was
:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_lo=`expr $ac_mid + 1`
17044 if test $ac_lo -le $ac_mid; then
17048 ac_mid=`expr 2 '*' $ac_mid + 1`
17051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 echo "$as_me: failed program was
:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17057 cat >conftest.$ac_ext <<_ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 $ac_includes_default
17064 typedef int ac__type_sizeof_;
17068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1 >conftest.err
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17095 (exit $ac_status); }; }; then
17098 cat >conftest.$ac_ext <<_ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 $ac_includes_default
17105 typedef int ac__type_sizeof_;
17109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17116 rm -f conftest.$ac_objext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17118 (eval $ac_compile) 2>conftest.er1
17120 grep -v '^ *+' conftest.er1 >conftest.err
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17124 (exit $ac_status); } &&
17125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17130 (exit $ac_status); }; } &&
17131 { ac_try='test -s conftest.$ac_objext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_lo=$ac_mid; break
17139 echo "$as_me: failed program was
:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17142 ac_hi=`expr '(' $ac_mid ')' - 1`
17143 if test $ac_mid -le $ac_hi; then
17147 ac_mid=`expr 2 '*' $ac_mid`
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17153 echo "$as_me: failed program was
:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17163 # Binary search between lo and hi bounds.
17164 while test "x
$ac_lo" != "x
$ac_hi"; do
17165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17166 cat >conftest.$ac_ext <<_ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 $ac_includes_default
17173 typedef int ac__type_sizeof_;
17177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17188 grep -v '^ *+' conftest.er1 >conftest.err
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17197 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17198 (exit $ac_status); }; } &&
17199 { ac_try='test -s conftest.$ac_objext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17204 (exit $ac_status); }; }; then
17207 echo "$as_me: failed program was
:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_lo=`expr '(' $ac_mid ')' + 1`
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17216 ?*) ac_cv_sizeof_int=$ac_lo;;
17217 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
17218 See \
`config.log' for more details." >&5
17219 echo "$as_me: error: cannot compute sizeof (int)
17220 See \`config.log
' for more details." >&2;}
17221 { (exit 77); exit 77; }; } ;;
17224 cat >conftest.$ac_ext <<_ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17231 typedef int ac__type_sizeof_;
17232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17235 #include <stdlib.h>
17240 FILE *f = fopen ("conftest.val", "w");
17243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17245 long int i = longval ();
17246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17248 fprintf (f, "%ld\n", i);
17252 unsigned long int i = ulongval ();
17253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17255 fprintf (f, "%lu\n", i);
17257 return ferror (f) || fclose (f) != 0;
17263 rm -f conftest$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_sizeof_int=`cat conftest.val`
17276 echo "$as_me: program exited with status $ac_status" >&5
17277 echo "$as_me: failed program was:" >&5
17278 sed 's
/^
/|
/' conftest.$ac_ext >&5
17280 ( exit $ac_status )
17281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17282 See \`config.log' for more details.
" >&5
17283 echo "$as_me: error
: cannot compute sizeof
(int
)
17284 See \
`config.log' for more details." >&2;}
17285 { (exit 77); exit 77; }; }
17287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17294 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17295 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
17296 cat >>confdefs.h <<_ACEOF
17297 #define SIZEOF_INT $ac_cv_sizeof_int
17301 { echo "$as_me:$LINENO: checking for long" >&5
17302 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
17303 if test "${ac_cv_type_long+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 cat >conftest.$ac_ext <<_ACEOF
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 $ac_includes_default
17313 typedef long ac__type_new_;
17317 if ((ac__type_new_ *) 0)
17319 if (sizeof (ac__type_new_))
17325 rm -f conftest.$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17329 grep -v '^ *+' conftest.er1 >conftest.err
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; } &&
17340 { ac_try='test -s conftest.$ac_objext'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; }; then
17346 ac_cv_type_long=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17357 echo "${ECHO_T}$ac_cv_type_long" >&6; }
17359 { echo "$as_me:$LINENO: checking size of long" >&5
17360 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
17361 if test "${ac_cv_sizeof_long+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 if test "$ac_cv_type_long" = yes; then
17365 # The cast to long int works around a bug in the HP C Compiler
17366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17367 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
17368 # This bug is HP SR number 8606223364.
17369 if test "$cross_compiling" = yes; then
17370 # Depending upon the size, compute the lo and hi bounds.
17371 cat >conftest.$ac_ext <<_ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 $ac_includes_default
17378 typedef long ac__type_sizeof_;
17382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17389 rm -f conftest.$ac_objext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17391 (eval $ac_compile) 2>conftest.er1
17393 grep -v '^
*+' conftest.er1 >conftest.err
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } &&
17398 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.
$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17412 cat >conftest.$ac_ext <<_ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 $ac_includes_default
17419 typedef long ac__type_sizeof_;
17423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^
*+' conftest.er1 >conftest.err
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.
$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_hi=$ac_mid; break
17453 echo "$as_me: failed program was:" >&5
17454 sed 's
/^
/|
/' conftest.$ac_ext >&5
17456 ac_lo=`expr $ac_mid + 1`
17457 if test $ac_lo -le $ac_mid; then
17461 ac_mid=`expr 2 '*' $ac_mid + 1`
17464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me: failed program was:" >&5
17468 sed 's
/^
/|
/' conftest.$ac_ext >&5
17470 cat >conftest.$ac_ext <<_ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17477 typedef long ac__type_sizeof_;
17481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17488 rm -f conftest.$ac_objext
17489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17490 (eval $ac_compile) 2>conftest.er1
17492 grep -v '^
*+' conftest.er1 >conftest.err
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; } &&
17503 { ac_try='test -s conftest.
$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17511 cat >conftest.$ac_ext <<_ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17518 typedef long ac__type_sizeof_;
17522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17529 rm -f conftest.$ac_objext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17531 (eval $ac_compile) 2>conftest.er1
17533 grep -v '^
*+' conftest.er1 >conftest.err
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try='test -s conftest.
$ac_objext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 ac_lo=$ac_mid; break
17552 echo "$as_me: failed program was:" >&5
17553 sed 's
/^
/|
/' conftest.$ac_ext >&5
17555 ac_hi=`expr '(' $ac_mid ')' - 1`
17556 if test $ac_mid -le $ac_hi; then
17560 ac_mid=`expr 2 '*' $ac_mid`
17563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17566 echo "$as_me: failed program was:" >&5
17567 sed 's
/^
/|
/' conftest.$ac_ext >&5
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17576 # Binary search between lo and hi bounds.
17577 while test "x$ac_lo" != "x$ac_hi"; do
17578 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17579 cat >conftest.$ac_ext <<_ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 $ac_includes_default
17586 typedef long ac__type_sizeof_;
17590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17601 grep -v '^
*+' conftest.er1 >conftest.err
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try='test -s conftest.
$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17620 echo "$as_me: failed program was:" >&5
17621 sed 's
/^
/|
/' conftest.$ac_ext >&5
17623 ac_lo=`expr '(' $ac_mid ')' + 1`
17626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17629 ?*) ac_cv_sizeof_long=$ac_lo;;
17630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17631 See \`config.log' for more details.
" >&5
17632 echo "$as_me: error
: cannot compute sizeof
(long
)
17633 See \
`config.log' for more details." >&2;}
17634 { (exit 77); exit 77; }; } ;;
17637 cat >conftest.$ac_ext <<_ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17644 typedef long ac__type_sizeof_;
17645 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17646 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17648 #include <stdlib.h>
17653 FILE *f = fopen ("conftest.val", "w");
17656 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17658 long int i = longval ();
17659 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17661 fprintf (f, "%ld\n", i);
17665 unsigned long int i = ulongval ();
17666 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17668 fprintf (f, "%lu\n", i);
17670 return ferror (f) || fclose (f) != 0;
17676 rm -f conftest$ac_exeext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17678 (eval $ac_link) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 ac_cv_sizeof_long=`cat conftest.val
`
17689 echo "$as_me: program exited with status $ac_status" >&5
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17693 ( exit $ac_status )
17694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17695 See \`config.log
' for more details." >&5
17696 echo "$as_me: error: cannot compute sizeof (long)
17697 See \`config.log' for more details.
" >&2;}
17698 { (exit 77); exit 77; }; }
17700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17704 ac_cv_sizeof_long=0
17707 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long" >&5
17708 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
17709 cat >>confdefs.h <<_ACEOF
17710 #define SIZEOF_LONG $ac_cv_sizeof_long
17714 { echo "$as_me:$LINENO: checking
for void
*" >&5
17715 echo $ECHO_N "checking
for void
*...
$ECHO_C" >&6; }
17716 if test "${ac_cv_type_voidp+set}" = set; then
17717 echo $ECHO_N "(cached
) $ECHO_C" >&6
17719 cat >conftest.$ac_ext <<_ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17726 typedef void* ac__type_new_;
17730 if ((ac__type_new_ *) 0)
17732 if (sizeof (ac__type_new_))
17738 rm -f conftest.$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>conftest.er1
17742 grep -v '^ *+' conftest.er1 >conftest.err
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 ac_cv_type_voidp=yes
17761 echo "$as_me: failed program was
:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17764 ac_cv_type_voidp=no
17767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17769 { echo "$as_me:$LINENO: result
: $ac_cv_type_voidp" >&5
17770 echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
17772 { echo "$as_me:$LINENO: checking size of void
*" >&5
17773 echo $ECHO_N "checking size of void
*...
$ECHO_C" >&6; }
17774 if test "${ac_cv_sizeof_voidp+set}" = set; then
17775 echo $ECHO_N "(cached
) $ECHO_C" >&6
17777 if test "$ac_cv_type_voidp" = yes; then
17778 # The cast to long int works around a bug in the HP C Compiler
17779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17781 # This bug is HP SR number 8606223364.
17782 if test "$cross_compiling" = yes; then
17783 # Depending upon the size, compute the lo and hi bounds.
17784 cat >conftest.$ac_ext <<_ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 typedef void* ac__type_sizeof_;
17795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17806 grep -v '^ *+' conftest.er1 >conftest.err
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17822 (exit $ac_status); }; }; then
17825 cat >conftest.$ac_ext <<_ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 $ac_includes_default
17832 typedef void* ac__type_sizeof_;
17836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17843 rm -f conftest.$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17847 grep -v '^ *+' conftest.er1 >conftest.err
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_hi=$ac_mid; break
17866 echo "$as_me: failed program was
:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17869 ac_lo=`expr $ac_mid + 1`
17870 if test $ac_lo -le $ac_mid; then
17874 ac_mid=`expr 2 '*' $ac_mid + 1`
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17880 echo "$as_me: failed program was
:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 cat >conftest.$ac_ext <<_ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890 typedef void* ac__type_sizeof_;
17894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17901 rm -f conftest.$ac_objext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17903 (eval $ac_compile) 2>conftest.er1
17905 grep -v '^ *+' conftest.er1 >conftest.err
17907 cat conftest.err >&5
17908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17921 (exit $ac_status); }; }; then
17924 cat >conftest.$ac_ext <<_ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17931 typedef void* ac__type_sizeof_;
17935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17942 rm -f conftest.$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>conftest.er1
17946 grep -v '^ *+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_lo=$ac_mid; break
17965 echo "$as_me: failed program was
:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17968 ac_hi=`expr '(' $ac_mid ')' - 1`
17969 if test $ac_mid -le $ac_hi; then
17973 ac_mid=`expr 2 '*' $ac_mid`
17976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17979 echo "$as_me: failed program was
:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 # Binary search between lo and hi bounds.
17990 while test "x
$ac_lo" != "x
$ac_hi"; do
17991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17992 cat >conftest.$ac_ext <<_ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 typedef void* ac__type_sizeof_;
18003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18010 rm -f conftest.$ac_objext
18011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18012 (eval $ac_compile) 2>conftest.er1
18014 grep -v '^ *+' conftest.er1 >conftest.err
18016 cat conftest.err >&5
18017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try='test -s conftest.$ac_objext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18030 (exit $ac_status); }; }; then
18033 echo "$as_me: failed program was
:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 ac_lo=`expr '(' $ac_mid ')' + 1`
18039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18042 ?*) ac_cv_sizeof_voidp=$ac_lo;;
18043 '') { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
18044 See \
`config.log' for more details." >&5
18045 echo "$as_me: error: cannot compute sizeof (void*)
18046 See \`config.log
' for more details." >&2;}
18047 { (exit 77); exit 77; }; } ;;
18050 cat >conftest.$ac_ext <<_ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 $ac_includes_default
18057 typedef void* ac__type_sizeof_;
18058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18061 #include <stdlib.h>
18066 FILE *f = fopen ("conftest.val", "w");
18069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18071 long int i = longval ();
18072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18074 fprintf (f, "%ld\n", i);
18078 unsigned long int i = ulongval ();
18079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18081 fprintf (f, "%lu\n", i);
18083 return ferror (f) || fclose (f) != 0;
18089 rm -f conftest$ac_exeext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18091 (eval $ac_link) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 ac_cv_sizeof_voidp=`cat conftest.val`
18102 echo "$as_me: program exited with status $ac_status" >&5
18103 echo "$as_me: failed program was:" >&5
18104 sed 's
/^
/|
/' conftest.$ac_ext >&5
18106 ( exit $ac_status )
18107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
18108 See \`config.log' for more details.
" >&5
18109 echo "$as_me: error
: cannot compute sizeof
(void
*)
18110 See \
`config.log' for more details." >&2;}
18111 { (exit 77); exit 77; }; }
18113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18117 ac_cv_sizeof_voidp=0
18120 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
18121 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
18122 cat >>confdefs.h <<_ACEOF
18123 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
18127 ac_cv_char_data_model=""
18128 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
18129 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
18130 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
18131 ac_cv_long_data_model=""
18132 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
18133 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
18134 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
18135 { echo "$as_me:$LINENO: checking data model" >&5
18136 echo $ECHO_N "checking data model... $ECHO_C" >&6; }
18137 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
18138 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
18139 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
18140 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
18141 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
18142 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
18143 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
18144 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
18145 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
18146 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
18147 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
18148 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
18149 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
18150 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
18151 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
18152 222/*|333/*|444/*|666/*|888/*) :
18153 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
18154 *) ac_cv_data_model="none" ; n="very unusual model" ;;
18156 { echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
18157 echo "${ECHO_T}$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
18161 if test "_$ac_cv_header_stdint_x" != "_" ; then
18162 ac_cv_header_stdint="$ac_cv_header_stdint_x"
18163 elif test "_$ac_cv_header_stdint_o" != "_" ; then
18164 ac_cv_header_stdint="$ac_cv_header_stdint_o"
18165 elif test "_$ac_cv_header_stdint_u" != "_" ; then
18166 ac_cv_header_stdint="$ac_cv_header_stdint_u"
18168 ac_cv_header_stdint="stddef.h"
18171 { echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5
18172 echo $ECHO_N "checking for extra inttypes in chosen header... $ECHO_C" >&6; }
18173 { echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5
18174 echo "${ECHO_T}($ac_cv_header_stdint)" >&6; }
18175 unset ac_cv_type_int_least32_t
18176 unset ac_cv_type_int_fast32_t
18177 { echo "$as_me:$LINENO: checking for int_least32_t" >&5
18178 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
18179 if test "${ac_cv_type_int_least32_t+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 cat >conftest.$ac_ext <<_ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #include <$ac_cv_header_stdint>
18190 typedef int_least32_t ac__type_new_;
18194 if ((ac__type_new_ *) 0)
18196 if (sizeof (ac__type_new_))
18202 rm -f conftest.$ac_objext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18204 (eval $ac_compile) 2>conftest.er1
18206 grep -v '^ *+' conftest.er1 >conftest.err
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 ac_cv_type_int_least32_t=yes
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18228 ac_cv_type_int_least32_t=no
18231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
18234 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
18236 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5
18237 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
18238 if test "${ac_cv_type_int_fast32_t+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 cat >conftest.$ac_ext <<_ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 #include<$ac_cv_header_stdint>
18249 typedef int_fast32_t ac__type_new_;
18253 if ((ac__type_new_ *) 0)
18255 if (sizeof (ac__type_new_))
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18265 grep -v '^ *+' conftest.er1 >conftest.err
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_type_int_fast32_t=yes
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18287 ac_cv_type_int_fast32_t=no
18290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18292 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
18293 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
18295 { echo "$as_me:$LINENO: checking for intmax_t" >&5
18296 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
18297 if test "${ac_cv_type_intmax_t+set}" = set; then
18298 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 cat >conftest.$ac_ext <<_ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #include <$ac_cv_header_stdint>
18308 typedef intmax_t ac__type_new_;
18312 if ((ac__type_new_ *) 0)
18314 if (sizeof (ac__type_new_))
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18324 grep -v '^ *+' conftest.er1 >conftest.err
18326 cat conftest.err >&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try='test -s conftest.$ac_objext'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_cv_type_intmax_t=yes
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18346 ac_cv_type_intmax_t=no
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18351 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
18352 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
18355 fi # shortcircut to system "stdint.h"
18356 # ------------------ PREPARE VARIABLES ------------------------------
18357 if test "$GCC" = "yes" ; then
18358 ac_cv_stdint_message="using gnu compiler "`$CC --version |
head -1`
18360 ac_cv_stdint_message="using $CC"
18363 { echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
18364 echo "${ECHO_T}make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
18366 # ----------------- DONE inttypes.h checks START header -------------
18367 ac_config_commands="$ac_config_commands $ac_stdint_h"
18372 # Check whether --with-glibj_zip was given.
18373 if test "${with_glibj_zip+set}" = set; then
18374 withval=$with_glibj_zip;
18378 case "$with_glibj_zip" in
18380 use_glibj_zip=false
18383 use_glibj_zip=false
18386 { { echo "$as_me:$LINENO: error: Please suply an absolute path to a prebuilt glibj.zip" >&5
18387 echo "$as_me: error: Please suply an absolute path to a prebuilt glibj.zip" >&2;}
18388 { (exit 1); exit 1; }; }
18392 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
18398 if test x$use_glibj_zip = xtrue; then
18399 USE_PREBUILT_GLIBJ_ZIP_TRUE=
18400 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
18402 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
18403 USE_PREBUILT_GLIBJ_ZIP_FALSE=
18409 # Check whether --enable-local-sockets was given.
18410 if test "${enable_local_sockets+set}" = set; then
18411 enableval=$enable_local_sockets; case "${enableval}" in
18413 ENABLE_LOCAL_SOCKETS=yes
18416 ENABLE_LOCAL_SOCKETS=no
18421 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
18423 if test "${ac_cv_header_sys_un_h+set}" = set; then
18424 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
18425 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
18426 if test "${ac_cv_header_sys_un_h+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18430 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
18432 # Is the header compilable?
18433 { echo "$as_me:$LINENO: checking sys/un.h usability" >&5
18434 echo $ECHO_N "checking sys/un.h usability... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 $ac_includes_default
18442 #include <sys/un.h>
18444 rm -f conftest.$ac_objext
18445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18446 (eval $ac_compile) 2>conftest.er1
18448 grep -v '^ *+' conftest.er1 >conftest.err
18450 cat conftest.err >&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } &&
18453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; } &&
18459 { ac_try='test -s conftest.$ac_objext'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; }; then
18465 ac_header_compiler=yes
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18470 ac_header_compiler=no
18473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18474 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18475 echo "${ECHO_T}$ac_header_compiler" >&6; }
18477 # Is the header present?
18478 { echo "$as_me:$LINENO: checking sys/un.h presence" >&5
18479 echo $ECHO_N "checking sys/un.h presence... $ECHO_C" >&6; }
18480 cat >conftest.$ac_ext <<_ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #include <sys/un.h>
18488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18491 grep -v '^ *+' conftest.er1 >conftest.err
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } >/dev/null; then
18496 if test -s conftest.err; then
18497 ac_cpp_err=$ac_c_preproc_warn_flag
18498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18505 if test -z "$ac_cpp_err"; then
18506 ac_header_preproc=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 ac_header_preproc=no
18514 rm -f conftest.err conftest.$ac_ext
18515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18516 echo "${ECHO_T}$ac_header_preproc" >&6; }
18518 # So? What about this header?
18519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18521 { echo "$as_me:$LINENO: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&5
18522 echo "$as_me: WARNING: sys/un.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18523 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the compiler's result" >&5
18524 echo "$as_me: WARNING: sys/un.h: proceeding with the compiler's result" >&2;}
18525 ac_header_preproc=yes
18528 { echo "$as_me:$LINENO: WARNING: sys/un.h: present but cannot be compiled" >&5
18529 echo "$as_me: WARNING: sys/un.h: present but cannot be compiled" >&2;}
18530 { echo "$as_me:$LINENO: WARNING: sys/un.h: check for missing prerequisite headers?" >&5
18531 echo "$as_me: WARNING: sys/un.h: check for missing prerequisite headers?" >&2;}
18532 { echo "$as_me:$LINENO: WARNING: sys/un.h: see the Autoconf documentation" >&5
18533 echo "$as_me: WARNING: sys/un.h: see the Autoconf documentation" >&2;}
18534 { echo "$as_me:$LINENO: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&5
18535 echo "$as_me: WARNING: sys/un.h: section \"Present But Cannot Be Compiled\"" >&2;}
18536 { echo "$as_me:$LINENO: WARNING: sys/un.h: proceeding with the preprocessor's result" >&5
18537 echo "$as_me: WARNING: sys/un.h: proceeding with the preprocessor's result" >&2;}
18538 { echo "$as_me:$LINENO: WARNING: sys/un.h: in the future, the compiler will take precedence" >&5
18539 echo "$as_me: WARNING: sys/un.h: in the future, the compiler will take precedence" >&2;}
18541 ## -------------------------------- ##
18542 ## Report this to classpath@gnu.org ##
18543 ## -------------------------------- ##
18545 ) | sed "s/^/$as_me: WARNING: /" >&2
18548 { echo "$as_me:$LINENO: checking for sys/un.h" >&5
18549 echo $ECHO_N "checking for sys/un.h... $ECHO_C" >&6; }
18550 if test "${ac_cv_header_sys_un_h+set}" = set; then
18551 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 ac_cv_header_sys_un_h=$ac_header_preproc
18555 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_un_h" >&5
18556 echo "${ECHO_T}$ac_cv_header_sys_un_h" >&6; }
18567 for ac_func in read write bind listen accept shutdown
18569 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18572 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 cat >conftest.$ac_ext <<_ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18583 #define $ac_func innocuous_$ac_func
18585 /* System header to define __stub macros and hopefully few prototypes,
18586 which can conflict with char $ac_func (); below.
18587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18588 <limits.h> exists even on freestanding compilers. */
18591 # include <limits.h>
18593 # include <assert.h>
18598 /* Override any GCC internal prototype to avoid an error.
18599 Use char because int might match the return type of a GCC
18600 builtin and then its argument prototype would still apply. */
18605 /* The GNU C library defines this for functions which it implements
18606 to always fail with ENOSYS. Some functions are actually named
18607 something starting with __ and the normal name is an alias. */
18608 #if defined __stub_$ac_func || defined __stub___$ac_func
18615 return $ac_func ();
18620 rm -f conftest.$ac_objext conftest$ac_exeext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18622 (eval $ac_link) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1 >conftest.err
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try='test -s conftest$ac_exeext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 eval "$as_ac_var=yes"
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18646 eval "$as_ac_var=no"
18649 rm -f conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18652 ac_res=`eval echo '${'$as_ac_var'}'`
18653 { echo "$as_me:$LINENO: result: $ac_res" >&5
18654 echo "${ECHO_T}$ac_res" >&6; }
18655 if test `eval echo '${'$as_ac_var'}'` = yes; then
18656 cat >>confdefs.h <<_ACEOF
18657 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18661 { { echo "$as_me:$LINENO: error: networking support not available" >&5
18662 echo "$as_me: error: networking support not available" >&2;}
18663 { (exit 1); exit 1; }; }
18668 cat >>confdefs.h <<\_ACEOF
18669 #define ENABLE_LOCAL_SOCKETS 1
18675 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
18676 ENABLE_LOCAL_SOCKETS_TRUE=
18677 ENABLE_LOCAL_SOCKETS_FALSE='#'
18679 ENABLE_LOCAL_SOCKETS_TRUE='#'
18680 ENABLE_LOCAL_SOCKETS_FALSE=
18685 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile gnu/classpath/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-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/target/Makefile native/target/Linux/Makefile native/target/generic/Makefile resource/Makefile scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile tools/jarsigner.sh tools/keytool.sh examples/Makefile examples/Makefile.jawt"
18687 ac_config_commands="$ac_config_commands gen-classlist"
18689 ac_config_commands="$ac_config_commands copy-vmresources"
18691 cat >confcache <<\_ACEOF
18692 # This file is a shell script that caches the results of configure
18693 # tests run on this system so they can be shared between configure
18694 # scripts and configure runs, see configure's option --config-cache.
18695 # It is not useful on other systems. If it contains results you don't
18696 # want to keep, you may remove or edit it.
18698 # config.status only pays attention to the cache file if you give it
18699 # the --recheck option to rerun configure.
18701 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
18702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18703 # following values.
18707 # The following way of writing the cache mishandles newlines in values,
18708 # but we know of no workaround that is simple, portable, and efficient.
18709 # So, we kill variables containing newlines.
18710 # Ultrix sh set writes to stderr and can't be redirected directly,
18711 # and sets the high bit in the cache file unless we assign to the vars.
18713 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18714 eval ac_val
=\$
$ac_var
18718 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
18719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18722 _ | IFS | as_nl
) ;; #(
18723 *) $as_unset $ac_var ;;
18729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18730 *${as_nl}ac_space
=\
*)
18731 # `set' does not quote correctly, so add quotes (double-quote
18732 # substitution turns \\\\ into \\, and sed turns \\ into \).
18735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18738 # `set' quotes correctly as required by POSIX, so do not add quotes.
18739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18752 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18753 if test -w $cache_file; then
18754 test "x$cache_file" != "x/dev/null" &&
18755 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
18756 echo "$as_me: updating cache $cache_file" >&6;}
18757 cat confcache
>$cache_file
18759 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18760 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18765 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18766 # Let make expand exec_prefix.
18767 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18769 DEFS
=-DHAVE_CONFIG_H
18773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18774 # 1. Remove the extension, and $U if already installed.
18775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18776 ac_i
=`echo "$ac_i" | sed "$ac_script"`
18777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18778 # will be set to the directory where LIBOBJS objects are built.
18779 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18780 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18782 LIBOBJS
=$ac_libobjs
18784 LTLIBOBJS
=$ac_ltlibobjs
18787 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
18788 { { echo "$as_me:$LINENO: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18789 Usually this means the macro was only invoked conditionally." >&5
18790 echo "$as_me: error: conditional \"CREATE_COLLECTIONS\" was never defined.
18791 Usually this means the macro was only invoked conditionally." >&2;}
18792 { (exit 1); exit 1; }; }
18794 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
18795 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18796 Usually this means the macro was only invoked conditionally." >&5
18797 echo "$as_me: error: conditional \"CREATE_JNI_LIBRARIES\" was never defined.
18798 Usually this means the macro was only invoked conditionally." >&2;}
18799 { (exit 1); exit 1; }; }
18801 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
18802 { { echo "$as_me:$LINENO: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18803 Usually this means the macro was only invoked conditionally." >&5
18804 echo "$as_me: error: conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
18805 Usually this means the macro was only invoked conditionally." >&2;}
18806 { (exit 1); exit 1; }; }
18808 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
18809 { { echo "$as_me:$LINENO: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18810 Usually this means the macro was only invoked conditionally." >&5
18811 echo "$as_me: error: conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
18812 Usually this means the macro was only invoked conditionally." >&2;}
18813 { (exit 1); exit 1; }; }
18815 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18816 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18817 Usually this means the macro was only invoked conditionally." >&5
18818 echo "$as_me: error: conditional \"AMDEP\" was never defined.
18819 Usually this means the macro was only invoked conditionally." >&2;}
18820 { (exit 1); exit 1; }; }
18822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18823 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18824 Usually this means the macro was only invoked conditionally." >&5
18825 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18826 Usually this means the macro was only invoked conditionally." >&2;}
18827 { (exit 1); exit 1; }; }
18829 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
18830 { { echo "$as_me:$LINENO: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18831 Usually this means the macro was only invoked conditionally." >&5
18832 echo "$as_me: error: conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
18833 Usually this means the macro was only invoked conditionally." >&2;}
18834 { (exit 1); exit 1; }; }
18836 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
18837 { { echo "$as_me:$LINENO: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18838 Usually this means the macro was only invoked conditionally." >&5
18839 echo "$as_me: error: conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
18840 Usually this means the macro was only invoked conditionally." >&2;}
18841 { (exit 1); exit 1; }; }
18843 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
18844 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18845 Usually this means the macro was only invoked conditionally." >&5
18846 echo "$as_me: error: conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
18847 Usually this means the macro was only invoked conditionally." >&2;}
18848 { (exit 1); exit 1; }; }
18850 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
18851 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
18852 Usually this means the macro was only invoked conditionally." >&5
18853 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
18854 Usually this means the macro was only invoked conditionally." >&2;}
18855 { (exit 1); exit 1; }; }
18857 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
18858 { { echo "$as_me:$LINENO: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18859 Usually this means the macro was only invoked conditionally." >&5
18860 echo "$as_me: error: conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
18861 Usually this means the macro was only invoked conditionally." >&2;}
18862 { (exit 1); exit 1; }; }
18864 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
18865 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18866 Usually this means the macro was only invoked conditionally." >&5
18867 echo "$as_me: error: conditional \"CREATE_JNI_HEADERS\" was never defined.
18868 Usually this means the macro was only invoked conditionally." >&2;}
18869 { (exit 1); exit 1; }; }
18871 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18872 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18873 Usually this means the macro was only invoked conditionally." >&5
18874 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18875 Usually this means the macro was only invoked conditionally." >&2;}
18876 { (exit 1); exit 1; }; }
18878 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18879 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18880 Usually this means the macro was only invoked conditionally." >&5
18881 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18882 Usually this means the macro was only invoked conditionally." >&2;}
18883 { (exit 1); exit 1; }; }
18885 if test -z "${USER_SPECIFIED_JAVAH_TRUE}" && test -z "${USER_SPECIFIED_JAVAH_FALSE}"; then
18886 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18887 Usually this means the macro was only invoked conditionally." >&5
18888 echo "$as_me: error: conditional \"USER_SPECIFIED_JAVAH\" was never defined.
18889 Usually this means the macro was only invoked conditionally." >&2;}
18890 { (exit 1); exit 1; }; }
18892 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18893 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18894 Usually this means the macro was only invoked conditionally." >&5
18895 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18896 Usually this means the macro was only invoked conditionally." >&2;}
18897 { (exit 1); exit 1; }; }
18899 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18900 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18901 Usually this means the macro was only invoked conditionally." >&5
18902 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18903 Usually this means the macro was only invoked conditionally." >&2;}
18904 { (exit 1); exit 1; }; }
18906 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18907 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18908 Usually this means the macro was only invoked conditionally." >&5
18909 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18910 Usually this means the macro was only invoked conditionally." >&2;}
18911 { (exit 1); exit 1; }; }
18913 if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then
18914 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined.
18915 Usually this means the macro was only invoked conditionally." >&5
18916 echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined.
18917 Usually this means the macro was only invoked conditionally." >&2;}
18918 { (exit 1); exit 1; }; }
18920 if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then
18921 { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined.
18922 Usually this means the macro was only invoked conditionally." >&5
18923 echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined.
18924 Usually this means the macro was only invoked conditionally." >&2;}
18925 { (exit 1); exit 1; }; }
18927 if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then
18928 { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined.
18929 Usually this means the macro was only invoked conditionally." >&5
18930 echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined.
18931 Usually this means the macro was only invoked conditionally." >&2;}
18932 { (exit 1); exit 1; }; }
18934 if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then
18935 { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined.
18936 Usually this means the macro was only invoked conditionally." >&5
18937 echo "$as_me: error: conditional \"FOUND_KJC\" was never defined.
18938 Usually this means the macro was only invoked conditionally." >&2;}
18939 { (exit 1); exit 1; }; }
18941 if test -z "${FOUND_GCJX_TRUE}" && test -z "${FOUND_GCJX_FALSE}"; then
18942 { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJX\" was never defined.
18943 Usually this means the macro was only invoked conditionally." >&5
18944 echo "$as_me: error: conditional \"FOUND_GCJX\" was never defined.
18945 Usually this means the macro was only invoked conditionally." >&2;}
18946 { (exit 1); exit 1; }; }
18948 if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then
18949 { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18950 Usually this means the macro was only invoked conditionally." >&5
18951 echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined.
18952 Usually this means the macro was only invoked conditionally." >&2;}
18953 { (exit 1); exit 1; }; }
18955 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18956 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
18957 Usually this means the macro was only invoked conditionally." >&5
18958 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
18959 Usually this means the macro was only invoked conditionally." >&2;}
18960 { (exit 1); exit 1; }; }
18962 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
18963 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18964 Usually this means the macro was only invoked conditionally." >&5
18965 echo "$as_me: error: conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
18966 Usually this means the macro was only invoked conditionally." >&2;}
18967 { (exit 1); exit 1; }; }
18969 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
18970 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18971 Usually this means the macro was only invoked conditionally." >&5
18972 echo "$as_me: error: conditional \"INSTALL_CLASS_FILES\" was never defined.
18973 Usually this means the macro was only invoked conditionally." >&2;}
18974 { (exit 1); exit 1; }; }
18976 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
18977 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18978 Usually this means the macro was only invoked conditionally." >&5
18979 echo "$as_me: error: conditional \"BUILD_CLASS_FILES\" was never defined.
18980 Usually this means the macro was only invoked conditionally." >&2;}
18981 { (exit 1); exit 1; }; }
18983 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
18984 { { echo "$as_me:$LINENO: error: conditional \"CREATE_API_DOCS\" was never defined.
18985 Usually this means the macro was only invoked conditionally." >&5
18986 echo "$as_me: error: conditional \"CREATE_API_DOCS\" was never defined.
18987 Usually this means the macro was only invoked conditionally." >&2;}
18988 { (exit 1); exit 1; }; }
18990 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
18991 { { echo "$as_me:$LINENO: error: conditional \"REGEN_PARSERS\" was never defined.
18992 Usually this means the macro was only invoked conditionally." >&5
18993 echo "$as_me: error: conditional \"REGEN_PARSERS\" was never defined.
18994 Usually this means the macro was only invoked conditionally." >&2;}
18995 { (exit 1); exit 1; }; }
18997 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
18998 { { echo "$as_me:$LINENO: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
18999 Usually this means the macro was only invoked conditionally." >&5
19000 echo "$as_me: error: conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
19001 Usually this means the macro was only invoked conditionally." >&2;}
19002 { (exit 1); exit 1; }; }
19004 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
19005 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19006 Usually this means the macro was only invoked conditionally." >&5
19007 echo "$as_me: error: conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
19008 Usually this means the macro was only invoked conditionally." >&2;}
19009 { (exit 1); exit 1; }; }
19012 : ${CONFIG_STATUS=./config.status}
19013 ac_clean_files_save
=$ac_clean_files
19014 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19015 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19016 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19017 cat >$CONFIG_STATUS <<_ACEOF
19019 # Generated by $as_me.
19020 # Run this file to recreate the current configuration.
19021 # Compiler output produced by configure, useful for debugging
19022 # configure, is in config.log if it exists.
19025 ac_cs_recheck=false
19027 SHELL=\${CONFIG_SHELL-$SHELL}
19030 cat >>$CONFIG_STATUS <<\_ACEOF
19031 ## --------------------- ##
19032 ## M4sh Initialization. ##
19033 ## --------------------- ##
19035 # Be Bourne compatible
19036 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19039 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19040 # is contrary to our usage. Disable this feature.
19041 alias -g '${1+"$@"}'='"$@"'
19042 setopt NO_GLOB_SUBST
19044 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
19046 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
19047 DUALCASE
=1; export DUALCASE
# for MKS sh
19051 # Avoid depending upon Character Ranges.
19052 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19053 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19054 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19055 as_cr_digits
='0123456789'
19056 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19058 # The user is always right.
19059 if test "${PATH_SEPARATOR+set}" != set; then
19060 echo "#! /bin/sh" >conf$$.sh
19061 echo "exit 0" >>conf$$.sh
19063 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19071 # Support unset when possible.
19072 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19080 # We need space, tab and new line, in precisely that order. Quoting is
19081 # there to prevent editors from complaining about space-tab.
19082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19083 # splitting by setting IFS to empty value.)
19088 # Find who we are. Look in the path if we contain no directory separator.
19090 *[\\/]* ) as_myself
=$0 ;;
19091 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19092 for as_dir
in $PATH
19095 test -z "$as_dir" && as_dir
=.
19096 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19102 # We did not find ourselves, most probably we were run as `sh COMMAND'
19103 # in which case we are not to be found in the path.
19104 if test "x$as_myself" = x
; then
19107 if test ! -f "$as_myself"; then
19108 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19109 { (exit 1); exit 1; }
19112 # Work around bugs in pre-3.0 UWIN ksh.
19113 for as_var
in ENV MAIL MAILPATH
19114 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19122 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19123 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19124 LC_TELEPHONE LC_TIME
19126 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19127 eval $as_var=C
; export $as_var
19129 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
19133 # Required to use basename.
19134 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19135 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19141 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19142 as_basename
=basename
19148 # Name of the executable.
19149 as_me
=`$as_basename -- "$0" ||
19150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19151 X"$0" : 'X\(//\)$' \| \
19152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19154 sed '/^.*\/\([^/][^/]*\)\/*$/{
19173 as_lineno_1
=$LINENO
19174 as_lineno_2
=$LINENO
19175 test "x$as_lineno_1" != "x$as_lineno_2" &&
19176 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
19178 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19179 # uniformly replaced by the line number. The first 'sed' inserts a
19180 # line-number line after each line using $LINENO; the second 'sed'
19181 # does the real work. The second script uses 'N' to pair each
19182 # line-number line with the line containing $LINENO, and appends
19183 # trailing '-' during substitution so that $LINENO is not a special
19184 # case at line end.
19185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19186 # scripts with optimization help from Paolo Bonzini. Blame Lee
19187 # E. McMahon (1931-1989) for sed's syntax. :-)
19199 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19202 ' >$as_me.lineno
&&
19203 chmod +x
"$as_me.lineno" ||
19204 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19205 { (exit 1); exit 1; }; }
19207 # Don't try to exec as it changes $[0], causing all sort of problems
19208 # (the dirname of $[0] is not the place where we might find the
19209 # original and so on. Autoconf is especially sensitive to this).
19210 .
"./$as_me.lineno"
19211 # Exit status is that of the last command.
19216 if (dirname -- /) >/dev
/null
2>&1; then
19222 ECHO_C
= ECHO_N
= ECHO_T
=
19223 case `echo -n x` in
19225 case `echo 'x\c'` in
19226 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19233 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19234 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19240 rm -f conf$$ conf$$.exe conf$$.
file
19241 if test -d conf$$.dir
; then
19242 rm -f conf$$.dir
/conf$$.
file
19248 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19250 # ... but there are two gotchas:
19251 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19252 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19253 # In both cases, we have to default to `cp -p'.
19254 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19256 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19261 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19262 rmdir conf$$.dir
2>/dev
/null
19264 if mkdir
-p .
2>/dev
/null
; then
19267 test -d .
/-p && rmdir .
/-p
19271 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
19272 # systems may use methods other than mode bits to determine executability.
19273 cat >conf$$.
file <<_ASEOF
19277 chmod +x conf$$.
file
19278 if test -x conf$$.
file >/dev
/null
2>&1; then
19279 as_executable_p
="test -x"
19285 # Sed expression to map a string onto a valid CPP name.
19286 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19288 # Sed expression to map a string onto a valid variable name.
19289 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19294 # Save the log message, to keep $[0] and so on meaningful, and to
19295 # report actual input values of CONFIG_FILES etc. instead of their
19296 # values after options handling.
19298 This file was extended by GNU Classpath $as_me 0.91, which was
19299 generated by GNU Autoconf 2.59d. Invocation command line was
19301 CONFIG_FILES = $CONFIG_FILES
19302 CONFIG_HEADERS = $CONFIG_HEADERS
19303 CONFIG_LINKS = $CONFIG_LINKS
19304 CONFIG_COMMANDS = $CONFIG_COMMANDS
19307 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19312 cat >>$CONFIG_STATUS <<_ACEOF
19313 # Files that config.status was made for.
19314 config_files="$ac_config_files"
19315 config_headers="$ac_config_headers"
19316 config_links="$ac_config_links"
19317 config_commands="$ac_config_commands"
19321 cat >>$CONFIG_STATUS <<\_ACEOF
19323 \`$as_me' instantiates files from templates according to the
19324 current configuration.
19326 Usage: $0 [OPTIONS] [FILE]...
19328 -h, --help print this help, then exit
19329 -V, --version print version number, then exit
19330 -q, --quiet do not print progress messages
19331 -d, --debug don't remove temporary files
19332 --recheck update $as_me by reconfiguring in the same conditions
19333 --file=FILE[:TEMPLATE]
19334 instantiate the configuration file FILE
19335 --header=FILE[:TEMPLATE]
19336 instantiate the configuration header FILE
19338 Configuration files:
19341 Configuration headers:
19344 Configuration links:
19347 Configuration commands:
19350 Report bugs to <bug-autoconf@gnu.org>."
19353 cat >>$CONFIG_STATUS <<_ACEOF
19355 GNU Classpath config.status 0.91
19356 configured by $0, generated by GNU Autoconf 2.59d,
19357 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19359 Copyright (C) 2006 Free Software Foundation, Inc.
19360 This config.status script is free software; the Free Software Foundation
19361 gives unlimited permission to copy, distribute and modify it."
19368 cat >>$CONFIG_STATUS <<\_ACEOF
19369 # If no file are specified by the user, then we need to provide default
19370 # value. By we need to know if files were specified by the user.
19376 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19377 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19388 # Handling of the options.
19389 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19391 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19392 echo "$ac_cs_version"; exit ;;
19393 --debug |
--debu |
--deb |
--de |
--d |
-d )
19395 --file |
--fil |
--fi |
--f )
19397 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19398 ac_need_defaults
=false
;;
19399 --header |
--heade |
--head |
--hea )
19401 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19402 ac_need_defaults
=false
;;
19404 # Conflict between --help and --header
19405 { echo "$as_me: error: ambiguous option: $1
19406 Try \`$0 --help' for more information." >&2
19407 { (exit 1); exit 1; }; };;
19408 --help |
--hel |
-h )
19409 echo "$ac_cs_usage"; exit ;;
19410 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19411 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19414 # This is an error.
19415 -*) { echo "$as_me: error: unrecognized option: $1
19416 Try \`$0 --help' for more information." >&2
19417 { (exit 1); exit 1; }; } ;;
19419 *) ac_config_targets
="$ac_config_targets $1"
19420 ac_need_defaults
=false
;;
19426 ac_configure_extra_args
=
19428 if $ac_cs_silent; then
19430 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19434 cat >>$CONFIG_STATUS <<_ACEOF
19435 if \$ac_cs_recheck; then
19436 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19437 CONFIG_SHELL=$SHELL
19438 export CONFIG_SHELL
19439 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19443 cat >>$CONFIG_STATUS <<\_ACEOF
19447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19448 ## Running $as_me. ##
19454 cat >>$CONFIG_STATUS <<_ACEOF
19458 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19459 # variables for create stdint.h replacement
19462 ac_stdint_h="$ac_stdint_h"
19463 _ac_stdint_h=`echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
19464 ac_cv_stdint_message="$ac_cv_stdint_message"
19465 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
19466 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
19467 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
19468 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
19469 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19470 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19471 ac_cv_char_data_model="$ac_cv_char_data_model"
19472 ac_cv_long_data_model="$ac_cv_long_data_model"
19473 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19474 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19475 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
19480 cat >>$CONFIG_STATUS <<\_ACEOF
19482 # Handling of arguments.
19483 for ac_config_target
in $ac_config_targets
19485 case $ac_config_target in
19486 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19487 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19488 "lib/mkcollections.pl") CONFIG_FILES
="$CONFIG_FILES lib/mkcollections.pl" ;;
19489 "mkcollections.pl") CONFIG_COMMANDS
="$CONFIG_COMMANDS mkcollections.pl" ;;
19490 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
19491 "$ac_stdint_h") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ac_stdint_h" ;;
19492 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19493 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
19494 "doc/api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/api/Makefile" ;;
19495 "external/Makefile") CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
19496 "external/sax/Makefile") CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
19497 "external/w3c_dom/Makefile") CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
19498 "external/relaxngDatatype/Makefile") CONFIG_FILES
="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
19499 "gnu/classpath/Configuration.java") CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
19500 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19501 "native/Makefile") CONFIG_FILES
="$CONFIG_FILES native/Makefile" ;;
19502 "native/fdlibm/Makefile") CONFIG_FILES
="$CONFIG_FILES native/fdlibm/Makefile" ;;
19503 "native/jawt/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jawt/Makefile" ;;
19504 "native/jni/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/Makefile" ;;
19505 "native/jni/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/classpath/Makefile" ;;
19506 "native/jni/java-io/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-io/Makefile" ;;
19507 "native/jni/java-lang/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
19508 "native/jni/java-net/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-net/Makefile" ;;
19509 "native/jni/java-nio/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
19510 "native/jni/java-util/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/java-util/Makefile" ;;
19511 "native/jni/gtk-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
19512 "native/jni/qt-peer/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
19513 "native/jni/xmlj/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
19514 "native/jni/midi-alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
19515 "native/jni/midi-dssi/Makefile") CONFIG_FILES
="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
19516 "native/target/Makefile") CONFIG_FILES
="$CONFIG_FILES native/target/Makefile" ;;
19517 "native/target/Linux/Makefile") CONFIG_FILES
="$CONFIG_FILES native/target/Linux/Makefile" ;;
19518 "native/target/generic/Makefile") CONFIG_FILES
="$CONFIG_FILES native/target/generic/Makefile" ;;
19519 "resource/Makefile") CONFIG_FILES
="$CONFIG_FILES resource/Makefile" ;;
19520 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
19521 "scripts/classpath.spec") CONFIG_FILES
="$CONFIG_FILES scripts/classpath.spec" ;;
19522 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
19523 "lib/gen-classlist.sh") CONFIG_FILES
="$CONFIG_FILES lib/gen-classlist.sh" ;;
19524 "lib/copy-vmresources.sh") CONFIG_FILES
="$CONFIG_FILES lib/copy-vmresources.sh" ;;
19525 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19526 "tools/jarsigner.sh") CONFIG_FILES
="$CONFIG_FILES tools/jarsigner.sh" ;;
19527 "tools/keytool.sh") CONFIG_FILES
="$CONFIG_FILES tools/keytool.sh" ;;
19528 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
19529 "examples/Makefile.jawt") CONFIG_FILES
="$CONFIG_FILES examples/Makefile.jawt" ;;
19530 "gen-classlist") CONFIG_COMMANDS
="$CONFIG_COMMANDS gen-classlist" ;;
19531 "copy-vmresources") CONFIG_COMMANDS
="$CONFIG_COMMANDS copy-vmresources" ;;
19533 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19534 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19535 { (exit 1); exit 1; }; };;
19540 # If the user did not use the arguments to specify the items to instantiate,
19541 # then the envvar interface is used. Set only those that are not.
19542 # We use the long form for the default assignment because of an extremely
19543 # bizarre bug on SunOS 4.1.3.
19544 if $ac_need_defaults; then
19545 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19546 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19547 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
19548 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19551 # Have a temporary directory for convenience. Make it in the build tree
19552 # simply because there is no reason against having it here, and in addition,
19553 # creating and moving files from /tmp can sometimes cause problems.
19554 # Hook for its removal unless debugging.
19555 # Note that there is a small window in which the directory will not be cleaned:
19556 # after its creation but before its name has been assigned to `$tmp'.
19560 trap 'exit_status=$?
19561 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19563 trap '{ (exit 1); exit 1; }' 1 2 13 15
19565 # Create a (secure) tmp directory for tmp files.
19568 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19569 test -n "$tmp" && test -d "$tmp"
19572 tmp
=.
/conf$$
-$RANDOM
19573 (umask 077 && mkdir
"$tmp")
19576 echo "$me: cannot create a temporary directory in ." >&2
19577 { (exit 1); exit 1; }
19581 # Set up the sed scripts for CONFIG_FILES section.
19584 # No need to generate the scripts if there are no CONFIG_FILES.
19585 # This happens for instance when ./config.status config.h
19586 if test -n "$CONFIG_FILES"; then
19593 for ac_last_try
in false false false false false
:; do
19594 cat >conf$
$subs.
sed <<_ACEOF
19595 SHELL!$SHELL$ac_delim
19596 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
19597 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
19598 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
19599 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
19600 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
19601 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
19602 exec_prefix!$exec_prefix$ac_delim
19603 prefix!$prefix$ac_delim
19604 program_transform_name!$program_transform_name$ac_delim
19605 bindir!$bindir$ac_delim
19606 sbindir!$sbindir$ac_delim
19607 libexecdir!$libexecdir$ac_delim
19608 datarootdir!$datarootdir$ac_delim
19609 datadir!$datadir$ac_delim
19610 sysconfdir!$sysconfdir$ac_delim
19611 sharedstatedir!$sharedstatedir$ac_delim
19612 localstatedir!$localstatedir$ac_delim
19613 includedir!$includedir$ac_delim
19614 oldincludedir!$oldincludedir$ac_delim
19615 docdir!$docdir$ac_delim
19616 infodir!$infodir$ac_delim
19617 htmldir!$htmldir$ac_delim
19618 dvidir!$dvidir$ac_delim
19619 pdfdir!$pdfdir$ac_delim
19620 psdir!$psdir$ac_delim
19621 libdir!$libdir$ac_delim
19622 localedir!$localedir$ac_delim
19623 mandir!$mandir$ac_delim
19624 DEFS!$DEFS$ac_delim
19625 ECHO_C!$ECHO_C$ac_delim
19626 ECHO_N!$ECHO_N$ac_delim
19627 ECHO_T!$ECHO_T$ac_delim
19628 LIBS!$LIBS$ac_delim
19629 build_alias!$build_alias$ac_delim
19630 host_alias!$host_alias$ac_delim
19631 target_alias!$target_alias$ac_delim
19632 build!$build$ac_delim
19633 build_cpu!$build_cpu$ac_delim
19634 build_vendor!$build_vendor$ac_delim
19635 build_os!$build_os$ac_delim
19636 host!$host$ac_delim
19637 host_cpu!$host_cpu$ac_delim
19638 host_vendor!$host_vendor$ac_delim
19639 host_os!$host_os$ac_delim
19640 target!$target$ac_delim
19641 target_cpu!$target_cpu$ac_delim
19642 target_vendor!$target_vendor$ac_delim
19643 target_os!$target_os$ac_delim
19644 LIBVERSION!$LIBVERSION$ac_delim
19645 CLASSPATH_MODULE!$CLASSPATH_MODULE$ac_delim
19646 CLASSPATH_CONVENIENCE!$CLASSPATH_CONVENIENCE$ac_delim
19647 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
19648 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
19649 INSTALL_DATA!$INSTALL_DATA$ac_delim
19650 CYGPATH_W!$CYGPATH_W$ac_delim
19651 PACKAGE!$PACKAGE$ac_delim
19652 VERSION!$VERSION$ac_delim
19653 ACLOCAL!$ACLOCAL$ac_delim
19654 AUTOCONF!$AUTOCONF$ac_delim
19655 AUTOMAKE!$AUTOMAKE$ac_delim
19656 AUTOHEADER!$AUTOHEADER$ac_delim
19657 MAKEINFO!$MAKEINFO$ac_delim
19658 install_sh!$install_sh$ac_delim
19659 STRIP!$STRIP$ac_delim
19660 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
19661 mkdir_p!$mkdir_p$ac_delim
19663 SET_MAKE!$SET_MAKE$ac_delim
19664 am__leading_dot!$am__leading_dot$ac_delim
19665 AMTAR!$AMTAR$ac_delim
19666 am__tar!$am__tar$ac_delim
19667 am__untar!$am__untar$ac_delim
19668 CREATE_COLLECTIONS_TRUE!$CREATE_COLLECTIONS_TRUE$ac_delim
19669 CREATE_COLLECTIONS_FALSE!$CREATE_COLLECTIONS_FALSE$ac_delim
19670 CREATE_JNI_LIBRARIES_TRUE!$CREATE_JNI_LIBRARIES_TRUE$ac_delim
19671 CREATE_JNI_LIBRARIES_FALSE!$CREATE_JNI_LIBRARIES_FALSE$ac_delim
19672 CREATE_CORE_JNI_LIBRARIES_TRUE!$CREATE_CORE_JNI_LIBRARIES_TRUE$ac_delim
19673 CREATE_CORE_JNI_LIBRARIES_FALSE!$CREATE_CORE_JNI_LIBRARIES_FALSE$ac_delim
19674 default_toolkit!$default_toolkit$ac_delim
19675 CREATE_XMLJ_LIBRARY_TRUE!$CREATE_XMLJ_LIBRARY_TRUE$ac_delim
19676 CREATE_XMLJ_LIBRARY_FALSE!$CREATE_XMLJ_LIBRARY_FALSE$ac_delim
19678 CFLAGS!$CFLAGS$ac_delim
19679 LDFLAGS!$LDFLAGS$ac_delim
19680 CPPFLAGS!$CPPFLAGS$ac_delim
19681 ac_ct_CC!$ac_ct_CC$ac_delim
19682 EXEEXT!$EXEEXT$ac_delim
19683 OBJEXT!$OBJEXT$ac_delim
19684 DEPDIR!$DEPDIR$ac_delim
19685 am__include!$am__include$ac_delim
19686 am__quote!$am__quote$ac_delim
19687 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
19688 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
19689 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
19690 CCDEPMODE!$CCDEPMODE$ac_delim
19691 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
19694 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 97; then
19696 elif $ac_last_try; then
19697 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19698 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19699 { (exit 1); exit 1; }; }
19701 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
19706 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
19707 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19708 ac_eof
=`expr 0$ac_eof + 1`
19711 cat >>$CONFIG_STATUS <<_ACEOF
19712 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
19713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19716 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19717 s/^/s,@/; s/!/@,|#_!!_#|/
19720 s/'"$ac_delim"'$/,g/; t
19722 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19723 ' >>$CONFIG_STATUS <conf$
$subs.
sed
19724 rm -f conf$
$subs.
sed
19725 cat >>$CONFIG_STATUS <<_ACEOF
19731 for ac_last_try
in false false false false false
:; do
19732 cat >conf$
$subs.
sed <<_ACEOF
19733 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
19735 GREP!$GREP$ac_delim
19736 EGREP!$EGREP$ac_delim
19737 CREATE_ALSA_LIBRARIES_TRUE!$CREATE_ALSA_LIBRARIES_TRUE$ac_delim
19738 CREATE_ALSA_LIBRARIES_FALSE!$CREATE_ALSA_LIBRARIES_FALSE$ac_delim
19739 CREATE_DSSI_LIBRARIES_TRUE!$CREATE_DSSI_LIBRARIES_TRUE$ac_delim
19740 CREATE_DSSI_LIBRARIES_FALSE!$CREATE_DSSI_LIBRARIES_FALSE$ac_delim
19741 CREATE_GTK_PEER_LIBRARIES_TRUE!$CREATE_GTK_PEER_LIBRARIES_TRUE$ac_delim
19742 CREATE_GTK_PEER_LIBRARIES_FALSE!$CREATE_GTK_PEER_LIBRARIES_FALSE$ac_delim
19743 GTK_CAIRO_ENABLED!$GTK_CAIRO_ENABLED$ac_delim
19744 GTK_CAIRO_TRUE!$GTK_CAIRO_TRUE$ac_delim
19745 GTK_CAIRO_FALSE!$GTK_CAIRO_FALSE$ac_delim
19746 CREATE_QT_PEER_LIBRARIES_TRUE!$CREATE_QT_PEER_LIBRARIES_TRUE$ac_delim
19747 CREATE_QT_PEER_LIBRARIES_FALSE!$CREATE_QT_PEER_LIBRARIES_FALSE$ac_delim
19748 nativeexeclibdir!$nativeexeclibdir$ac_delim
19749 glibjdir!$glibjdir$ac_delim
19750 CREATE_JNI_HEADERS_TRUE!$CREATE_JNI_HEADERS_TRUE$ac_delim
19751 CREATE_JNI_HEADERS_FALSE!$CREATE_JNI_HEADERS_FALSE$ac_delim
19752 LN_S!$LN_S$ac_delim
19753 RANLIB!$RANLIB$ac_delim
19754 LIBTOOL!$LIBTOOL$ac_delim
19756 CXXFLAGS!$CXXFLAGS$ac_delim
19757 ac_ct_CXX!$ac_ct_CXX$ac_delim
19758 CXXDEPMODE!$CXXDEPMODE$ac_delim
19759 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
19760 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
19761 CXXCPP!$CXXCPP$ac_delim
19762 PERL!$PERL$ac_delim
19763 COLLECTIONS_PREFIX!$COLLECTIONS_PREFIX$ac_delim
19764 LIBICONV!$LIBICONV$ac_delim
19765 LTLIBICONV!$LTLIBICONV$ac_delim
19766 WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
19767 STRICT_WARNING_CFLAGS!$STRICT_WARNING_CFLAGS$ac_delim
19768 ERROR_CFLAGS!$ERROR_CFLAGS$ac_delim
19769 PKG_CONFIG!$PKG_CONFIG$ac_delim
19770 XML_CFLAGS!$XML_CFLAGS$ac_delim
19771 XML_LIBS!$XML_LIBS$ac_delim
19772 XSLT_CFLAGS!$XSLT_CFLAGS$ac_delim
19773 XSLT_LIBS!$XSLT_LIBS$ac_delim
19774 XMKMF!$XMKMF$ac_delim
19775 X_CFLAGS!$X_CFLAGS$ac_delim
19776 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
19777 X_LIBS!$X_LIBS$ac_delim
19778 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
19779 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
19780 GTK_LIBS!$GTK_LIBS$ac_delim
19781 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
19782 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
19783 FREETYPE2_CFLAGS!$FREETYPE2_CFLAGS$ac_delim
19784 FREETYPE2_LIBS!$FREETYPE2_LIBS$ac_delim
19785 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
19786 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
19787 QT_CFLAGS!$QT_CFLAGS$ac_delim
19788 QT_LIBS!$QT_LIBS$ac_delim
19790 USER_JAVAH!$USER_JAVAH$ac_delim
19791 USER_SPECIFIED_JAVAH_TRUE!$USER_SPECIFIED_JAVAH_TRUE$ac_delim
19792 USER_SPECIFIED_JAVAH_FALSE!$USER_SPECIFIED_JAVAH_FALSE$ac_delim
19793 CLASSPATH_INCLUDES!$CLASSPATH_INCLUDES$ac_delim
19795 JIKES!$JIKES$ac_delim
19796 JIKESENCODING!$JIKESENCODING$ac_delim
19797 JIKESWARNINGS!$JIKESWARNINGS$ac_delim
19799 GCJX!$GCJX$ac_delim
19801 FOUND_GCJ_TRUE!$FOUND_GCJ_TRUE$ac_delim
19802 FOUND_GCJ_FALSE!$FOUND_GCJ_FALSE$ac_delim
19803 FOUND_JIKES_TRUE!$FOUND_JIKES_TRUE$ac_delim
19804 FOUND_JIKES_FALSE!$FOUND_JIKES_FALSE$ac_delim
19805 FOUND_ECJ_TRUE!$FOUND_ECJ_TRUE$ac_delim
19806 FOUND_ECJ_FALSE!$FOUND_ECJ_FALSE$ac_delim
19807 FOUND_KJC_TRUE!$FOUND_KJC_TRUE$ac_delim
19808 FOUND_KJC_FALSE!$FOUND_KJC_FALSE$ac_delim
19809 FOUND_GCJX_TRUE!$FOUND_GCJX_TRUE$ac_delim
19810 FOUND_GCJX_FALSE!$FOUND_GCJX_FALSE$ac_delim
19811 USER_CLASSLIB!$USER_CLASSLIB$ac_delim
19812 USER_SPECIFIED_CLASSLIB_TRUE!$USER_SPECIFIED_CLASSLIB_TRUE$ac_delim
19813 USER_SPECIFIED_CLASSLIB_FALSE!$USER_SPECIFIED_CLASSLIB_FALSE$ac_delim
19814 vm_classes!$vm_classes$ac_delim
19815 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
19816 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
19817 MAINT!$MAINT$ac_delim
19818 LIBDEBUG!$LIBDEBUG$ac_delim
19819 INIT_LOAD_LIBRARY!$INIT_LOAD_LIBRARY$ac_delim
19820 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION!$JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION$ac_delim
19821 REMOVE!$REMOVE$ac_delim
19822 MKDIR!$MKDIR$ac_delim
19824 DATE!$DATE$ac_delim
19825 FIND!$FIND$ac_delim
19827 FASTJAR!$FASTJAR$ac_delim
19828 INSTALL_GLIBJ_ZIP_TRUE!$INSTALL_GLIBJ_ZIP_TRUE$ac_delim
19829 INSTALL_GLIBJ_ZIP_FALSE!$INSTALL_GLIBJ_ZIP_FALSE$ac_delim
19832 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 97; then
19834 elif $ac_last_try; then
19835 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19836 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19837 { (exit 1); exit 1; }; }
19839 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
19844 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
19845 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19846 ac_eof
=`expr 0$ac_eof + 1`
19849 cat >>$CONFIG_STATUS <<_ACEOF
19850 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
19851 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19854 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19855 s/^/s,@/; s/!/@,|#_!!_#|/
19858 s/'"$ac_delim"'$/,g/; t
19860 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19861 ' >>$CONFIG_STATUS <conf$
$subs.
sed
19862 rm -f conf$
$subs.
sed
19863 cat >>$CONFIG_STATUS <<_ACEOF
19869 for ac_last_try
in false false false false false
:; do
19870 cat >conf$
$subs.
sed <<_ACEOF
19871 INSTALL_CLASS_FILES_TRUE!$INSTALL_CLASS_FILES_TRUE$ac_delim
19872 INSTALL_CLASS_FILES_FALSE!$INSTALL_CLASS_FILES_FALSE$ac_delim
19873 BUILD_CLASS_FILES_TRUE!$BUILD_CLASS_FILES_TRUE$ac_delim
19874 BUILD_CLASS_FILES_FALSE!$BUILD_CLASS_FILES_FALSE$ac_delim
19875 EXAMPLESDIR!$EXAMPLESDIR$ac_delim
19876 GJDOC!$GJDOC$ac_delim
19877 CREATE_API_DOCS_TRUE!$CREATE_API_DOCS_TRUE$ac_delim
19878 CREATE_API_DOCS_FALSE!$CREATE_API_DOCS_FALSE$ac_delim
19880 JAY_SKELETON!$JAY_SKELETON$ac_delim
19881 REGEN_PARSERS_TRUE!$REGEN_PARSERS_TRUE$ac_delim
19882 REGEN_PARSERS_FALSE!$REGEN_PARSERS_FALSE$ac_delim
19883 USE_PREBUILT_GLIBJ_ZIP_TRUE!$USE_PREBUILT_GLIBJ_ZIP_TRUE$ac_delim
19884 USE_PREBUILT_GLIBJ_ZIP_FALSE!$USE_PREBUILT_GLIBJ_ZIP_FALSE$ac_delim
19885 PATH_TO_GLIBJ_ZIP!$PATH_TO_GLIBJ_ZIP$ac_delim
19886 ENABLE_LOCAL_SOCKETS_TRUE!$ENABLE_LOCAL_SOCKETS_TRUE$ac_delim
19887 ENABLE_LOCAL_SOCKETS_FALSE!$ENABLE_LOCAL_SOCKETS_FALSE$ac_delim
19888 LIBOBJS!$LIBOBJS$ac_delim
19889 LTLIBOBJS!$LTLIBOBJS$ac_delim
19892 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 19; then
19894 elif $ac_last_try; then
19895 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19896 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19897 { (exit 1); exit 1; }; }
19899 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
19904 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
19905 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
19906 ac_eof
=`expr 0$ac_eof + 1`
19909 cat >>$CONFIG_STATUS <<_ACEOF
19910 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
19911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
19914 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19915 s/^/s,@/; s/!/@,|#_!!_#|/
19918 s/'"$ac_delim"'$/,g/; t
19920 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19921 ' >>$CONFIG_STATUS <conf$
$subs.
sed
19922 rm -f conf$
$subs.
sed
19923 cat >>$CONFIG_STATUS <<_ACEOF
19930 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19931 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19932 # trailing colons and then remove the whole line if VPATH becomes empty
19933 # (actually we leave an empty line to preserve line numbers).
19934 if test "x$srcdir" = x.
; then
19935 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19936 s/:*\$(srcdir):*/:/
19937 s/:*\${srcdir}:*/:/
19939 s/^\([^=]*=[ ]*\):*/\1/
19945 cat >>$CONFIG_STATUS <<\_ACEOF
19946 fi # test -n "$CONFIG_FILES"
19949 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :L
$CONFIG_LINKS :C
$CONFIG_COMMANDS
19952 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19954 case $ac_mode$ac_tag in
19956 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
19957 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
19958 { (exit 1); exit 1; }; };;
19959 :[FH
]-) ac_tag
=-:-;;
19960 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19977 -) ac_f
="$tmp/stdin";;
19978 *) # Look for the file first in the build tree, then in the source tree
19979 # (if the path is not absolute). The absolute path cannot be DOS-style,
19980 # because $ac_f cannot contain `:'.
19984 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19986 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19987 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19988 { (exit 1); exit 1; }; };;
19990 ac_file_inputs
="$ac_file_inputs $ac_f"
19993 # Let's still pretend it is `configure' which instantiates (i.e., don't
19994 # use $as_me), people would be surprised to read:
19995 # /* config.h. Generated by config.status. */
19996 configure_input
="Generated from "`IFS=:
19997 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
19998 if test x
"$ac_file" != x-
; then
19999 configure_input
="$ac_file. $configure_input"
20000 { echo "$as_me:$LINENO: creating $ac_file" >&5
20001 echo "$as_me: creating $ac_file" >&6;}
20005 *:-:* |
*:-) cat >"$tmp/stdin";;
20010 ac_dir
=`$as_dirname -- "$ac_file" ||
20011 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20012 X"$ac_file" : 'X\(//\)[^/]' \| \
20013 X"$ac_file" : 'X\(//\)$' \| \
20014 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20020 /^X\(\/\/\)[^/].*/{
20035 -*) as_dir
=.
/$as_dir;;
20037 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20041 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20042 *) as_qdir
=$as_dir;;
20044 as_dirs
="'$as_qdir' $as_dirs"
20045 as_dir
=`$as_dirname -- "$as_dir" ||
20046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20047 X"$as_dir" : 'X\(//\)[^/]' \| \
20048 X"$as_dir" : 'X\(//\)$' \| \
20049 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20055 /^X\(\/\/\)[^/].*/{
20068 test -d "$as_dir" && break
20070 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20071 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20072 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20073 { (exit 1); exit 1; }; }; }
20077 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20079 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20080 # A ".." for each directory in $ac_dir_suffix.
20081 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20082 case $ac_top_builddir_sub in
20083 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20084 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20087 ac_abs_top_builddir
=$ac_pwd
20088 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20089 # for backward compatibility:
20090 ac_top_builddir
=$ac_top_build_prefix
20093 .
) # We are building in place.
20095 ac_top_srcdir
=$ac_top_builddir_sub
20096 ac_abs_top_srcdir
=$ac_pwd ;;
20097 [\\/]* | ?
:[\\/]* ) # Absolute name.
20098 ac_srcdir
=$srcdir$ac_dir_suffix;
20099 ac_top_srcdir
=$srcdir
20100 ac_abs_top_srcdir
=$srcdir ;;
20101 *) # Relative name.
20102 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20103 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20104 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20106 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20116 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20117 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20121 cat >>$CONFIG_STATUS <<\_ACEOF
20122 # If the template does not know about datarootdir, expand it.
20123 # FIXME: This hack should be removed a few years after 2.60.
20124 ac_datarootdir_hack
=
20126 case `sed -n '/datarootdir/ {
20135 ' $ac_file_inputs` in
20137 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20138 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20139 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20141 cat >>$CONFIG_STATUS <<_ACEOF
20142 ac_datarootdir_hack='
20143 s&@datadir@&$datadir&g
20144 s&@docdir@&$docdir&g
20145 s&@infodir@&$infodir&g
20146 s&@localedir@&$localedir&g
20147 s&@mandir@&$mandir&g
20148 s&\\\${datarootdir}&$datarootdir&g' ;;
20152 # Neutralize VPATH when `$srcdir' = `.'.
20153 # Shell code in configure.ac might set extrasub.
20154 # FIXME: do we really want to maintain this feature?
20155 cat >>$CONFIG_STATUS <<_ACEOF
20159 cat >>$CONFIG_STATUS <<\_ACEOF
20161 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20162 s
&@configure_input@
&$configure_input&;t t
20163 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20164 s
&@srcdir@
&$ac_srcdir&;t t
20165 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20166 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20167 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20168 s
&@builddir@
&$ac_builddir&;t t
20169 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20170 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20171 s
&@INSTALL@
&$ac_INSTALL&;t t
20172 $ac_datarootdir_hack
20173 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
20177 -) cat "$tmp/out
"; rm -f "$tmp/out
";;
20178 *) rm -f "$ac_file"; mv "$tmp/out
" $ac_file;;
20186 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D
", where
20187 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20188 # PARAMS is the parameter list in the macro definition--in most cases, it's
20189 # just an empty string.
20191 ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
20192 ac_dB='\)[ (].*$,\1define\2'
20196 ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
20199 # Transform confdefs.h into a sed script `conftest.defines', that
20200 # substitutes the proper values into config.h.in to produce config.h.
20201 rm -f conftest.defines conftest.tail
20202 # First, append a space to every undef/define line, to ease matching.
20203 echo 's/$/ /' >conftest.defines
20204 # Then, protect against being on the right side of a sed subst, or in
20205 # an unquoted here document, in config.status. If some macros were
20206 # called several times there might be several #defines for the same
20207 # symbol, which is useless. But do not sort them, since the last
20208 # AC_DEFINE must be honored.
20209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20214 s/^[ ]*#[ ]*define[ ][ ]*//
20220 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
20221 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
20222 ' >>conftest.defines
20224 # Remove the space that was appended to ease matching.
20225 # Then replace #undef with comments. This is necessary, for
20226 # example, in the case of _POSIX_SOURCE, which is predefined and required
20227 # on some systems where configure will not decide to define it.
20228 # (The regexp can be short, since the line contains either #define or #undef.)
20230 s,^[ #]*u.*,/* & */,' >>conftest.defines
20232 # Break up conftest.defines:
20233 ac_max_sed_lines=96
20235 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1
"
20236 # Second one is: sed -f defines.sed "$tmp/out1
" >"$tmp/out2
"
20237 # Third one will be: sed -f defines.sed "$tmp/out2
" >"$tmp/out1
"
20239 ac_in='$ac_file_inputs'
20240 ac_out='"$tmp/out1
"'
20241 ac_nxt='"$tmp/out2
"'
20245 # Write a here document:
20246 echo ' # First, check the format of the line:
20247 cat >"$tmp/defines.
sed" <<CEOF
20248 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
20249 /^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
20251 :def' >>$CONFIG_STATUS
20252 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20254 sed -f "$tmp/defines.
sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20255 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20256 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20257 grep . conftest.tail >/dev/null || break
20258 rm -f conftest.defines
20259 mv conftest.tail conftest.defines
20261 rm -f conftest.defines conftest.tail
20263 echo "ac_result
=$ac_in" >>$CONFIG_STATUS
20264 cat >>$CONFIG_STATUS <<\_ACEOF
20265 if test x"$ac_file" != x-; then
20266 echo "/* $configure_input */" >"$tmp/config.h
"
20267 cat "$ac_result" >>"$tmp/config.h
"
20268 if diff $ac_file "$tmp/config.h
" >/dev/null 2>&1; then
20269 { echo "$as_me:$LINENO: $ac_file is unchanged
" >&5
20270 echo "$as_me: $ac_file is unchanged
" >&6;}
20273 mv "$tmp/config.h
" $ac_file
20276 echo "/* $configure_input */"
20280 # Compute $ac_file's index in $config_headers.
20282 for _am_header in $config_headers :; do
20283 case $_am_header in
20284 $ac_file | $ac_file:* )
20287 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20290 echo "timestamp
for $ac_file" >`$as_dirname -- $ac_file ||
20291 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20292 X$ac_file : 'X\(//\)[^/]' \| \
20293 X$ac_file : 'X\(//\)$' \| \
20294 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20300 /^X\(\/\/\)[^/].*/{
20312 s/.*/./; q'`/stamp-h$_am_stamp_count
20319 { echo "$as_me:$LINENO: linking
$srcdir/$ac_source to
$ac_file" >&5
20320 echo "$as_me: linking
$srcdir/$ac_source to
$ac_file" >&6;}
20322 if test ! -r $srcdir/$ac_source; then
20323 { { echo "$as_me:$LINENO: error
: $srcdir/$ac_source: file not found
" >&5
20324 echo "$as_me: error
: $srcdir/$ac_source: file not found
" >&2;}
20325 { (exit 1); exit 1; }; }
20329 # Try a relative symlink, then a hard link, then a copy.
20331 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
20332 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
20334 ln -s $ac_rel_source $ac_file 2>/dev/null ||
20335 ln $srcdir/$ac_source $ac_file 2>/dev/null ||
20336 cp -p $srcdir/$ac_source $ac_file ||
20337 { { echo "$as_me:$LINENO: error
: cannot link or copy
$srcdir/$ac_source to
$ac_file" >&5
20338 echo "$as_me: error
: cannot link or copy
$srcdir/$ac_source to
$ac_file" >&2;}
20339 { (exit 1); exit 1; }; }
20341 :C) { echo "$as_me:$LINENO: executing
$ac_file commands
" >&5
20342 echo "$as_me: executing
$ac_file commands
" >&6;}
20347 case $ac_file$ac_mode in
20348 "depfiles
":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20349 # Strip MF so we end up with the name of the file.
20350 mf=`echo "$mf" | sed -e 's/:.*$//'`
20351 # Check whether this is an Automake generated Makefile or not.
20352 # We used to match only the files named `Makefile.in', but
20353 # some people rename them; so instead we look at the file content.
20354 # Grep'ing the first line is not enough: some people post-process
20355 # each Makefile.in and add a new line on top of each file to say so.
20356 # So let's grep whole file.
20357 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20358 dirpart=`$as_dirname -- "$mf" ||
20359 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20360 X"$mf" : 'X\(//\)[^/]' \| \
20361 X"$mf" : 'X\(//\)$' \| \
20362 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20368 /^X\(\/\/\)[^/].*/{
20384 # Extract the definition of DEPDIR, am__include, and am__quote
20385 # from the Makefile without running `make'.
20386 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20387 test -z "$DEPDIR" && continue
20388 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20389 test -z "am__include
" && continue
20390 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20391 # When using ansi2knr, U may be empty or an underscore; expand it
20392 U=`sed -n 's/^U = //p' < "$mf"`
20393 # Find all dependency output files, they are included files with
20394 # $(DEPDIR) in their names. We invoke sed twice because it is the
20395 # simplest approach to changing $(DEPDIR) to its actual value in the
20397 for file in `sed -n "
20398 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
20399 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20400 # Make sure the directory exists.
20401 test -f "$dirpart/$file" && continue
20402 fdir=`$as_dirname -- "$file" ||
20403 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20404 X"$file" : 'X\(//\)[^/]' \| \
20405 X"$file" : 'X\(//\)$' \| \
20406 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20412 /^X\(\/\/\)[^/].*/{
20425 { as_dir=$dirpart/$fdir
20427 -*) as_dir=./$as_dir;;
20429 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20433 *\'*) as_qdir=`echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #(
20434 *) as_qdir=$as_dir;;
20436 as_dirs="'$as_qdir' $as_dirs"
20437 as_dir=`$as_dirname -- "$as_dir" ||
20438 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20439 X"$as_dir" : 'X\(//\)[^/]' \| \
20440 X"$as_dir" : 'X\(//\)$' \| \
20441 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20447 /^X\(\/\/\)[^/].*/{
20460 test -d "$as_dir" && break
20462 test -z "$as_dirs" || eval "mkdir
$as_dirs"
20463 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
20464 echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
20465 { (exit 1); exit 1; }; }; }
20466 # echo "creating
$dirpart/$file"
20467 echo '# dummy' > "$dirpart/$file"
20471 "mkcollections.pl
":C) chmod 755 lib/mkcollections.pl ;;
20473 { echo "$as_me:$LINENO: creating
$ac_stdint_h : $_ac_stdint_h" >&5
20474 echo "$as_me: creating
$ac_stdint_h : $_ac_stdint_h" >&6;}
20475 ac_stdint=$tmp/_stdint.h
20477 echo "#ifndef" $_ac_stdint_h >$ac_stdint
20478 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
20479 echo "#ifndef" _GENERATED_STDINT_H
>>$ac_stdint
20480 echo "#define" _GENERATED_STDINT_H
'"'$PACKAGE $VERSION'"' >>$ac_stdint
20481 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
20482 if test "_$ac_cv_header_stdint_t" != "_" ; then
20483 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
20484 echo "#include <stdint.h>" >>$ac_stdint
20485 echo "#endif" >>$ac_stdint
20486 echo "#endif" >>$ac_stdint
20489 cat >>$ac_stdint <<STDINT_EOF
20491 /* ................... shortcircuit part ........................... */
20493 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
20494 #include <stdint.h>
20496 #include <stddef.h>
20498 /* .................... configured part ............................ */
20502 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
20503 if test "_$ac_cv_header_stdint_x" != "_" ; then
20504 ac_header
="$ac_cv_header_stdint_x"
20505 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
20507 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
20510 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
20511 if test "_$ac_cv_header_stdint_o" != "_" ; then
20512 ac_header
="$ac_cv_header_stdint_o"
20513 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
20515 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
20518 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
20519 if test "_$ac_cv_header_stdint_u" != "_" ; then
20520 ac_header
="$ac_cv_header_stdint_u"
20521 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
20523 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
20526 echo "" >>$ac_stdint
20528 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
20529 echo "#include <$ac_header>" >>$ac_stdint
20530 echo "" >>$ac_stdint
20533 echo "/* which 64bit typedef has been found */" >>$ac_stdint
20534 if test "$ac_cv_type_uint64_t" = "yes" ; then
20535 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
20537 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
20539 if test "$ac_cv_type_u_int64_t" = "yes" ; then
20540 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
20542 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
20544 echo "" >>$ac_stdint
20546 echo "/* which type model has been detected */" >>$ac_stdint
20547 if test "_$ac_cv_char_data_model" != "_" ; then
20548 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
20549 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
20551 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
20552 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
20554 echo "" >>$ac_stdint
20556 echo "/* whether int_least types were detected */" >>$ac_stdint
20557 if test "$ac_cv_type_int_least32_t" = "yes"; then
20558 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
20560 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
20562 echo "/* whether int_fast types were detected */" >>$ac_stdint
20563 if test "$ac_cv_type_int_fast32_t" = "yes"; then
20564 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
20566 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
20568 echo "/* whether intmax_t type was detected */" >>$ac_stdint
20569 if test "$ac_cv_type_intmax_t" = "yes"; then
20570 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
20572 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
20574 echo "" >>$ac_stdint
20576 cat >>$ac_stdint <<STDINT_EOF
20577 /* .................... detections part ............................ */
20579 /* whether we need to define bitspecific types from compiler base types */
20580 #ifndef _STDINT_HEADER_INTPTR
20581 #ifndef _STDINT_HEADER_UINT32
20582 #ifndef _STDINT_HEADER_U_INT32
20583 #define _STDINT_NEED_INT_MODEL_T
20585 #define _STDINT_HAVE_U_INT_TYPES
20590 #ifdef _STDINT_HAVE_U_INT_TYPES
20591 #undef _STDINT_NEED_INT_MODEL_T
20594 #ifdef _STDINT_CHAR_MODEL
20595 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
20596 #ifndef _STDINT_BYTE_MODEL
20597 #define _STDINT_BYTE_MODEL 12
20602 #ifndef _STDINT_HAVE_INT_LEAST32_T
20603 #define _STDINT_NEED_INT_LEAST_T
20606 #ifndef _STDINT_HAVE_INT_FAST32_T
20607 #define _STDINT_NEED_INT_FAST_T
20610 #ifndef _STDINT_HEADER_INTPTR
20611 #define _STDINT_NEED_INTPTR_T
20612 #ifndef _STDINT_HAVE_INTMAX_T
20613 #define _STDINT_NEED_INTMAX_T
20618 /* .................... definition part ............................ */
20620 /* some system headers have good uint64_t */
20621 #ifndef _HAVE_UINT64_T
20622 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
20623 #define _HAVE_UINT64_T
20624 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
20625 #define _HAVE_UINT64_T
20626 typedef u_int64_t uint64_t;
20630 #ifndef _HAVE_UINT64_T
20631 /* .. here are some common heuristics using compiler runtime specifics */
20632 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
20633 #define _HAVE_UINT64_T
20634 #define _HAVE_LONGLONG_UINT64_T
20635 typedef long long int64_t;
20636 typedef unsigned long long uint64_t;
20638 #elif !defined __STRICT_ANSI__
20639 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20640 #define _HAVE_UINT64_T
20641 typedef __int64 int64_t;
20642 typedef unsigned __int64 uint64_t;
20644 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
20645 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
20646 #if !defined _NO_LONGLONG
20647 #define _HAVE_UINT64_T
20648 #define _HAVE_LONGLONG_UINT64_T
20649 typedef long long int64_t;
20650 typedef unsigned long long uint64_t;
20653 #elif defined __alpha || (defined __mips && defined _ABIN32)
20654 #if !defined _NO_LONGLONG
20655 typedef long int64_t;
20656 typedef unsigned long uint64_t;
20658 /* compiler/cpu type to define int64_t */
20663 #if defined _STDINT_HAVE_U_INT_TYPES
20664 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
20665 typedef u_int8_t uint8_t;
20666 typedef u_int16_t uint16_t;
20667 typedef u_int32_t uint32_t;
20669 /* glibc compatibility */
20670 #ifndef __int8_t_defined
20671 #define __int8_t_defined
20675 #ifdef _STDINT_NEED_INT_MODEL_T
20676 /* we must guess all the basic types. Apart from byte-adressable system, */
20677 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
20678 /* (btw, those nibble-addressable systems are way off, or so we assume) */
20681 #if defined _STDINT_BYTE_MODEL
20682 #if _STDINT_LONG_MODEL+0 == 242
20683 /* 2:4:2 = IP16 = a normal 16-bit system */
20684 typedef unsigned char uint8_t;
20685 typedef unsigned short uint16_t;
20686 typedef unsigned long uint32_t;
20687 #ifndef __int8_t_defined
20688 #define __int8_t_defined
20689 typedef char int8_t;
20690 typedef short int16_t;
20691 typedef long int32_t;
20693 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
20694 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
20695 /* 4:4:4 = ILP32 = a normal 32-bit system */
20696 typedef unsigned char uint8_t;
20697 typedef unsigned short uint16_t;
20698 typedef unsigned int uint32_t;
20699 #ifndef __int8_t_defined
20700 #define __int8_t_defined
20701 typedef char int8_t;
20702 typedef short int16_t;
20703 typedef int int32_t;
20705 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
20706 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
20707 /* 4:8:8 = LP64 = a normal 64-bit system */
20708 typedef unsigned char uint8_t;
20709 typedef unsigned short uint16_t;
20710 typedef unsigned int uint32_t;
20711 #ifndef __int8_t_defined
20712 #define __int8_t_defined
20713 typedef char int8_t;
20714 typedef short int16_t;
20715 typedef int int32_t;
20717 /* this system has a "long" of 64bit */
20718 #ifndef _HAVE_UINT64_T
20719 #define _HAVE_UINT64_T
20720 typedef unsigned long uint64_t;
20721 typedef long int64_t;
20723 #elif _STDINT_LONG_MODEL+0 == 448
20724 /* LLP64 a 64-bit system derived from a 32-bit system */
20725 typedef unsigned char uint8_t;
20726 typedef unsigned short uint16_t;
20727 typedef unsigned int uint32_t;
20728 #ifndef __int8_t_defined
20729 #define __int8_t_defined
20730 typedef char int8_t;
20731 typedef short int16_t;
20732 typedef int int32_t;
20734 /* assuming the system has a "long long" */
20735 #ifndef _HAVE_UINT64_T
20736 #define _HAVE_UINT64_T
20737 #define _HAVE_LONGLONG_UINT64_T
20738 typedef unsigned long long uint64_t;
20739 typedef long long int64_t;
20742 #define _STDINT_NO_INT32_T
20745 #define _STDINT_NO_INT8_T
20746 #define _STDINT_NO_INT32_T
20751 * quote from SunOS-5.8 sys/inttypes.h:
20752 * Use at your own risk. As of February 1996, the committee is squarely
20753 * behind the fixed sized types; the "least" and "fast" types are still being
20754 * discussed. The probability that the "fast" types may be removed before
20755 * the standard is finalized is high enough that they are not currently
20759 #if defined _STDINT_NEED_INT_LEAST_T
20760 typedef int8_t int_least8_t;
20761 typedef int16_t int_least16_t;
20762 typedef int32_t int_least32_t;
20763 #ifdef _HAVE_UINT64_T
20764 typedef int64_t int_least64_t;
20767 typedef uint8_t uint_least8_t;
20768 typedef uint16_t uint_least16_t;
20769 typedef uint32_t uint_least32_t;
20770 #ifdef _HAVE_UINT64_T
20771 typedef uint64_t uint_least64_t;
20776 #if defined _STDINT_NEED_INT_FAST_T
20777 typedef int8_t int_fast8_t;
20778 typedef int int_fast16_t;
20779 typedef int32_t int_fast32_t;
20780 #ifdef _HAVE_UINT64_T
20781 typedef int64_t int_fast64_t;
20784 typedef uint8_t uint_fast8_t;
20785 typedef unsigned uint_fast16_t;
20786 typedef uint32_t uint_fast32_t;
20787 #ifdef _HAVE_UINT64_T
20788 typedef uint64_t uint_fast64_t;
20793 #ifdef _STDINT_NEED_INTMAX_T
20794 #ifdef _HAVE_UINT64_T
20795 typedef int64_t intmax_t;
20796 typedef uint64_t uintmax_t;
20798 typedef long intmax_t;
20799 typedef unsigned long uintmax_t;
20803 #ifdef _STDINT_NEED_INTPTR_T
20804 #ifndef __intptr_t_defined
20805 #define __intptr_t_defined
20806 /* we encourage using "long" to store pointer values, never use "int" ! */
20807 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
20808 typedef unsigned int uintptr_t;
20809 typedef int intptr_t;
20810 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
20811 typedef unsigned long uintptr_t;
20812 typedef long intptr_t;
20813 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
20814 typedef uint64_t uintptr_t;
20815 typedef int64_t intptr_t;
20816 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
20817 typedef unsigned long uintptr_t;
20818 typedef long intptr_t;
20823 /* The ISO C99 standard specifies that in C++ implementations these
20824 should only be defined if explicitly requested. */
20825 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
20829 # define INT8_C(c) c
20830 # define INT16_C(c) c
20831 # define INT32_C(c) c
20832 # ifdef _HAVE_LONGLONG_UINT64_T
20833 # define INT64_C(c) c ## L
20835 # define INT64_C(c) c ## LL
20839 # define UINT8_C(c) c ## U
20840 # define UINT16_C(c) c ## U
20841 # define UINT32_C(c) c ## U
20842 # ifdef _HAVE_LONGLONG_UINT64_T
20843 # define UINT64_C(c) c ## UL
20845 # define UINT64_C(c) c ## ULL
20848 /* Maximal type. */
20849 # ifdef _HAVE_LONGLONG_UINT64_T
20850 # define INTMAX_C(c) c ## L
20851 # define UINTMAX_C(c) c ## UL
20853 # define INTMAX_C(c) c ## LL
20854 # define UINTMAX_C(c) c ## ULL
20857 /* literalnumbers */
20861 /* These limits are merily those of a two complement byte-oriented system */
20863 /* Minimum of signed integral types. */
20864 # define INT8_MIN (-128)
20865 # define INT16_MIN (-32767-1)
20866 # define INT32_MIN (-2147483647-1)
20867 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
20868 /* Maximum of signed integral types. */
20869 # define INT8_MAX (127)
20870 # define INT16_MAX (32767)
20871 # define INT32_MAX (2147483647)
20872 # define INT64_MAX (__INT64_C(9223372036854775807))
20874 /* Maximum of unsigned integral types. */
20875 # define UINT8_MAX (255)
20876 # define UINT16_MAX (65535)
20877 # define UINT32_MAX (4294967295U)
20878 # define UINT64_MAX (__UINT64_C(18446744073709551615))
20880 /* Minimum of signed integral types having a minimum size. */
20881 # define INT_LEAST8_MIN INT8_MIN
20882 # define INT_LEAST16_MIN INT16_MIN
20883 # define INT_LEAST32_MIN INT32_MIN
20884 # define INT_LEAST64_MIN INT64_MIN
20885 /* Maximum of signed integral types having a minimum size. */
20886 # define INT_LEAST8_MAX INT8_MAX
20887 # define INT_LEAST16_MAX INT16_MAX
20888 # define INT_LEAST32_MAX INT32_MAX
20889 # define INT_LEAST64_MAX INT64_MAX
20891 /* Maximum of unsigned integral types having a minimum size. */
20892 # define UINT_LEAST8_MAX UINT8_MAX
20893 # define UINT_LEAST16_MAX UINT16_MAX
20894 # define UINT_LEAST32_MAX UINT32_MAX
20895 # define UINT_LEAST64_MAX UINT64_MAX
20904 if cmp -s $ac_stdint_h $ac_stdint 2>/dev
/null
; then
20905 { echo "$as_me:$LINENO: $ac_stdint_h is unchanged" >&5
20906 echo "$as_me: $ac_stdint_h is unchanged" >&6;}
20908 ac_dir
=`$as_dirname -- "$ac_stdint_h" ||
20909 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20910 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
20911 X"$ac_stdint_h" : 'X\(//\)$' \| \
20912 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
20913 echo X"$ac_stdint_h" |
20914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20918 /^X\(\/\/\)[^/].*/{
20933 -*) as_dir
=.
/$as_dir;;
20935 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20939 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20940 *) as_qdir
=$as_dir;;
20942 as_dirs
="'$as_qdir' $as_dirs"
20943 as_dir
=`$as_dirname -- "$as_dir" ||
20944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20945 X"$as_dir" : 'X\(//\)[^/]' \| \
20946 X"$as_dir" : 'X\(//\)$' \| \
20947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20953 /^X\(\/\/\)[^/].*/{
20966 test -d "$as_dir" && break
20968 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20969 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20970 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20971 { (exit 1); exit 1; }; }; }
20973 mv $ac_stdint $ac_stdint_h
20976 "gen-classlist":C
) chmod 755 lib
/gen-classlist.sh
;;
20977 "copy-vmresources":C
) chmod 755 lib
/copy-vmresources.sh
;;
20983 { (exit 0); exit 0; }
20985 chmod +x
$CONFIG_STATUS
20986 ac_clean_files
=$ac_clean_files_save
20989 # configure is writing to config.log, and then calls config.status.
20990 # config.status does its own redirection, appending to config.log.
20991 # Unfortunately, on DOS this fails, as config.log is still kept open
20992 # by configure, so config.status won't be able to write to it; its
20993 # output is simply discarded. So we exec the FD to /dev/null,
20994 # effectively closing config.log, so it can be properly (re)opened and
20995 # appended to by config.status. When coming back to configure, we
20996 # need to make the FD available again.
20997 if test "$no_create" != yes; then
20999 ac_config_status_args
=
21000 test "$silent" = yes &&
21001 ac_config_status_args
="$ac_config_status_args --quiet"
21003 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21005 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21006 # would make configure fail if this is the last instruction.
21007 $ac_cs_success ||
{ (exit 1); exit 1; }