--- configure.ac.orig	2012-10-27 13:50:06.000000000 +0200
+++ configure.ac	2013-02-06 11:41:23.765972707 +0100
@@ -105,7 +105,7 @@
 AC_SUBST(with_vomsuser)
 AC_PARSER_GEN
 
-AM_CONFIG_HEADER([src/autogen/config.h])
+AC_CONFIG_HEADERS([src/autogen/config.h])
 
 if test "x$build_cpp_api" = "xyes" -o "x$build_interfaces" = "xyes"; then
 # both C and CPP
