changeset in /hg/icedtea: 2007-12-20 Lillian Angel <langel at red...

Lillian Angel langel at redhat.com
Wed Jan 16 07:09:42 PST 2008


changeset 9215c325a2bd in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=9215c325a2bd
description:
	2007-12-20  Lillian Angel  <langel at redhat.com>

	        * Makefile.am: Added checks for ICEDTEA_HOME and SYSTEM_GCJ_DIR.
	        * Makefile.in: Regenerate.

diffstat:

3 files changed, 55 insertions(+), 20 deletions(-)
ChangeLog   |    5 +++++
Makefile.am |   35 +++++++++++++++++++++++++----------
Makefile.in |   35 +++++++++++++++++++++++++----------

diffs (116 lines):

diff -r 5e6b21015b29 -r 9215c325a2bd ChangeLog
--- a/ChangeLog	Wed Dec 19 11:02:06 2007 -0500
+++ b/ChangeLog	Thu Dec 20 09:49:54 2007 -0500
@@ -1,3 +1,8 @@ 2007-12-19  Lillian Angel  <langel at redha
+2007-12-20  Lillian Angel  <langel at redhat.com>
+
+	* Makefile.am: Added checks for ICEDTEA_HOME and SYSTEM_GCJ_DIR.
+	* Makefile.in: Regenerate.
+
 2007-12-19  Lillian Angel  <langel at redhat.com>
 
 	* patches/icedtea-version.patch: Added patch to change bug report url.
diff -r 5e6b21015b29 -r 9215c325a2bd Makefile.am
--- a/Makefile.am	Wed Dec 19 11:02:06 2007 -0500
+++ b/Makefile.am	Thu Dec 20 09:49:54 2007 -0500
@@ -326,7 +326,14 @@ stamps/bootstrap-directory-symlink.stamp
 stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP)
 	mkdir -p bootstrap
 	rm -f bootstrap/jdk1.6.0
-	ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0
+	if test -d $(ICEDTEA_HOME); \
+	then \
+	  ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \
+	else \
+	  echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \
+	    "--with-icedtea-home=/path/to/java-icedtea-devel"; \
+          exit 1; \
+	fi
 	if ! bootstrap/jdk1.6.0/bin/java -version ; \
          then \
            echo "bootstrap/jdk1.6.0/bin/java" \
@@ -357,15 +364,23 @@ stamps/bootstrap-directory-ecj.stamp:
 	ln -sf $(XALAN2_SERIALIZER_JAR) \
 	  bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar
 	ln -sf $(XERCES2_JAR) bootstrap/ecj/lib/endorsed/xerces-j2.jar
-	mkdir -p bootstrap/ecj/jre/lib
-	ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) bootstrap/ecj/jre/lib/
-	mkdir -p bootstrap/ecj/include
-	for i in $(SYSTEM_GCJ_DIR)/include/*; do \
-	  test -r $$i | continue; \
-	  i=`basename $$i`; \
-	  rm -f bootstrap/ecj/include/$$i; \
-	  ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \
-	done
+	if test -d $(SYSTEM_GCJ_DIR); \
+	then \
+	  mkdir -p bootstrap/ecj/jre/lib; \
+	  ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) \
+	    bootstrap/ecj/jre/lib/; \
+	  mkdir -p bootstrap/ecj/include; \
+	  for i in $(SYSTEM_GCJ_DIR)/include/*; do \
+	    test -r $$i | continue; \
+	    i=`basename $$i`; \
+	    rm -f bootstrap/ecj/include/$$i; \
+	    ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \
+	  done; \
+	else \
+	  echo $(SYSTEM_GCJ_DIR) " cannot be found. Try reconfiguring with " \
+	    --with-gcj-home=/path/to/java-gcj-devel ; \
+          exit 1; \
+	fi
 	if test -f bootstrap/jdk1.7.0/jre/lib/tools.jar ; \
 	then \
 		mkdir -p bootstrap/ecj/lib ; \
diff -r 5e6b21015b29 -r 9215c325a2bd Makefile.in
--- a/Makefile.in	Wed Dec 19 11:02:06 2007 -0500
+++ b/Makefile.in	Thu Dec 20 09:49:54 2007 -0500
@@ -741,7 +741,14 @@ stamps/bootstrap-directory-symlink.stamp
 stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP)
 	mkdir -p bootstrap
 	rm -f bootstrap/jdk1.6.0
-	ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0
+	if test -d $(ICEDTEA_HOME); \
+	then \
+	  ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \
+	else \
+	  echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \
+	    "--with-icedtea-home=/path/to/java-icedtea-devel"; \
+          exit 1; \
+	fi
 	if ! bootstrap/jdk1.6.0/bin/java -version ; \
          then \
            echo "bootstrap/jdk1.6.0/bin/java" \
@@ -772,15 +779,23 @@ stamps/bootstrap-directory-ecj.stamp:
 	ln -sf $(XALAN2_SERIALIZER_JAR) \
 	  bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar
 	ln -sf $(XERCES2_JAR) bootstrap/ecj/lib/endorsed/xerces-j2.jar
-	mkdir -p bootstrap/ecj/jre/lib
-	ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) bootstrap/ecj/jre/lib/
-	mkdir -p bootstrap/ecj/include
-	for i in $(SYSTEM_GCJ_DIR)/include/*; do \
-	  test -r $$i | continue; \
-	  i=`basename $$i`; \
-	  rm -f bootstrap/ecj/include/$$i; \
-	  ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \
-	done
+	if test -d $(SYSTEM_GCJ_DIR); \
+	then \
+	  mkdir -p bootstrap/ecj/jre/lib; \
+	  ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) \
+	    bootstrap/ecj/jre/lib/; \
+	  mkdir -p bootstrap/ecj/include; \
+	  for i in $(SYSTEM_GCJ_DIR)/include/*; do \
+	    test -r $$i | continue; \
+	    i=`basename $$i`; \
+	    rm -f bootstrap/ecj/include/$$i; \
+	    ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \
+	  done; \
+	else \
+	  echo $(SYSTEM_GCJ_DIR) " cannot be found. Try reconfiguring with " \
+	    --with-gcj-home=/path/to/java-gcj-devel ; \
+          exit 1; \
+	fi
 	if test -f bootstrap/jdk1.7.0/jre/lib/tools.jar ; \
 	then \
 		mkdir -p bootstrap/ecj/lib ; \



More information about the distro-pkg-dev mailing list