[MacPorts] #37794: gnome-keyring does not compile AM_CONFIG_HEADER should be AC_CONFIG_HEADERS
MacPorts
noreply at macports.org
Sat Jan 26 13:20:48 PST 2013
#37794: gnome-keyring does not compile AM_CONFIG_HEADER should be AC_CONFIG_HEADERS
--------------------+--------------------------------
Reporter: wink@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
--------------------+--------------------------------
I was trying to install meld and it depends on gnome-keyring. Which failed
to compile, looking at the log file I saw:
:info:configure configure.in:4: error: 'AM_CONFIG_HEADER': this macro is
obsolete.
:info:configure You should use the 'AC_CONFIG_HEADERS' macro instead.
:info:configure /opt/local/share/aclocal-1.13/obsolete-err.m4:12:
AM_CONFIG_HEADER is expanded from...
So I manually changed gnome-keyring's configure.in file to use
AC_CONFIG_HEADERS, this allowed the compile to succeed.
Also, looking around I find quite a few patches using this file:
$ cat ./sources/rsync.macports.org/release/tarballs/ports/gnome/gnome-
mime-data/files/patch-automake-1.13.diff
$ cat ./sources/rsync.macports.org/release/tarballs/ports/gnome/gnome-
mime-data/files/patch-automake-1.13.diff
--- configure.in.orig 2007-04-03 12:34:00.000000000 -0500
+++ configure.in 2013-01-02 07:49:48.000000000 -0600
@@ -3,7 +3,7 @@
AC_CONFIG_SRCDIR(check-mime.pl)
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
It would seem this same patch is needed for gnome-keyring.
--
Ticket URL: <https://trac.macports.org/ticket/37794>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list