[kaffe] CVS kaffe (robilad): Abort configure script if zip can not be found

Kaffe CVS cvs-commits at kaffe.org
Wed Feb 2 20:15:16 PST 2005


PatchSet 5965 
Date: 2005/02/03 04:10:10
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Abort configure script if zip can not be found

2005-02-03  Dalibor Topic  <robilad at kaffe.org>

        * configure.ac: Abort if zip can't be found.

Members: 
	ChangeLog:1.3504->1.3505 
	configure:1.415->1.416 
	configure.ac:1.106->1.107 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3504 kaffe/ChangeLog:1.3505
--- kaffe/ChangeLog:1.3504	Thu Feb  3 03:38:53 2005
+++ kaffe/ChangeLog	Thu Feb  3 04:10:10 2005
@@ -1,5 +1,9 @@
 2005-02-03  Dalibor Topic  <robilad at kaffe.org>
 
+	* configure.ac: Abort if zip can't be found.
+
+2005-02-03  Dalibor Topic  <robilad at kaffe.org>
+
         * libraries/javalib/Makefile.am.in,
         libraries/javalib/awt-implementations/kaffe/Makefile.am,
         libraries/javalib/gmp-math/Makefile.am,
Index: kaffe/configure
diff -u kaffe/configure:1.415 kaffe/configure:1.416
--- kaffe/configure:1.415	Sun Jan 30 19:30:05 2005
+++ kaffe/configure	Thu Feb  3 04:10:13 2005
@@ -28941,6 +28941,11 @@
 echo "${ECHO_T}no" >&6
 fi
 
+if test  x"$ZIP" = x"" ; then
+   { { echo "$as_me:$LINENO: error: zip not found. You need the zip utility for the class library." >&5
+echo "$as_me: error: zip not found. You need the zip utility for the class library." >&2;}
+   { (exit 1); exit 1; }; }
+fi
 # Extract the first word of "mktemp", so it can be a program name with args.
 set dummy mktemp; ac_word=$2
 echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -58390,7 +58395,7 @@
 if uudecode$EXEEXT Test.uue; then
         ac_cv_prog_uudecode_base64=yes
 else
-        echo "configure: 58393: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
+        echo "configure: 58398: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
         echo "configure: failed file was:" >&5
         cat Test.uue >&5
         ac_cv_prog_uudecode_base64=no
@@ -58508,7 +58513,7 @@
 JAVA_TEST=Test.java
 CLASS_TEST=Test.class
 cat << \EOF > $JAVA_TEST
-/* #line 58511 "configure" */
+/* #line 58516 "configure" */
 public class Test {
 }
 EOF
@@ -58545,7 +58550,7 @@
 CLASS_TEST=Test.class
 TEST=Test
 cat << \EOF > $JAVA_TEST
-/* [#]line 58548 "configure" */
+/* [#]line 58553 "configure" */
 public class Test {
 public static void main (String args[]) {
         System.exit (0);
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.106 kaffe/configure.ac:1.107
--- kaffe/configure.ac:1.106	Sun Jan 30 19:30:14 2005
+++ kaffe/configure.ac	Thu Feb  3 04:10:16 2005
@@ -821,6 +821,9 @@
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 AC_CHECK_PROG(ZIP, zip, zip)
+if test  x"$ZIP" = x"" ; then
+   AC_MSG_ERROR([zip not found. You need the zip utility for the class library.])
+fi
 AC_CHECK_PROG(MKTEMP, mktemp, mktemp)
 if test  x"$MKTEMP" = x"" ; then
    AC_MSG_WARN([mktemp not found. You need mktemp to be able to debug kaffe.])




More information about the kaffe mailing list