summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2009-03-23 09:40:11 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2009-03-23 09:40:11 +0000
commit39f71f1760e03639a1e36a7f0f4bd109c5267800 (patch)
treec514fcf30246c46443aeeea0bf1b000157f8e241 /buildconf
parent24846e9fa8315d3666a00359d72a7e9c949d0439 (diff)
downloadlibapr-39f71f1760e03639a1e36a7f0f4bd109c5267800.tar.gz
* buildconf: Do the sed magic for libtool 2.x as well.
Poked by: Joe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@757363 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index 514a410e9..11554ed34 100755
--- a/buildconf
+++ b/buildconf
@@ -68,6 +68,10 @@ if test "$1" = "1"; then
fi
if test "$1" = "2"; then
$libtoolize --copy
+ # Wouldn't it just be better to define top_builddir??
+ mv build/libtool.m4 build/libtool.m4.$$
+ cat build/libtool.m4.$$ | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
+ rm build/libtool.m4.$$
fi
# Clean up any leftovers