Diff for /Amaya/configure.in between versions 1.8 and 1.9

version 1.8, 1997/06/11 16:08:19 version 1.9, 1997/06/20 12:09:18
Line 323  if test "$with_insure" = "yes" ; then Line 323  if test "$with_insure" = "yes" ; then
 fi  fi
   
 dnl  dnl
 dnl Adjust the CFLAGS depending on the host and compiler  dnl Adjust the some variables depending on the host and compiler
 dnl Thot NEED unsigned chars !!!  dnl Thot NEED signed chars !!!
 dnl  dnl
   
   KAFFE_ENGINE=""
 if test "${CC}" = "gcc" ; then  if test "${CC}" = "gcc" ; then
   CFLAGS="${CFLAGS} -Wall "    CFLAGS="${CFLAGS} -Wall "
   case "${host}" in    case "${host}" in
       *-*-irix5* | *-*irix6* )        *-*-irix5* | *-*irix6* )
          CFLAGS="${CFLAGS} -fsigned-char"           CFLAGS="${CFLAGS} -fsigned-char"
       ;;        ;;
         *solaris* )
            KAFFE_ENGINE="--with-engine=intrp"
         ;;
   esac    esac
 fi  fi
   
Line 399  dnl use AC_CONFIG_SUBDIRS to launch conf Line 403  dnl use AC_CONFIG_SUBDIRS to launch conf
 dnl  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(intr, [  --enable-intr           Use Kaffe Java Interpreter])
   AC_ARG_ENABLE(jit, [  --enable-jit            Use Kaffe Java JIT Compiler])
 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 ])  AC_ARG_ENABLE(xml, [  --enable-xml            Add XML support ])
   
 dnl  dnl
   dnl Check for the Kaffe engine to use : interpreter of JIT
   dnl
   if test "$enable_intr" = "yes" ; then
       with_java="yes"
       KAFFE_ENGINE="--with-engine=intrp"
   fi
   if test "$enable_intr" = "no" ; then
       with_java="yes"
       KAFFE_ENGINE="--with-engine=jit"
   fi
   if test "$enable_jit" = "yes" ; then
       with_java="yes"
       KAFFE_ENGINE="--with-engine=jit"
   fi
   if test "$enable_jit" = "no" ; then
       with_java="yes"
       KAFFE_ENGINE="--with-engine=intr"
   fi
   
   
   dnl
 dnl java is enable by default  dnl java is enable by default
 dnl  dnl
 if test "$enable_java" = "no" ; then  if test "$enable_java" = "no" ; then
Line 509  AC_SUBST(KAFFE_VER) Line 536  AC_SUBST(KAFFE_VER)
 AC_SUBST(CEXTRACT_VER)  AC_SUBST(CEXTRACT_VER)
 AC_SUBST(CEXTRACT_FLAGS)  AC_SUBST(CEXTRACT_FLAGS)
   
   AC_SUBST(KAFFE_ENGINE)
   
 AC_SUBST(THOTINCLUDES)  AC_SUBST(THOTINCLUDES)
 AC_SUBST(APIINCLUDES)  AC_SUBST(APIINCLUDES)
 AC_SUBST(VPATHOPT)  AC_SUBST(VPATHOPT)
Line 682  if test "$build_amaya" = "yes" ; then Line 711  if test "$build_amaya" = "yes" ; then
         AC_MSG_WARN(Beware this combination doesn't work well)          AC_MSG_WARN(Beware this combination doesn't work well)
     else      else
         if test "$with_java" = "yes" ; then          if test "$with_java" = "yes" ; then
             echo Amaya configured with Java support              if test "$KAFFE_ENGINE" = "--with-engine=jit" ;  then
                  echo Amaya configured with Java JIT support
               else
                   if test "$KAFFE_ENGINE" = "--with-engine=intr" ;  then
                       echo Amaya configured with Java interpreter support
                   else
                       echo Amaya configured with Java support
                   fi
               fi
         else          else
             echo Amaya configured with libWWW              echo Amaya configured with libWWW
         fi          fi

Removed from v.1.8  
changed lines
  Added in v.1.9


Webmaster