From: Sebastian Harl Date: Sun, 2 May 2010 19:59:26 +0000 (+0200) Subject: configure: Use LT_INIT, rather than AC_PROG_LIBTOOL, if available. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=524cf49418fb740107b3f2ef08683ecf6c909e5d;p=template.git configure: Use LT_INIT, rather than AC_PROG_LIBTOOL, if available. The latter has been deprecated in current versions of libtool. --- 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() {}])