Deprecated autoconf macros

Bug #1096175 reported by Stefan Husmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

On Arch Linux (recent version, Rolling release) building from BZR the autogen.sh script fails. The messages:

configure.ac:24: error: 'AM_CONFIG_HEADER': this macro is obsolete.
      You should use the 'AC_CONFIG_HEADERS' macro instead.

and
  configure.ac:29: error: 'AM_PROG_CC_STDC': this macro is obsolete.
      You should simply use the 'AC_PROG_CC' macro instead.
      Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
      but upon 'ac_cv_prog_cc_stdc'.

The checking routines find

checking for autoconf >= 2.52 ... yes (version 2.69)
checking for automake >= 1.10 ... yes (version 1.13.1)
checking for glib-gettextize >= 2.0.0 ... yes (version 2.34.3)
checking for intltool >= 0.17 ... yes (version 0.50.2)

This patch fixes this issue in a matter "now it builds".

diff inkscape/configure.ac inkscape-build/configure.ac -Naur
--- inkscape/configure.ac 2012-12-17 14:03:01.000000000 +0100
+++ inkscape-build/configure.ac 2013-01-04 20:01:16.000000000 +0100
@@ -21,12 +21,12 @@
   export CC CXX
 ])

-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)

 AC_LANG(C++)
 AC_ISC_POSIX
 AC_PROG_CXX
-AM_PROG_CC_STDC
+AC_PROG_CC
 AM_PROG_AS
 AC_PROG_RANLIB
 AC_PROG_INTLTOOL(0.22)

Tags: build
Revision history for this message
su_v (suv-lp) wrote :

Report tracking issues with automake 1.13:
Bug #1094576 “Patch for autogen.sh and configure.ac to support automake 1.13“

Report tracking warnings from autoconf macros:
Bug #1002351 “configure.ac warnings on newer autoconf”

Duplicate of bug #1094576?

tags: added: build
Revision history for this message
Stefan Husmann (stefan-husmann) wrote :

Yes, Sorry about that. The patch there works fine.

Revision history for this message
su_v (suv-lp) wrote :

On 05/01/2013 13:16, Stefan Husmann wrote:
> Yes, Sorry about that. The patch there works fine.

np :)

Linking as duplicate to Bug #1094576 “Patch for autogen.sh and configure.ac to support automake 1.13“.

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.