"Ben Bergen" <[EMAIL PROTECTED]> writes:
> Is there a way to force "$ac_link" to use a "-c" before the source
> file when doing AC_CHECK_LIB?
Why would you do that? It subverts the whole point of ac_link.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfe
Hello,
> Is there a way to force "$ac_link" to use a "-c" before the source
> file when doing AC_CHECK_LIB?
...
> ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS -c
> conftest.$ac_ext $LIBS >&5'
a quick hack: wouldn't
./configure LDFLAGS=-c
solve your problem?
(Or perhaps