Deprecated autoconf macros
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_
but upon 'ac_cv_
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/
--- inkscape/
+++ inkscape-
@@ -21,12 +21,12 @@
export CC CXX
])
-AM_CONFIG_
+AC_CONFIG_
AC_LANG(C++)
AC_ISC_POSIX
AC_PROG_CXX
-AM_PROG_CC_STDC
+AC_PROG_CC
AM_PROG_AS
AC_PROG_RANLIB
AC_PROG_
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?