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

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

 



-----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             ebb9@xxxxxxx
-----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 <ebb9@xxxxxxx>
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 <ebb9@xxxxxxx>
---
 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  <ebb9@xxxxxxx>
+
+	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  <bonzini@xxxxxxx>

 	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

_______________________________________________
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