httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <...@raleigh.ibm.com>
Subject [PATCH] Dump out on warnings from xlC on AIX
Date Mon, 26 Jun 2000 20:54:35 GMT
Compiling on AIX using xlC would cause some weird warnings, stemming from
the fact that some of the autoconf macros would succeed despite receiving
errors from the compiler. This tells the compiler to halt as soon as the
errors are received, and not try to link, thereby forcing the correct test
with xlC.

Index: src/lib/apr/configure.in
===================================================================
RCS file: /cvs/apache/apache-2.0/src/lib/apr/configure.in,v
retrieving revision 1.120
diff -u -r1.120 configure.in
--- configure.in 2000/06/26 17:19:18 1.120
+++ configure.in 2000/06/26 20:47:33
@@ -74,6 +74,12 @@
 dnl # this is the place to put specific options for platform/compiler
 dnl # combinations
 case "$OS:$CC" in
+    *-ibm-aix*:xl*)
+        CFLAGS="$CFLAGS -qHALT=E"
+        ;;
+    *-ibm-aix*:cc*)
+        CFLAGS="$CFLAGS -qHALT=E"
+        ;;
     *-hp-hpux*:cc )
  CFLAGS="$CFLAGS -Ae +DAportable"
  ;;



Mime
View raw message