summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorWilfredo Sanchez <wsanchez@apache.org>2001-02-07 20:42:16 +0000
committerWilfredo Sanchez <wsanchez@apache.org>2001-02-07 20:42:16 +0000
commit63264197786956ace84f27c828bf4b5593dad770 (patch)
treeec9bc5fa9d5bfa2d61a1640ae44db31985f556e5 /buildconf
parent54f80c577d74fc3056a044d93edf83c38a5c84f7 (diff)
downloadapr-63264197786956ace84f27c828bf4b5593dad770.tar.gz
Check for glibtoolize as well as libtoolize.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61191 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf b/buildconf
index 3b780217f..5e80c3cb7 100755
--- a/buildconf
+++ b/buildconf
@@ -3,8 +3,8 @@
#
# Build aclocal.m4 from libtool's libtool.m4 and our own M4 files.
#
-ltpath=`helpers/PrintPath libtoolize`
-ltpath=`dirname $ltpath`
+libtoolize=`helpers/PrintPath glibtoolize libtoolize`
+ltpath=`dirname $libtool`
ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
echo "Incorporating $ltfile into aclocal.m4 ..."
echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf" > aclocal.m4
@@ -19,7 +19,7 @@ cat helpers/apr-conf.m4 apr_common.m4 hints.m4 $ltfile >> aclocal.m4
# rely on libtool's versions
#
echo "Copying libtool helper files ..."
-$ltpath/libtoolize --copy
+$libtoolize --copy
#
# Generate the autoconf header and ./configure