|
From: | Paolo Bonzini |
Subject: | Re: link and run a (fortran) program redirecting its stdout/stderr |
Date: | Fri, 30 Oct 2009 20:36:34 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/30/2009 01:00 PM, Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 seems better than the AC_TRY_RUN(ac_link) that is usually done.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |