File acct-6.3.5-ac.dif of Package acct

--- Makefile.am
+++ Makefile.am
@@ -11,7 +11,7 @@
 ## From what sources are those programs built?
 
 ac_SOURCES = ac.c common.c file_rd.c getopt.c getopt1.c hashtab.c \
-  @MKTIME_C@ utmp_rd.c
+  mktime.c utmp_rd.c
 ac_LDADD = @ALLOCA@
 
 accton_SOURCES = accton.c common.c getopt.c getopt1.c
--- configure.in
+++ configure.in
@@ -6,7 +6,7 @@
 AM_INIT_AUTOMAKE(acct, 6.3.5, no-define-symbols)
 AM_CONFIG_HEADER(config.h)
 
-AC_ARG_PROGRAM
+dnl AC_ARG_PROGRAM
 AC_PROG_CC
 if test "x${ac_cv_prog_gcc}" = "xyes"; then
  CFLAGS="${CFLAGS} -Wall -Wmissing-prototypes"
@@ -56,7 +56,7 @@
 dnl and whether fields are int/comp_t
 dnl
 AC_CHECK_HEADER(sys/acct.h,
-		AC_DEFINE(HAVE_SYS_ACCT_H)
+		[AC_DEFINE(HAVE_SYS_ACCT_H)
 		DUMP_ACCT_PROG=dump-acct
 		ACCTON_PROG=accton
 		LASTCOMM_PROG=lastcomm
@@ -89,14 +89,14 @@
 				AC_HEADER_EGREP(comp_t.*ac_mem,   sys/acct.h,
 						AC_DEFINE(ACMEM_COMPT))
 		)
-		AC_HEADER_EGREP(comp_t,   sys/acct.h, AC_DEFINE(HAVE_COMP_T))
-		,
+		AC_HEADER_EGREP(comp_t,   sys/acct.h, AC_DEFINE(HAVE_COMP_T))]
+		,[
   dnl
   dnl here is the "else" clause for the above AC_CHECK_HEADER
   dnl (for older versions of linux, which didn't have a sys/acct.h)
   dnl
   AC_CHECK_HEADER(linux/acct.h,
-		  AC_DEFINE(HAVE_LINUX_ACCT_H)
+		  [AC_DEFINE(HAVE_LINUX_ACCT_H)
 		  DUMP_ACCT_PROG=dump-acct
 		  ACCTON_PROG=accton
 		  LASTCOMM_PROG=lastcomm
@@ -133,8 +133,8 @@
 						  AC_DEFINE(ACMEM_COMPT))
 		  )
 		  AC_HEADER_EGREP(comp_t,   linux/acct.h, AC_DEFINE(HAVE_COMP_T))
-		  , )
-)
+		  ])
+])
 dnl
 dnl find out where utmp/pacct are stored
 dnl