summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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