commit e68007b56849e44233537e2dc76cface0f7c88a9
parent 22c687beb012235050097daf2571057c5a1245a1
Author: tjg <tjg>
Date: Wed, 9 Dec 1998 11:23:15 +0000
Portability: use AM_PROG_CC_STDC. This obviates the need for a
special hack on HP-UX.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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