commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r292274 - in /jakarta/commons/proper/daemon/trunk/src/native/unix: configure.in support/apjava.m4
Date Wed, 28 Sep 2005 19:26:17 GMT
Author: jfclere
Date: Wed Sep 28 12:26:12 2005
New Revision: 292274

URL: http://svn.apache.org/viewcvs?rev=292274&view=rev
Log:
Add detection of kaffe.

Modified:
    jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in
    jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in?rev=292274&r1=292273&r2=292274&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/configure.in Wed Sep 28 12:26:12 2005
@@ -76,6 +76,7 @@
 AP_MSG_HEADER([Java compilation tools])
 AP_JAVA()
 AP_SABLEVM()
+AP_KAFFE()
 AP_PROG_JAVAC()
 AP_PROG_JAR()
 if test "$supported_os" != "darwin"

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4?rev=292274&r1=292273&r2=292274&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4 (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/support/apjava.m4 Wed Sep 28 12:26:12
2005
@@ -103,3 +103,17 @@
     fi
   fi
 ])
+
+dnl check if the JVM in JAVA_HOME is kaffe
+dnl $JAVA_HOME/bin/kaffe is tested.
+AC_DEFUN([AP_KAFFE],[
+  if test x"$JAVA_HOME" != x
+  then
+    AC_PATH_PROG(KAFFEVM,kaffe,NONE,$JAVA_HOME/bin)
+    if test "$KAFFEVM" != "NONE"
+    then
+      AC_MSG_RESULT([Using kaffe: $KAFFEVM])
+      CFLAGS="$CFLAGS -DHAVE_KAFFEVM"
+    fi
+  fi
+])



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message