s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS
authorMichael Adam <obnox@samba.org>
Sun, 23 Nov 2008 00:59:30 +0000 (01:59 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 23 Nov 2008 01:02:26 +0000 (02:02 +0100)
commit09bc3a2f9c3847aafdb2e6cc2651baba62f2489e
tree70fbb3bf7de134f5391e0074d92c5618127b07e5
parent71c782c72af496c86491d16ef384a5b320f9616f
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 <zlib.h>" includes the wrong
header for the internal zlib.

Michael
source3/configure.in