Opened 11 years ago

Last modified 11 years ago

#37794 closed defect

gnome-keyring does not compile AM_CONFIG_HEADER should be AC_CONFIG_HEADERS — at Initial Version

Reported by: wink@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: gnome-keyring

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.