From ad046ba23920d58be45244ce8498588f32412e60 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 29 Feb 2008 17:13:39 +0000 Subject: [PATCH] Force AIX xlc to fail and not generate object code if the source code has compiled with errors. This behaviour is needed for autoconf macros which rely on the ability to compile with or without errors, and is safer than xlc's default of failing only upon severe errors. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 7edc374b..0f1a16a0 100644 --- a/configure.ac +++ b/configure.ac @@ -342,6 +342,9 @@ if test "x$RECENTAIX" = "xyes"; then dnl the optimizer assumes that pointers can only point to dnl an object of the same type. CFLAGS="$CFLAGS -qnoansialias" + dnl Force AIX xlc to stop after the compilation phase, and not + dnl generate object code, when the source compiles with errors. + CFLAGS="$CFLAGS -qhalt=e" ) fi