diff mbox

conntrack-tools: Fix build for old automake. autoreconf fails with automake version smaller than 1.12, because of undefined macro AM_PROG_AR. So only expand it if it's actually defined.

Message ID 1459762179-10041-2-git-send-email-mart.frauenlob@chello.at
State Superseded
Delegated to: Pablo Neira
Headers show

Commit Message

Mart Frauenlob April 4, 2016, 9:29 a.m. UTC
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index c541034..2c5913f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@  AC_SUBST([libdl_LIBS])
 
 AC_PROG_CC
 AC_DISABLE_STATIC
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
 AM_PROG_LIBTOOL
 AC_PROG_INSTALL
 AC_PROG_LN_S