[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Library path with AC_CHECK_LIB
From: |
Assar Westerlund |
Subject: |
Re: Library path with AC_CHECK_LIB |
Date: |
07 Jun 2003 12:25:14 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
address@hidden 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?
- Library path with AC_CHECK_LIB, Bill Moseley, 2003/06/04
- Re: Library path with AC_CHECK_LIB, Assar Westerlund, 2003/06/07
- Re: Library path with AC_CHECK_LIB, moseley, 2003/06/07
- Re: Library path with AC_CHECK_LIB,
Assar Westerlund <=
- Re: Library path with AC_CHECK_LIB, Bill Moseley, 2003/06/07
- Re: Library path with AC_CHECK_LIB, moseley, 2003/06/11
- Re: Library path with AC_CHECK_LIB, Lars Hecking, 2003/06/11
- Re: Library path with AC_CHECK_LIB, Paul Eggert, 2003/06/11
- Re: Library path with AC_CHECK_LIB, Bill Moseley, 2003/06/11