autogen.sh failure because of AM_PROG_AR

Bug #1229074 reported by Vladimir Zhbanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
High
Peter TB Brett

Bug Description

When I run autogen.sh I get the following error:
  ...
  autogen.sh: running /usr/bin/autoconf ...
  configure.ac:45: error: possibly undefined macro: AM_PROG_AR
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  ***Error*** autogen.sh: /usr/bin/autoconf failed with exit status 1

geda-gaf README reads as follows:
  GNU Automake, version 1.6.0 or newer.

My automake version:
  automake (GNU automake) 1.11.1

The bug was introduced in
1f2cb71efdc3e9e46ed7df2781f795ef9507610a (build-sys: Add
AM_PROG_AR.) and is present in current git master head (commit
18427bf05edffdfe5e8ce65df0cc57728246cc2a).

Adding
  m4_pattern_allow([AM_PROG_AR])
in configure.ac seems to solve the issue.

See also other options in the discussion on this topic at
http://lists.gnu.org/archive/html/automake/2012-05/msg00012.html

Tags: build-system
Revision history for this message
Peter TB Brett (peter-b) wrote :

Min automake is now 1.11.0 - I need to update README.

Changed in geda:
importance: Undecided → High
assignee: nobody → Peter TB Brett (peter-b)
milestone: none → 1.9.1
Revision history for this message
gpleda.org commit robot (gpleda-launchpad-robot) wrote :

Bug was fixed by a commit
git master commit 72551519092481a39860df54f282c37e3efc4697
http://git.geda-project.org/geda-gaf/commit/?id=72551519092481a39860df54f282c37e3efc4697

commit 72551519092481a39860df54f282c37e3efc4697
Author: Peter TB Brett <email address hidden>
Commit: Peter TB Brett <email address hidden>

    build-sys: Only expand AM_PROG_AR if defined.

    Recent versions of Automake warn if AM_PROG_AR is not expanded befor
    AC_PROG_LIBTOOL. Unfortunately, AM_PROG_AR is only defined in
    Automake >= 1.12.0.

    Since we're only including AM_PROG_AR in order to shut Automake's
    warnings up, only expand it if it's actually defined.

    Closes-bug: lp-1229074

Changed in geda:
status: New → Fix Committed
Peter TB Brett (peter-b)
Changed in geda:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.