From: Ruben Kerkhof Date: Sat, 19 Oct 2013 18:58:35 +0000 (+0200) Subject: Only use obsolete macro for older libtool X-Git-Tag: rec-3.6.0-rc1~264^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59414d0ea65ba0a190812132486445464c05a7f0;p=thirdparty%2Fpdns.git Only use obsolete macro for older libtool --- diff --git a/configure.ac b/configure.ac index b860d7268f..02e74bd005 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,6 @@ AC_CONFIG_SRCDIR([pdns/receiver.cc]) AM_INIT_AUTOMAKE([foreign tar-ustar -Wno-portability subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CANONICAL_HOST -LT_INIT AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_C_BIGENDIAN @@ -21,9 +20,14 @@ AC_PROG_YACC AM_PROG_LEX AC_PROG_INSTALL AC_PROG_MAKE_SET -AC_PROG_LIBTOOL AC_LANG([C++]) +m4_ifndef([LT_INIT],[ +AC_PROG_LIBTOOL +],[ +LT_INIT +]) + # detect pkg-config explicitly PKG_PROG_PKG_CONFIG