You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alex Waugh <al...@alexwaugh.com> on 2002/08/18 11:25:02 UTC

[PATCH] --without-apxs

Currently configure searches for APXS, and builds mod_dav_svn if it is
found. However there is no way of specifying that you don't want
mod_dav_svn built, and if configure finds an unsuitable APXS it will
barf, even though you may not want it to use APXS anyway.


   * svn-apache.m4: Allows --without-apxs to disable the searching
     for APXS.

Index: ./ac-helpers/svn-apache.m4
===================================================================
--- ./ac-helpers/svn-apache.m4
+++ ./ac-helpers/svn-apache.m4	Thu Aug  8 13:52:02 2002
@@ -64,7 +64,7 @@
   done
 fi
 
-if test -n "$APXS"; then
+if test -n "$APXS" -a "$APXS" != "no"; then
     APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
     if test -r $APXS_INCLUDE/mod_dav.h; then
         AC_MSG_RESULT(found at $APXS)
@@ -76,6 +76,7 @@
 	APXS=""
     fi
 else
+    APXS=""
     AC_MSG_RESULT(no)
 fi
 

-- 
Alex Waugh                   alex@alexwaugh.com

RISC OS software from http://www.alexwaugh.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org