Re: ac_link variable...

2006-07-13 Thread Andreas Schwab
"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

Re: ac_link variable...

2006-07-13 Thread Stepan Kasal
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