Fix for build with automake v1.13.1

Bart Polot bart at
Thu Mar 21 13:52:26 CET 2013

Hi all,

I tried to build libgcrypt on a Linux Arch system, which ships aclocal (automake) 
version 1.13.1. This results in the following error (and many subsequent ones):

Running aclocal -I m4 ... error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.

The proposed change fixed the problem. In case it helps here is the diff:

diff --git a/ b/
index 7504d76..e67ec69 100644
--- a/
+++ b/
@@ -72,7 +72,7 @@ VERSION=$PACKAGE_VERSION

With this change the build process succeeds and the tests pass. On a debian 
system with automake 1.11.6 the change does not seem to break anything.

Happy hacking,
Bart Polot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130321/b1fc7d71/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20130321/b1fc7d71/attachment-0001.sig>

More information about the Gcrypt-devel mailing list