[EMAIL PROTECTED] writes:
> I looked and didn't find anything telling. All I see is this:
>
> configure:11703: checking for gzread in -lz
> configure:11734: gcc -o conftest -g -O2 -Imaybe/include -Lmaybe/lib
> conftest.c -lz -lm >&5
> configure:11737: $? = 0
> configure:11740: test -s conftest
> configure:11743: $? = 0
>
> so I'm not really clear what "maybe/include" is in that output.
I think that comes from the following piece of code. I assume that
you initialize withval to maybe at the beginning of your configure.in
so it gets set to that if no option was given.
dnl if withval not no or and not yes
if test "$withval" != "no" -a "$withval" != "yes"; then
Z_DIR=$withval
CPPFLAGS="${CPPFLAGS} -I$withval/include"
LDFLAGS="${LDFLAGS} -L$withval/lib"
fi
dnl if withval is maybe
if test "$withval" = "maybe"; then
withval="yes"
Z_DIR=""
CPPFLAGS="${CPPFLAGS}"
LDFLAGS="${LDFLAGS}"
fi
Can you show us the compile line where it fails to find libz at build
time?