]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Only use obsolete macro for older libtool
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 19 Oct 2013 18:58:35 +0000 (20:58 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 6 Jan 2014 13:27:44 +0000 (14:27 +0100)
configure.ac

index b860d7268fe65f8f46d3a8834d23704667d2bd6f..02e74bd005c15645e587a102cb75c37832fb9343 100644 (file)
@@ -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