autoconf
[Top][All Lists]
Advanced

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

Re: link and run a (fortran) program redirecting its stdout/stderr


From: Eric Blake
Subject: Re: link and run a (fortran) program redirecting its stdout/stderr
Date: Tue, 27 Oct 2009 20:19:37 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stefano Lattarini on 10/14/2009 3:52 AM:
>> Sorry; I forgot to add: In the ACTION-IF-TRUE argument of
>> AC_RUN_IFELSE, you can invoke ./conftest$EXEEXT yourself and see
>> what it does.
> Oh.  This is exactly what I need.  Thank you very much!
> 
> Maybe the autoconf documentation might be clearer on this point.

Good idea.  Done:

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrnqjgACgkQ84KuGfSFAYCE+wCgu0R4u3CID1hUvtmkSfrHehgs
+5kAoICf/dMiFz6Xz/BVfGoZAVLoWrEk
=GF3p
-----END PGP SIGNATURE-----
>From a7ae50526b7a526b9f297288dc5a5adeb30cf544 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Tue, 27 Oct 2009 20:14:14 -0600
Subject: [PATCH] Mention another feature of AC_RUN_IFELSE.

* doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Mention that
compiled test program still exists during if-true branch.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog         |    7 +++++++
 doc/autoconf.texi |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4f93ee3..95808ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-10-27  Eric Blake  <address@hidden>
+
+       Mention another feature of AC_RUN_IFELSE.
+       * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Mention that
+       compiled test program still exists during if-true branch.
+       Reported by Stefano Lattarini, suggestion by Ralf Wildenhues.
+
 2009-10-26  Paolo Bonzini  <address@hidden>

        Pass Autom4te path down to programs that autoreconf invokes.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index db8c88e..a713a06 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8952,6 +8952,8 @@ Runtime
 The @var{input} can be made by @code{AC_LANG_PROGRAM} and friends.
 @code{LDFLAGS} and @code{LIBS} are used for linking, in addition to the
 compilation flags of the current language (@pxref{Language Choice}).
+Additionally, @var{action-if-true} can run @command{./conftest$EXEEXT}
+for further testing.

 If the compiler being used does not produce executables that run on the
 system where @command{configure} is being run, then the test program is
-- 
1.6.5.rc1


reply via email to

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