From 6374309c6d4d17ab1e4109133ab8aad55f77d51c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Oct 2002 21:54:04 +0000 Subject: Convert the source code to use ANSI C style function definitions and enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 33b498b..8856962 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ # This is a -*-Makefile-*-, or close enough -AUTOMAKE_OPTIONS = 1.7 dist-bzip2 check-news +AUTOMAKE_OPTIONS = 1.7 dist-bzip2 check-news ansi2knr ACLOCAL_AMFLAGS = -I config SUBDIRS = glob config po doc @@ -121,7 +121,7 @@ check-loadavg: loadavg # The loadavg function is invoked during "make check" to test getloadavg. noinst_PROGRAMS = loadavg -loadavg_SOURCES = loadavg.c +nodist_loadavg_SOURCES = loadavg.c loadavg_CFLAGS = -DTEST loadavg_LDADD = @GETLOADAVG_LIBS@ -- cgit v1.2.3