summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-02-24 04:37:04 +0000
committerfoobar <sniper@php.net>2003-02-24 04:37:04 +0000
commita7132f74fd7b7d0558ca80808d156a7f9e5b64bb (patch)
tree53496c5dd751a51eaa906c549f1e9a4452357ff5 /acinclude.m4
parent6ed8720fa294087de8713b92941e1d5f6ed164a4 (diff)
downloadphp-git-a7132f74fd7b7d0558ca80808d156a7f9e5b64bb.tar.gz
Always use the libtool which is build in the top_builddir.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e776f1584d..0e0506acc8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1100,7 +1100,11 @@ dnl
dnl Set libtool variable
dnl
AC_DEFUN([PHP_SET_LIBTOOL_VARIABLE],[
- LIBTOOL='$(SHELL) libtool $1'
+ if test -z $LIBTOOL; then
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool $1'
+ else
+ LIBTOOL="$LIBTOOL $1"
+ fi
])
dnl