Author: danielsh
Date: Fri Sep 23 13:49:03 2011
New Revision: 1174761

URL: http://svn.apache.org/viewvc?rev=1174761&view=rev
Log:
Give a better error message when configured with '--without-zlib'.

* build/ac-macros/zlib.m4
  (SVN_LIB_Z): Look for $withval="no" as well.

Patch by: Alexander Thomas <[email protected]>
(log message by me)

Modified:
    subversion/trunk/build/ac-macros/zlib.m4

Modified: subversion/trunk/build/ac-macros/zlib.m4
URL: 
http://svn.apache.org/viewvc/subversion/trunk/build/ac-macros/zlib.m4?rev=1174761&r1=1174760&r2=1174761&view=diff
==============================================================================
--- subversion/trunk/build/ac-macros/zlib.m4 (original)
+++ subversion/trunk/build/ac-macros/zlib.m4 Fri Sep 23 13:49:03 2011
@@ -32,6 +32,8 @@ AC_DEFUN(SVN_LIB_Z,
   [
     if test "$withval" = "yes" ; then
       AC_MSG_ERROR([--with-zlib requires an argument.])
+    elif test "$withval" = "no" ; then
+      AC_MSG_ERROR([cannot compile without zlib.])
     else
       AC_MSG_NOTICE([zlib library configuration])
       zlib_prefix=$withval


Reply via email to