--- configure.ac.orig	2009-09-07 15:57:46.000000000 -0500
+++ configure.ac	2013-03-14 14:14:21.000000000 -0500
@@ -17,7 +17,7 @@
 
 #AC_CONFIG_SRCDIR(configure.in)
 AC_CONFIG_AUX_DIR(config)
-AM_CONFIG_HEADER(include/config.h)
+AC_CONFIG_HEADERS(include/config.h)
 
 AM_INIT_AUTOMAKE
 
--- src/Makefile.am.orig	2007-08-25 04:42:07.000000000 -0500
+++ src/Makefile.am	2013-03-14 14:14:21.000000000 -0500
@@ -1,6 +1,6 @@
 lib_LTLIBRARIES = liblog4cpp.la
 
-INCLUDES = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include
 
 noinst_HEADERS = snprintf.c Localtime.hh
 
--- tests/Makefile.am.orig	2003-05-09 18:53:49.000000000 -0500
+++ tests/Makefile.am	2013-03-14 14:14:21.000000000 -0500
@@ -12,7 +12,7 @@
 
 noinst_PROGRAMS = testmain testbench
 
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
 
 testmain_SOURCES = testmain.cpp
 testmain_LDADD = $(top_builddir)/src/liblog4cpp.la