autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ac_link variable...


From: Ben Bergen
Subject: ac_link variable...
Date: Thu, 13 Jul 2006 11:33:05 -0600

Is there a way to force "$ac_link" to use a "-c" before the source
file when doing AC_CHECK_LIB?

The cell compiler doesn't like:

ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'

but it works with:

ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS -c
conftest.$ac_ext $LIBS >&5'

where I have added a "-c" before conftest.$ac_ext.

Ben

--
  Benjamin Karl Bergen
  CCS-2 Continuum Dynamics
  Los Alamos National Laboratory




reply via email to

[Prev in Thread] Current Thread [Next in Thread]