unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#13117: Build problem with AM_PROG_AR
@ 2012-12-07 19:31 Sjoerd van Leent Privé
  2012-12-10 22:29 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Sjoerd van Leent Privé @ 2012-12-07 19:31 UTC (permalink / raw)
  To: 13117

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

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.



[-- Attachment #2: 0001-Configure.ac-adapted-for-AM_PROG_AR-problem.patch --]
[-- Type: text/x-patch, Size: 568 bytes --]

From b0d68c0c9cf6126f0793519724cb891ed1d65d6d Mon Sep 17 00:00:00 2001
From: Sjoerd van Leent <svanleent@gmail.com>
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-14 23:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 19:31 bug#13117: Build problem with AM_PROG_AR Sjoerd van Leent Privé
2012-12-10 22:29 ` Ludovic Courtès
2012-12-14 23:09   ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).