public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Explicitly add -fsource=1.4 to GCJFLAGS.
@ 2007-12-07  3:06 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2007-12-07  3:06 UTC (permalink / raw)
  To: frysk-cvs

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

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

- Log -----------------------------------------------------------------
commit c609bbcdc6907752ed3ed955d4b5021a4492e6d3
Author: Andrew Cagney <cagney@toil.yyz.redhat.com>
Date:   Thu Dec 6 22:05:46 2007 -0500

    Explicitly add -fsource=1.4 to GCJFLAGS.
    
    frysk-common/ChangeLog
    2007-12-06  Andrew Cagney  <cagney@redhat.com>
    
    	* frysk-common.ac (GCJFLAGS): Add -fsource=1.4 when applicable.

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

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

First 500 lines of diff:
diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog
index dde516c..49fc8e2 100644
--- a/frysk-common/ChangeLog
+++ b/frysk-common/ChangeLog
@@ -1,5 +1,7 @@
 2007-12-06  Andrew Cagney  <cagney@redhat.com>
 
+	* frysk-common.ac (GCJFLAGS): Add -fsource=1.4 when applicable.
+	
 	* frysk-common.ac (JAVACFLAGS): For GCJ, re-add -g -classpath lost
 	in previous commit.
 	
diff --git a/frysk-common/frysk-common.ac b/frysk-common/frysk-common.ac
index 7482d22..54baa98 100644
--- a/frysk-common/frysk-common.ac
+++ b/frysk-common/frysk-common.ac
@@ -133,7 +133,10 @@ AC_MSG_CHECKING([for working java compiler])
 JAVAC=${JAVAC:-${GCJ} -C -fsource=1.4}
 JAVACFLAGS=${JAVACFLAGS:-${GCJFLAGS} -g -classpath \$(SOURCEPATH):\$(CLASSPATH)}
 AC_COMPILE_IFELSE([public class conftest{}],
-	[JAVAC_IS=gcj],
+	[JAVAC_IS=gcj
+	if test "x$ac_env_GCJFLAGS_set" != xset; then
+	   GCJFLAGS="$GCJFLAGS -fsource=1.4"
+	fi],
 	[JAVAC_IS=ecj
          JAVAC='$(GIJ) --classpath $(ECJ_JAR):$(CLASSPATH) org.eclipse.jdt.internal.compiler.batch.Main -1.4'
 	 JAVACFLAGS='-warn:+semicolon -sourcepath $(SOURCEPATH) -classpath $(CLASSPATH)'])


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:06 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:06 [SCM] master: Explicitly add -fsource=1.4 to GCJFLAGS 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).