--- configure.ac.orig	2013-01-06 02:39:49.000000000 -0800
+++ configure.ac	2013-01-06 02:40:05.000000000 -0800
@@ -11,7 +11,7 @@ AM_MAINTAINER_MODE
 #LIBOIL_MAJORMINOR=0.3
 #AC_SUBST(LIBOIL_MAJORMINOR)
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
 
 dnl CURRENT, REVISION, AGE
 dnl - library source changed -> increment REVISION
