changeset in /hg/icedtea: 2008-02-05 Lillian Angel <langel at red...

Lillian Angel langel at redhat.com
Thu May 29 14:11:36 PDT 2008


changeset dfceaf5eca54 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=dfceaf5eca54
description:
	2008-02-05  Lillian Angel  <langel at redhat.com>

	        * acinclude.m4: Moved conditional to beginning of LIBGCJ block.
	        * configure: Regenerate.
	        * configure.ac: Set LIBGCJ_OLD conditional to false if --with-icedtea
	        option is used. If building with icedtea, gcc 4.3 must be installed.

diffstat:

4 files changed, 36 insertions(+), 13 deletions(-)
ChangeLog    |    7 +++++++
acinclude.m4 |    2 +-
configure    |   39 +++++++++++++++++++++++++++------------
configure.ac |    1 +

diffs (132 lines):

diff -r 9fe8d110d66a -r dfceaf5eca54 ChangeLog
--- a/ChangeLog	Tue Feb 05 11:37:45 2008 -0500
+++ b/ChangeLog	Tue Feb 05 12:21:59 2008 -0500
@@ -1,3 +1,10 @@ 2008-02-05  Lillian Angel  <langel at redha
+2008-02-05  Lillian Angel  <langel at redhat.com>
+
+	* acinclude.m4: Moved conditional to beginning of LIBGCJ block.
+	* configure: Regenerate.
+	* configure.ac: Set LIBGCJ_OLD conditional to false if --with-icedtea
+	option is used. If building with icedtea, gcc 4.3 must be installed.
+
 2008-02-05  Lillian Angel  <langel at redhat.com>
 
 	* Makefile.am: Only apply patches/icedtea-gcc-4.3.patch if
diff -r 9fe8d110d66a -r dfceaf5eca54 acinclude.m4
--- a/acinclude.m4	Tue Feb 05 11:37:45 2008 -0500
+++ b/acinclude.m4	Tue Feb 05 12:21:59 2008 -0500
@@ -196,6 +196,7 @@ AC_DEFUN([FIND_ECJ_JAR],
 
 AC_DEFUN([FIND_LIBGCJ_JAR],
 [
+  AM_CONDITIONAL(LIBGCJ_OLD, test x != x)
   AC_ARG_WITH([libgcj-jar],
               [AS_HELP_STRING(--with-libgcj-jar,specify location of the libgcj 4.3.0 jar)],
   [
@@ -209,7 +210,6 @@ AC_DEFUN([FIND_LIBGCJ_JAR],
     LIBGCJ_JAR=
   ])
   if test -z "${LIBGCJ_JAR}"; then
-    AM_CONDITIONAL(LIBGCJ_OLD, test x != x)
     AC_MSG_CHECKING(for libgcj-4.3.0.jar or lib-4.1.2.jar)
     if test -e "/usr/share/java/libgcj-4.3.0.jar"; then
       LIBGCJ_JAR=/usr/share/java/libgcj-4.3.0.jar
diff -r 9fe8d110d66a -r dfceaf5eca54 configure
--- a/configure	Tue Feb 05 11:37:45 2008 -0500
+++ b/configure	Tue Feb 05 12:21:59 2008 -0500
@@ -725,10 +725,10 @@ JAVAH
 JAVAH
 JAR
 RMIC
+LIBGCJ_OLD_TRUE
+LIBGCJ_OLD_FALSE
 ECJ
 ECJ_JAR
-LIBGCJ_OLD_TRUE
-LIBGCJ_OLD_FALSE
 LIBGCJ_JAR
 XALAN2_JAR
 XALAN2_SERIALIZER_JAR
@@ -4941,6 +4941,14 @@ then
 
   RMIC=${SYSTEM_ICEDTEA_DIR}/bin/rmic
 
+   if test x != x; then
+  LIBGCJ_OLD_TRUE=
+  LIBGCJ_OLD_FALSE='#'
+else
+  LIBGCJ_OLD_TRUE='#'
+  LIBGCJ_OLD_FALSE=
+fi
+
 else
 
 
@@ -6562,6 +6570,14 @@ echo "$as_me: error: \"A ECJ jar was not
 
 
 
+   if test x != x; then
+  LIBGCJ_OLD_TRUE=
+  LIBGCJ_OLD_FALSE='#'
+else
+  LIBGCJ_OLD_TRUE='#'
+  LIBGCJ_OLD_FALSE=
+fi
+
 
 # Check whether --with-libgcj-jar was given.
 if test "${with_libgcj_jar+set}" = set; then
@@ -6581,14 +6597,6 @@ fi
 fi
 
   if test -z "${LIBGCJ_JAR}"; then
-     if test x != x; then
-  LIBGCJ_OLD_TRUE=
-  LIBGCJ_OLD_FALSE='#'
-else
-  LIBGCJ_OLD_TRUE='#'
-  LIBGCJ_OLD_FALSE=
-fi
-
     { echo "$as_me:$LINENO: checking for libgcj-4.3.0.jar or lib-4.1.2.jar" >&5
 echo $ECHO_N "checking for libgcj-4.3.0.jar or lib-4.1.2.jar... $ECHO_C" >&6; }
     if test -e "/usr/share/java/libgcj-4.3.0.jar"; then
@@ -10194,6 +10202,13 @@ if test -z "${WITH_ICEDTEA_TRUE}" && tes
   { { echo "$as_me:$LINENO: error: conditional \"WITH_ICEDTEA\" was never defined.
 Usually this means the macro was only invoked conditionally." >&5
 echo "$as_me: error: conditional \"WITH_ICEDTEA\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${LIBGCJ_OLD_TRUE}" && test -z "${LIBGCJ_OLD_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"LIBGCJ_OLD\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"LIBGCJ_OLD\" was never defined.
 Usually this means the macro was only invoked conditionally." >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -10921,10 +10936,10 @@ JAVAH!$JAVAH$ac_delim
 JAVAH!$JAVAH$ac_delim
 JAR!$JAR$ac_delim
 RMIC!$RMIC$ac_delim
+LIBGCJ_OLD_TRUE!$LIBGCJ_OLD_TRUE$ac_delim
+LIBGCJ_OLD_FALSE!$LIBGCJ_OLD_FALSE$ac_delim
 ECJ!$ECJ$ac_delim
 ECJ_JAR!$ECJ_JAR$ac_delim
-LIBGCJ_OLD_TRUE!$LIBGCJ_OLD_TRUE$ac_delim
-LIBGCJ_OLD_FALSE!$LIBGCJ_OLD_FALSE$ac_delim
 LIBGCJ_JAR!$LIBGCJ_JAR$ac_delim
 XALAN2_JAR!$XALAN2_JAR$ac_delim
 XALAN2_SERIALIZER_JAR!$XALAN2_SERIALIZER_JAR$ac_delim
diff -r 9fe8d110d66a -r dfceaf5eca54 configure.ac
--- a/configure.ac	Tue Feb 05 11:37:45 2008 -0500
+++ b/configure.ac	Tue Feb 05 12:21:59 2008 -0500
@@ -108,6 +108,7 @@ then
   AC_SUBST(JAR)
   RMIC=${SYSTEM_ICEDTEA_DIR}/bin/rmic
   AC_SUBST(RMIC)
+  AM_CONDITIONAL(LIBGCJ_OLD, test x != x)
 else
   FIND_JAVA
   FIND_JAVAC



More information about the distro-pkg-dev mailing list