summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-06-17 20:44:25 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-06-17 20:44:25 +0000
commited72e0cefca5a451e62b3610bccb86bf5ef7b446 (patch)
tree85e527a974ddb1228f914f413538536cf1f633ed
parente3b3e9fc87a6e2326182a52dbce2e87c5957a6d1 (diff)
downloadlibapr-ed72e0cefca5a451e62b3610bccb86bf5ef7b446.tar.gz
Use the location of libtool.m4 given in the LIBTOOL_M4 environment
variable, if set. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64539 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbuildconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index f1c323506..cbc8f6a77 100755
--- a/buildconf
+++ b/buildconf
@@ -81,13 +81,15 @@ echo "Copying libtool helper files ..."
$libtoolize --copy --automake
ltpath=`dirname $libtoolize`
-ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
+ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
if [ ! -f $ltfile ]; then
echo "$ltfile not found"
exit 1
fi
+echo "buildconf: Using libtool.m4 at ${ltfile}."
+
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
# This is just temporary until people's workspaces are cleared -- remove