]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (_AC_LANG_COMPILER_GNU): Use a tabulation to indent
authorAkim Demaille <akim@epita.fr>
Wed, 20 Dec 2000 17:31:22 +0000 (17:31 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 20 Dec 2000 17:31:22 +0000 (17:31 +0000)
`choke me' so that the SGI Fortran compiler really chokes on it.
From Ezra Peisach.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index bac6a5f73d059a04aecfc81893ab70c189d3fb6b..76a80c75337cf7aa90feb2fff6ae124c591808c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-20  Akim Demaille  <akim@epita.fr>
+
+       * 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.
+
 2000-12-20  Akim Demaille  <akim@epita.fr>
 
        * tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
index 95daf33376db16ab529bb5ed0a9cd139e421cbee..f8736e89a30b953c7861960c756a1070a162f41f 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -552,11 +552,18 @@ AC_MSG_RESULT([$cross_compiling])
 # _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],
index 95daf33376db16ab529bb5ed0a9cd139e421cbee..f8736e89a30b953c7861960c756a1070a162f41f 100644 (file)
@@ -552,11 +552,18 @@ AC_MSG_RESULT([$cross_compiling])
 # _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],
index 95daf33376db16ab529bb5ed0a9cd139e421cbee..f8736e89a30b953c7861960c756a1070a162f41f 100644 (file)
@@ -552,11 +552,18 @@ AC_MSG_RESULT([$cross_compiling])
 # _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],
index 95daf33376db16ab529bb5ed0a9cd139e421cbee..f8736e89a30b953c7861960c756a1070a162f41f 100644 (file)
@@ -552,11 +552,18 @@ AC_MSG_RESULT([$cross_compiling])
 # _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],