[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] [REPOST] --without-apxs

From: Alex Waugh <alex_at_alexwaugh.com>
Date: 2002-09-15 12:42:39 CEST

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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 15 12:43:42 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.