apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cody Sherr <csh...@covalent.net>
Subject [PATCH] apr-util not finding apr correctly
Date Fri, 09 Aug 2002 23:37:40 GMT

The purpose of this patch is to allow apr-util to build with a relocated
apr. The current implentation of APU_FIND_APR seds the location form
APR_FIND_APR when --with-apr= is provided to apr-util's configure.  
However, APR_FIND_APR returns the path to apr_config, which is
apr/bin/aprconfig.

This results in apr-util thinking that the apr root is apr/bin. That is
incorrect.

Thanks,

-- 
Cody Sherr
Software Engineer
Covalent Technoligies, Inc.
email: csherr@covalent.net

Index: build/apu-conf.m4
===================================================================
RCS file: /home/cvspublic/apr-util/build/apu-conf.m4,v
retrieving revision 1.44
diff -u -u -r1.44 apu-conf.m4
--- build/apu-conf.m4	30 Jul 2002 19:34:19 -0000	1.44
+++ build/apu-conf.m4	9 Aug 2002 23:25:00 -0000
@@ -14,7 +14,7 @@
   fi
 
   changequote(<<,>>)dnl
-  APR_BUILD_DIR="`echo $apr_config | sed 's,/[^/]*$,,'`"
+  APR_BUILD_DIR="`echo $apr_config | sed 's,\(/bin\)*/[^/]*$,,'`"
   changequote([,])dnl
 
   dnl make APR_BUILD_DIR an absolute directory (we'll need it in the

Mime
View raw message