From 524cf49418fb740107b3f2ef08683ecf6c909e5d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 2 May 2010 21:59:26 +0200 Subject: [PATCH] configure: Use LT_INIT, rather than AC_PROG_LIBTOOL, if available. The latter has been deprecated in current versions of libtool. --- configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 22214b4..97e3ca0 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,16 @@ AC_PROG_MAKE_SET AM_PROG_CC_C_O -AC_PROG_LIBTOOL +m4_ifdef([LT_INIT], + [ + LT_INIT + ], + # else + # (older libtools) + [ + AC_PROG_LIBTOOL + ] +) test_cc_flags() { AC_LANG_CONFTEST([int main() {}]) -- 2.30.2