* Paolo Bonzini wrote on Fri, Oct 30, 2009 at 08:36:34PM CET: > On 10/30/2009 01:00 PM, Eric Blake wrote: > >According to Ralf Wildenhues on 10/30/2009 12:31 AM: > >>Should we also document that the ACTION-IF-TRUE part of > >>AC_LINK_IFELSE allows linked programs to be inspected (not necessarily > >>run) and that of AC_COMPILE_IFELSE allows compiled objects to be > >>inspected? > > > >Hmm, those aren't done as often (about all you can do is run nm on it; > >that seems like something libtool might want to do, but who else does it > >to be worth documenting it?). > > For AC_LINK_IFELSE you could run the program if not cross-compiling.
That also assumes that the runtime linker can find all libraries the link editor used. We shouldn't pretend that Autoconf takes care of this. > That seems better than the AC_TRY_RUN(ac_link) that is usually done. True; that should be fixed in Libtool at least. Thanks, Ralf
