s3:configure: turn "error warnings" into errors
authorBjörn Jacke <bj@sernet.de>
Mon, 24 May 2010 21:34:00 +0000 (23:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Jun 2010 06:25:25 +0000 (08:25 +0200)
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427.
(cherry picked from commit ff0872d59d78ad42212c88313ef924ea4eb7a8a1)

Fix bug #7427 (Using IBM xl_C compiler produces wrong results in configure).

source3/configure.in

index 74a2479f4820f990819ca5c2634d08947b31021f..ff19e1936369967039bcb9c6c790e6c360414c52 100644 (file)
@@ -1583,7 +1583,7 @@ DSO_EXPORTS=""
                        # .po will just create compile warnings, use po.o:
                        if test "${GCC}" != "yes"; then
                                ## for funky AIX compiler using strncpy()
-                               CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
+                               CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000 -qhalt=e"
                        fi
 
                        AC_DEFINE(STAT_ST_BLOCKSIZE,DEV_BSIZE,[The size of a block])