changeset in /hg/icedtea: 2007-12-20 Lillian Angel <langel at red...
Lillian Angel
langel at redhat.com
Thu Dec 20 06:51:01 PST 2007
changeset b1463b6fad4a in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=b1463b6fad4a
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 2d0912bbc1af -r b1463b6fad4a 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 2d0912bbc1af -r b1463b6fad4a Makefile.am
--- a/Makefile.am Wed Dec 19 11:02:06 2007 -0500
+++ b/Makefile.am Thu Dec 20 09:49:54 2007 -0500
@@ -302,7 +302,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" \
@@ -333,15 +340,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 2d0912bbc1af -r b1463b6fad4a Makefile.in
--- a/Makefile.in Wed Dec 19 11:02:06 2007 -0500
+++ b/Makefile.in Thu Dec 20 09:49:54 2007 -0500
@@ -793,7 +793,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" \
@@ -824,15 +831,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