Subject: bug#13117: closed (Re: bug#13117: Build problem with AM_PROG_AR)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 14 Dec 2012 23:11:02 +0000

Your bug report

#13117: Build problem with AM_PROG_AR

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13117: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13117
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13117: Build problem with AM_PROG_AR
From: [email-masked] (Ludovic Courtès)
To: Sjoerd van Leent Privé <[email-masked]>
Cc: [email-masked]
Date: Sat, 15 Dec 2012 00:09:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This issue was solved (off-list) by an Automake upgrade.
Closing the bug.

Ludo’.

Subject: Build problem with AM_PROG_AR
From: Sjoerd van Leent Privé <[email-masked]>
To: [email-masked]
Date: Fri, 07 Dec 2012 20:31:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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-masked]>
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