From 09bc3a2f9c3847aafdb2e6cc2651baba62f2489e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 23 Nov 2008 01:59:30 +0100 Subject: s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS This should fix a build error on our Tru64 build farm box where a zlib.h is found in an include path handed in via external CFLAGS, but that zlib.h belongs to an old zlib. So in ndr_compression.c, "#include " includes the wrong header for the internal zlib. Michael --- source3/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 287189f093..9214d031b3 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6256,7 +6256,7 @@ AC_ZLIB([ZLIB_OBJS=""], [ do ZLIB_OBJS="$ZLIB_OBJS ../lib/zlib/$o" done - CFLAGS="$CFLAGS -I../lib/zlib" + CFLAGS="-I../lib/zlib $CFLAGS" ]) dnl Remove -L/usr/lib/? from LDFLAGS and LIBS -- cgit