From 08cf19c7a61fafa3b414639a405b055e86041875 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sat, 13 May 2000 17:38:37 +0000 Subject: [PATCH] Configuration for ANSI C / HP/UX. From albert chin and Lars Hecking. --- configure.in | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/configure.in b/configure.in index a07ed0d9..e2288259 100644 --- a/configure.in +++ b/configure.in @@ -21,21 +21,16 @@ fi AC_MSG_RESULT($mutt_cv_prefix) AC_PROG_CC +AC_ISC_POSIX +AM_C_PROTOTYPES +if test "x$U" != "x"; then + AC_MSG_ERROR(Compiler not ANSI compliant) +fi AC_PROG_CPP AC_PROG_MAKE_SET AC_PROG_INSTALL -AC_ISC_POSIX AC_PROG_RANLIB -dnl The HP-UX 10.20 C compiler needs -Ae for grok ANSI. -Ae -dnl automatically includes -D_HPUX_SOURCE. -if test -z "$GCC"; then - AC_MSG_CHECKING([if compiler needs -Ae for ANSI source]) - AC_TRY_COMPILE([int foo (void);], [int num], - [AC_MSG_RESULT(no)], [CFLAGS="$CFLAGS -Ae" - AC_MSG_RESULT(yes)]) -fi - AC_C_INLINE AC_C_CONST -- 2.40.0