[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Fortran Non GNU
From: |
Akim Demaille |
Subject: |
FYI: Fortran Non GNU |
Date: |
20 Dec 2000 18:32:28 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* aclang.m4 (_AC_LANG_COMPILER_GNU): Use a tabulation to indent
`choke me' so that the SGI Fortran compiler really chokes on it.
From Ezra Peisach.
Index: aclang.m4
===================================================================
RCS file: /cvs/autoconf/aclang.m4,v
retrieving revision 1.101
diff -u -u -r1.101 aclang.m4
--- aclang.m4 2000/12/20 09:13:54 1.101
+++ aclang.m4 2000/12/20 17:30:27
@@ -552,11 +552,18 @@
# _AC_LANG_COMPILER_GNU
# ---------------------
# Check whether the compiler for the current language is GNU.
+#
+# It doesn't seem necessary right now to have a different source
+# according to the current language, since this works fine. Some day
+# it might be needed. Nevertheless, pay attention to the fact that
+# the position of `choke me' on the seventh column is meant: otherwise
+# some Fortran compilers (e.g., SGI) might consider it's a
+# continuation line, and warn instead of reporting an error.
m4_define([_AC_LANG_COMPILER_GNU],
[AC_CACHE_CHECK([whether we are using the GNU _AC_LANG compiler],
[ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu],
[_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef __GNUC__
- choke me
+ choke me
#endif
]])],
[ac_compiler_gnu=yes],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Fortran Non GNU,
Akim Demaille <=