--- a/configure.ac.orig	2013-01-05 00:36:45.000000000 -0800
+++ b/configure.ac	2013-01-05 00:37:00.000000000 -0800
@@ -4,7 +4,7 @@ dnl we need at least autoconf 2.52
 AC_PREREQ(2.52)
 
 AC_INIT(README)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
 AC_CANONICAL_HOST
 
 PACKAGE=wol