diff -Naur enca-1.14/configure.ac enca-1.14.patch/configure.ac
--- enca-1.14/configure.ac	2012-09-11 11:11:11.000000000 +0200
+++ enca-1.14.patch/configure.ac	2013-01-12 02:11:57.334033091 +0100
@@ -24,7 +24,7 @@
   test/Makefile \
   tools/Makefile)
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AM_INIT_AUTOMAKE([1.8 gnits check-news dist-bzip2])
 AM_ACLOCAL_INCLUDE(m4)
 AM_MAINTAINER_MODE
@@ -40,7 +40,6 @@
 AC_AIX
 AC_ISC_POSIX
 AC_PROG_LIBTOOL
-AM_PROG_CC_STDC
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
 AC_PROG_LN_S
diff -Naur enca-1.14/m4/typevar.m4 enca-1.14.patch/m4/typevar.m4
--- enca-1.14/m4/typevar.m4	2009-08-25 10:33:34.000000000 +0200
+++ enca-1.14.patch/m4/typevar.m4	2013-01-12 02:16:24.590820559 +0100
@@ -6,7 +6,6 @@
 ##   defined in errno.h
 AC_DEFUN([ye_CHECK_VAR_PROGRAM_INVOCATION_SHORT_NAME],
 [AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AM_PROG_CC_STDC])dnl
 dnl
 
 dnl Check for program_invocation_short_name (present on GNU systems only?)
