version 1.7, 1997/05/16 09:56:35
|
version 1.8, 1997/06/11 16:08:19
|
Line 400 dnl
|
Line 400 dnl
|
|
|
AC_ARG_ENABLE(java, [ --enable-java Add Kaffe Java virtual machine]) |
AC_ARG_ENABLE(java, [ --enable-java Add Kaffe Java virtual machine]) |
AC_ARG_ENABLE(plugin, [ --enable-plugin Add Netscape Plug-Ins support]) |
AC_ARG_ENABLE(plugin, [ --enable-plugin Add Netscape Plug-Ins support]) |
|
AC_ARG_ENABLE(xml, [ --enable-xml Add XML support ]) |
|
|
|
dnl |
|
dnl java is enable by default |
|
dnl |
if test "$enable_java" = "no" ; then |
if test "$enable_java" = "no" ; then |
with_java="no" |
with_java="no" |
else |
else |
with_java="yes" |
with_java="yes" |
fi |
fi |
|
|
|
dnl |
|
dnl plugins are disabled by default |
|
dnl |
if test "$enable_plugin" = "yes" ; then |
if test "$enable_plugin" = "yes" ; then |
with_plugin="yes" |
with_plugin="yes" |
else |
else |
with_plugin="no" |
with_plugin="no" |
fi |
fi |
|
|
|
dnl |
|
dnl xml is disabled by default |
|
dnl |
|
if test "$enable_xml" = "yes" ; then |
|
with_xml="yes" |
|
else |
|
with_xml="no" |
|
fi |
|
|
if test "$build_amaya" = "yes" ; then |
if test "$build_amaya" = "yes" ; then |
if test ! -f $srcdir/kaffe-$KAFFE_VER/Makefile.in ; then |
if test ! -f $srcdir/kaffe-$KAFFE_VER/Makefile.in ; then |
if test "$with_java" = "yes" ; then |
if test "$with_java" = "yes" ; then |
Line 434 if test "$build_amaya" = "yes" ; then
|
Line 451 if test "$build_amaya" = "yes" ; then
|
build_amaya="no" |
build_amaya="no" |
fi |
fi |
fi |
fi |
|
|
|
if test ! -f $srcdir/amaya/MathML.S ; then |
|
if test "$with_xml" = "yes" ; then |
|
AC_MSG_WARN(MathML sources not found !!) |
|
AC_MSG_WARN(Disabling XML build !) |
|
with_xml="no" |
|
XML_OPTIONS= |
|
fi |
|
fi |
fi |
fi |
|
|
dnl |
dnl |
Line 441 dnl The options for each library or bina
|
Line 467 dnl The options for each library or bina
|
dnl |
dnl |
|
|
THOT_OPTIONS= |
THOT_OPTIONS= |
AMAYA_OPTIONS="-DCOUGAR" |
AMAYA_OPTIONS="-DCOUGAR" $XML_OPTIONS |
PLUGIN_OPTIONS="-DPLUGIN_TRACE -DXP_UNIX" |
PLUGIN_OPTIONS="-DPLUGIN_TRACE -DXP_UNIX" |
dnl JAVA_OPTIONS="-DDEBUG_KAFFE -DDEBUG_LOCK -DDEBUG_SELECT -DDEBUG_SELECT_CHANNELS -DDEBUG_TIMING -DSYNC_DNS" |
dnl JAVA_OPTIONS="-DDEBUG_KAFFE -DDEBUG_LOCK -DDEBUG_SELECT -DDEBUG_SELECT_CHANNELS -DDEBUG_TIMING -DSYNC_DNS" |
JAVA_OPTIONS= |
JAVA_OPTIONS= |
Line 508 else
|
Line 534 else
|
fi |
fi |
|
|
if test "$with_java" = "yes" ; then |
if test "$with_java" = "yes" ; then |
AC_SUBST_FILE(java_frag)dnl |
AC_SUBST_FILE(java_frag) |
java_frag=$srcdir/javalib/Makefile.java |
java_frag=$srcdir/javalib/Makefile.java |
AC_SUBST_FILE(www_frag) |
AC_SUBST_FILE(www_frag) |
www_frag=/dev/null |
www_frag=/dev/null |
Line 519 else
|
Line 545 else
|
www_frag=$srcdir/amaya/Makefile.libwww |
www_frag=$srcdir/amaya/Makefile.libwww |
fi |
fi |
|
|
|
if test "$with_xml" = "yes" ; then |
|
AC_SUBST_FILE(xml_frag) |
|
xml_frag=$srcdir/amaya/Makefile.xml |
|
else |
|
AC_SUBST_FILE(xml_frag) |
|
xml_frag=/dev/null |
|
fi |
|
|
dnl *************************************************************** |
dnl *************************************************************** |
dnl |
dnl |
dnl FINAL STEP : PRODUCE ALL THE MAKEFILES AND CONFIG FILES |
dnl FINAL STEP : PRODUCE ALL THE MAKEFILES AND CONFIG FILES |
Line 656 if test "$build_amaya" = "yes" ; then
|
Line 690 if test "$build_amaya" = "yes" ; then
|
echo Amaya configured with Plugins support |
echo Amaya configured with Plugins support |
fi |
fi |
fi |
fi |
|
if test "$with_xml" = "yes" ; then |
|
echo Amaya configured with XML support |
|
fi |
fi |
fi |
|
|
if test "$no_motif" = yes ; then |
if test "$no_motif" = yes ; then |