version 1.12, 1997/07/01 14:16:23
|
version 1.13, 1997/07/02 09:50:57
|
Line 327 dnl Adjust the some variables depending
|
Line 327 dnl Adjust the some variables depending
|
dnl Thot NEED signed chars !!! |
dnl Thot NEED signed chars !!! |
dnl |
dnl |
|
|
|
default_www_access="libwww" |
|
|
KAFFE_ENGINE="" |
KAFFE_ENGINE="" |
if test "${CC}" = "gcc" ; then |
if test "${CC}" = "gcc" ; then |
CFLAGS="${CFLAGS} -Wall " |
CFLAGS="${CFLAGS} -Wall " |
Line 334 if test "${CC}" = "gcc" ; then
|
Line 336 if test "${CC}" = "gcc" ; then
|
*-*-irix5* | *-*irix6* ) |
*-*-irix5* | *-*irix6* ) |
CFLAGS="${CFLAGS} -fsigned-char" |
CFLAGS="${CFLAGS} -fsigned-char" |
;; |
;; |
|
*linux* ) |
|
default_www_access="java" |
|
;; |
|
*solaris* ) |
|
default_www_access="java" |
|
;; |
esac |
esac |
fi |
fi |
|
|
Line 408 AC_ARG_ENABLE(math, [ --enable-math
|
Line 416 AC_ARG_ENABLE(math, [ --enable-math
|
dnl |
dnl |
dnl Check for the Kaffe engine to use : interpreter or JIT |
dnl Check for the Kaffe engine to use : interpreter or JIT |
dnl |
dnl |
|
|
|
with_java="" |
if test "$enable_intr" = "yes" ; then |
if test "$enable_intr" = "yes" ; then |
with_java="yes" |
with_java="yes" |
KAFFE_ENGINE="--with-engine=intrp" |
KAFFE_ENGINE="--with-engine=intrp" |
Line 427 fi
|
Line 437 fi
|
|
|
|
|
dnl |
dnl |
dnl java is enable by default |
dnl java is enable by default on Linux and Solaris |
|
dnl targets only. |
dnl |
dnl |
if test "$enable_java" = "no" ; then |
|
with_java="no" |
if test "$with_java" = "" ; then |
else |
if test "default_www_access" = "libwww" ; then |
with_java="yes" |
if test "$enable_java" = "yes" ; then |
|
with_java="yes" |
|
else |
|
with_java="no" |
|
fi |
|
else |
|
if test "$enable_java" = "no" ; then |
|
with_java="no" |
|
else |
|
with_java="yes" |
|
fi |
|
fi |
fi |
fi |
|
|
dnl |
dnl |
dnl plugins are disabled by default if using java else enabled by default |
dnl plugins support is disabled by default if using java |
|
dnl otherwise it is enabled by default |
dnl |
dnl |
if test "$with_java" = "yes" ; then |
|
if test "$enable_plugin" = "yes" ; then |
if test "$with_plugin" = "" ; then |
with_plugin="yes" |
if test "$with_java" = "yes" ; then |
else |
if test "$enable_plugin" = "yes" ; then |
with_plugin="no" |
with_plugin="yes" |
fi |
else |
else |
with_plugin="no" |
if test "$enable_plugin" = "no" ; then |
fi |
with_plugin="no" |
else |
else |
if test "$enable_plugin" = "no" ; then |
with_plugin="yes" |
with_plugin="no" |
fi |
else |
|
with_plugin="yes" |
|
fi |
|
fi |
fi |
fi |
|
|
dnl |
dnl |
dnl math is enabled by default |
dnl math is enabled by default |
dnl |
dnl |
if test "$enable_math" = "no" ; then |
if test "$with_math" = "" ; then |
with_math="no" |
if test "$enable_math" = "no" ; then |
else |
with_math="no" |
with_math="yes" |
else |
|
with_math="yes" |
|
fi |
fi |
fi |
|
|
if test "$build_amaya" = "yes" ; then |
if test "$build_amaya" = "yes" ; then |