* 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.
This commit is contained in:
Akim Demaille 2000-12-20 17:31:22 +00:00
parent aeaf765c48
commit edad08c3b2
5 changed files with 38 additions and 4 deletions

View File

@ -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

View 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],

View 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],

View 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],

View 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],