SOURCES: gcc-force_jar_wrapper.patch - simplification.

pluto pluto at pld-linux.org
Mon Aug 7 15:38:59 CEST 2006


Author: pluto                        Date: Mon Aug  7 13:38:59 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- simplification.

---- Files affected:
SOURCES:
   gcc-force_jar_wrapper.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/gcc-force_jar_wrapper.patch
diff -u SOURCES/gcc-force_jar_wrapper.patch:1.2 SOURCES/gcc-force_jar_wrapper.patch:1.3
--- SOURCES/gcc-force_jar_wrapper.patch:1.2	Mon Aug  7 13:08:25 2006
+++ SOURCES/gcc-force_jar_wrapper.patch	Mon Aug  7 15:38:54 2006
@@ -1,20 +1,11 @@
 --- trunk/libjava/configure.ac.orig	2006-07-06 11:12:25.000000000 +0200
 +++ trunk/libjava/configure.ac	2006-07-06 19:56:51.347768250 +0200
-@@ -143,14 +143,12 @@
+@@ -143,7 +143,7 @@
  AC_CHECK_TOOL(AR, ar)
  AC_CHECK_TOOL(RANLIB, ranlib, :)
  AC_PROG_AWK
 -AC_CHECK_PROGS([JAR], [jar fastjar], no)
-+AC_SUBST([JAR])
++AC_CHECK_PROGS([JAR], [SKIP-jar-TEST SKIP-fastjar-TEST], no)
  AC_PATH_PROG([ZIP], [zip], no)
  AC_PATH_PROG([UNZIP], [unzip], unzip)
--AM_CONDITIONAL(BASH_JAR, test "$JAR" = no)
-+AM_CONDITIONAL(BASH_JAR, /bin/true)
- if test "$ZIP" = no; then
--  if test "$JAR" = no; then
--    AC_MSG_ERROR([cannot find neither zip nor jar, cannot continue])
--  fi
-+  AC_MSG_ERROR([cannot find zip, cannot continue])
- else
-   # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
-   JAR=`pwd`/scripts/jar
+ AM_CONDITIONAL(BASH_JAR, test "$JAR" = no)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gcc-force_jar_wrapper.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list