public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Facilitate dancing in the streets (when JAVAC=gcj --enable-jar-compile).
@ 2007-12-07  3:23 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2007-12-07  3:23 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  af8def376f0ce3d3f216c3704bca8aec55843927 (commit)
      from  c609bbcdc6907752ed3ed955d4b5021a4492e6d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit af8def376f0ce3d3f216c3704bca8aec55843927
Author: Andrew Cagney <cagney@redhat.com>
Date:   Thu Dec 6 21:34:18 2007 -0500

    Facilitate dancing in the streets (when JAVAC=gcj --enable-jar-compile).
    
    frysk-common/ChangeLog
    2007-12-06  Andrew Cagney  <cagney@redhat.com>
    
    	* frysk-common.ac (--enable-jar-compile): When JAVAC is GCJ,
    	default to on.

-----------------------------------------------------------------------

Summary of changes:
 frysk-common/ChangeLog       |    3 +++
 frysk-common/frysk-common.ac |   17 ++++++++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

First 500 lines of diff:
diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog
index 49fc8e2..9d5bb00 100644
--- a/frysk-common/ChangeLog
+++ b/frysk-common/ChangeLog
@@ -1,5 +1,8 @@
 2007-12-06  Andrew Cagney  <cagney@redhat.com>
 
+	* frysk-common.ac (--enable-jar-compile): When JAVAC is GCJ,
+	default to on.
+
 	* frysk-common.ac (GCJFLAGS): Add -fsource=1.4 when applicable.
 	
 	* frysk-common.ac (JAVACFLAGS): For GCJ, re-add -g -classpath lost
diff --git a/frysk-common/frysk-common.ac b/frysk-common/frysk-common.ac
index 54baa98..32a2242 100644
--- a/frysk-common/frysk-common.ac
+++ b/frysk-common/frysk-common.ac
@@ -248,11 +248,18 @@ AC_ARG_WITH(libopcodes,
 	 LIBS="$LIBS -lopcodes"]
 	[])
 
+AC_MSG_CHECKING([direct .jar to .o compilation (--enable-jar-compile)])
 AC_ARG_ENABLE([jar-compile],
-	[  --enable-jar-compile	Enable compilation of jars],
+	[  --enable-jar-compile	Enable direct compilation of jars],
 	[case "${enableval}" in
-	      yes) jar_compile=yes ;;
-	      no) jar_compile=no;;
-	      *) AC_MSG_ERROR([bad value ${enableval} for --enable-jar-compile]) ;;
-	esac],[jar_compile=no])
+	   yes) jar_compile=yes ;;
+ 	   no) jar_compile=no;;
+           *) AC_MSG_ERROR([bad value ${enableval} for --enable-jar-compile]) ;;
+	esac],
+	[case "$JAVAC_IS" in
+	  gcj) jar_compile=yes ;;
+	  ecj) jar_compile=no ;;
+	  *) AC_MSG_ERROR([compiler ${JAVAC_IS} unknown]) ;;
+	esac])
+AC_MSG_RESULT([$jar_compile])
 AM_CONDITIONAL([JAR_COMPILE], [test x$jar_compile = xyes])


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-07  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07  3:23 [SCM] master: Facilitate dancing in the streets (when JAVAC=gcj --enable-jar-compile) cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).