s3:configure: turn "error warnings" into errors
authorBjörn Jacke <bj@sernet.de>
Mon, 24 May 2010 21:34:00 +0000 (23:34 +0200)
committerBjörn Jacke <bj@sernet.de>
Mon, 24 May 2010 21:34:00 +0000 (23:34 +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.

source3/configure.in

index a452486d111443142106ec9ae464f7c7dc4ab8c5..a97720c8d7ce8c3bdbec3f6c88f746c925f1b655 100644 (file)
@@ -1654,7 +1654,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])