--- vice-2.4.7.orig/configure.ac
+++ vice-2.4.7/configure.ac
@@ -124,7 +118,7 @@
 AC_SUBST(VICE_VERSION)
 
 AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
-AM_CONFIG_HEADER(src/config.h)
+AC_CONFIG_HEADERS(src/config.h)
 
 if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
   VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
