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

[PATCH] Fix build/ac-macros/aprutil.m4 to actually set SVN_APRUTIL_PREFIX

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Wed, 1 Oct 2008 23:08:01 -0600

Hi All,
    While working on integrating the ctypes-python bindings into the
build infrastructure, I realized that the SVN_APRUTIL_PREFIX output
variable in build/ac-macros/aprutil.m4 was never being set, which lead
to SVN_APRUTIL_PREFIX not being set in the Makefile. This is not the
case with SVN_APR_PREFIX so after a little digging, I see that the
code for retrieving, testing and setting SVN_APRUTIL_PREFIX was
missing from build/ac-macros/aprutil.m4. The patch attached, and
pasted below, fixes this. (While this hasn't been an issue to this
point, at least not one that's been pointed out, for those make
targets/variables that would like to know the path to apr-util, this
becomes an issue.) Please let me know what I can do to get this
approved.

-- 
Take care,
Jeremy Whitlock
http://www.thoughtspark.org
[[[
* build/ac-macros/aprutil.m4: Fix the script to actually retrieve, test and set
   the SVN_APRUTIL_PREFIX output variable.
]]]
Index: build/ac-macros/aprutil.m4
===================================================================
--- build/ac-macros/aprutil.m4	(revision 33392)
+++ build/ac-macros/aprutil.m4	(working copy)
@@ -72,6 +72,11 @@
     AC_MSG_ERROR([apu-config --includes failed])
   fi
+  SVN_APRUTIL_PREFIX="`$apu_config --prefix`"
+  if test $? -ne 0; then
+    AC_MSG_ERROR([apu-config --prefix failed])
+  fi
+
   dnl When APR stores the dependent libs in the .la file, we don't need
   dnl --libs.
   SVN_APRUTIL_LIBS="`$apu_config --link-libtool --libs`"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-10-02 07:08:14 CEST

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.