summaryrefslogtreecommitdiff
path: root/zlib/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/acinclude.m4')
-rw-r--r--zlib/acinclude.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/zlib/acinclude.m4 b/zlib/acinclude.m4
index c304a53a91d..cbbaa3008fb 100644
--- a/zlib/acinclude.m4
+++ b/zlib/acinclude.m4
@@ -37,3 +37,12 @@ else
test "${CFLAGS+set}" = set || CFLAGS="-g"
fi
])
+
+sinclude(../libtool.m4)
+dnl The lines below arrange for aclocal not to bring libtool.m4
+dnl AM_PROG_LIBTOOL into aclocal.m4, while still arranging for automake
+dnl to add a definition of LIBTOOL to Makefile.in.
+ifelse(yes,no,[
+AC_DEFUN([AM_PROG_LIBTOOL],)
+AC_SUBST(LIBTOOL)
+])