summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2003-06-17 20:44:25 +0000
committerJoe Orton <jorton@apache.org>2003-06-17 20:44:25 +0000
commit2be0ada488893ec855394f30b284f77154099d2d (patch)
tree85e527a974ddb1228f914f413538536cf1f633ed /buildconf
parenta74e55e668e2dbe340f7d37a4826e516cd31d196 (diff)
downloadapr-2be0ada488893ec855394f30b284f77154099d2d.tar.gz
Use the location of libtool.m4 given in the LIBTOOL_M4 environment
variable, if set. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64539 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-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