Hi All,
Due to some versioning conflict, I get a build error with AM_PROG_AR. It
appears when using m4_pattern_allow or m4_ifdef makes it possible to get
the job done nonetheless.
The commit sha1 I have been building is:
8f63b9b670899c9a1a6e017e8979614a9b4b649b
The relevant autotools versions are:
automake (GNU automake) 1.11.1
autoconf (GNU Autoconf) 2.68
The problem reported on the console is:
configure.ac:67: warning: macro `AM_PROG_AR' not found in library
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not
AM_GNU_GETTEXT_VERSION
configure.ac:67: warning: macro `AM_PROG_AR' not found in library
configure.ac:67: error: possibly undefined macro: AM_PROG_AR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
The problem about AM_GNU_GETTEXT is not breaking. A bit neatness here
perhaps wanted?
My patch to fight the main problem is attached.
>From b0d68c0c9cf6126f0793519724cb891ed1d65d6d Mon Sep 17 00:00:00 2001
From: Sjoerd van Leent <[email protected]>
Date: Fri, 7 Dec 2012 20:30:37 +0100
Subject: [PATCH] Configure.ac adapted for AM_PROG_AR problem
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index be20b8c..c7f6d56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,7 @@ AC_PROG_CPP
AC_PROG_SED
AC_PROG_AWK
AC_PROG_LN_S
-AM_PROG_AR
+m4_pattern_allow([AM_PROG_AR], [AM_PROG_AR])
dnl Gnulib.
gl_INIT
--
1.7.5.4