From e68007b56849e44233537e2dc76cface0f7c88a9 Mon Sep 17 00:00:00 2001 From: tjg Date: Wed, 9 Dec 1998 11:23:15 +0000 Subject: Portability: use AM_PROG_CC_STDC. This obviates the need for a special hack on HP-UX. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 659096b..1c07c7b 100644 --- a/configure.ac +++ b/configure.ac @@ -11,11 +11,14 @@ AC_ARG_PROGRAM AC_DEFINE(RELDATE, "1998-12-04") +dnl Find a standard C compiler +AC_PROG_CC +AM_PROG_CC_STDC + dnl If we're using gcc, specify `-Wall'. I've also checked the code dnl with `-pedantic -W -Wall -Wpointer-arith -Wstrict-prototypes dnl -Wmissing-prototypes', and checked that all the warnings generated dnl are harmless. -AC_PROG_CC case "$GCC" in yes) CFLAGS="-Wall $CFLAGS" ;; esac -- cgit v1.2.3