--- ./configure.in.orig	2012-12-31 09:32:06.411787207 +0000
+++ ./configure.in	2012-12-31 09:33:15.672384454 +0000
@@ -12,7 +12,7 @@
 # Initialize automake
 AM_INIT_AUTOMAKE
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
 
 # Specify the liba2ps version number
 LIBVERSION=1:0:0
@@ -42,7 +42,6 @@
 AC_MINIX
 AC_ISC_POSIX
 AC_PROG_CPP
-AM_PROG_CC_STDC
 AC_PROG_YACC
 fp_PROG_ECHO
 AC_PROG_GPERF
--- ./m4/protos.m4.orig	2012-12-31 09:43:24.994398048 +0000
+++ ./m4/protos.m4	2012-12-31 09:43:57.681443768 +0000
@@ -6,7 +6,7 @@
 # serial 1
 
 AC_DEFUN([AM_C_PROTOTYPES],
-[AC_REQUIRE([AM_PROG_CC_STDC])
+[AC_REQUIRE([AC_PROG_CC])
 AC_REQUIRE([AC_PROG_CPP])
 AC_MSG_CHECKING([for function prototypes])
 if test "$am_cv_prog_cc_stdc" != no; then
