[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ac_link variable...
From: |
Stepan Kasal |
Subject: |
Re: ac_link variable... |
Date: |
Thu, 13 Jul 2006 19:45:02 +0200 |
User-agent: |
Mutt/1.4.2.1i |
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
./configure CFLAGS=-c
The double `-c' is compile case should not matter.)
HTH,
Stepan Kasal