ac_link variable...

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux