On 07.04.2016 19:53, Mart Frauenlob wrote:
On 07.04.2016 19:50, Pablo Neira Ayuso wrote:
On Thu, Apr 07, 2016 at 07:33:43PM +0200, Mart Frauenlob wrote:
On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
  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.

Signed-off-by: Mart Frauenlob <mart.frauen...@chello.at>
---
  configure.ac |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

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

How old is your old system? is it still a distro maintained version?

cat /etc/debian_version
6.0.10
Has automake 1.11.

Is that still maintained?


Quoting https://www.debian.org/News/2016/20160212 :

February 12th, 2016
The Debian Long Term Support (LTS) Team hereby announces that Debian 6.0
("squeeze") support will reach its end-of-life on February 29, 2016,
five years after its initial release on February 6, 2011.

Hm, no longer since 2 months....

What does that macro actually do in configure?

AM_PROG_AR([act-if-fail])

You must use this macro when you use the archiver in your project, if you want support for unusual archivers such as Microsoft lib. The content of the optional argument is executed if the archiver interface is not recognized; the default action is to abort configure with an error message.

Does this archiver get called at all?

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to