public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Explicitly add -fsource=1.4 to GCJFLAGS.
Date: Fri, 07 Dec 2007 03:06:00 -0000	[thread overview]
Message-ID: <20071207030602.27844.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2007-12-07  3:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071207030602.27844.qmail@sourceware.org \
    --to=cagney@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).