* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL

for unsupported languages.
This commit is contained in:
Pavel Roskin 2000-10-28 16:33:19 +00:00
parent 599b982dbd
commit 3ab42e94a3
5 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-10-28 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
for unsupported languages.
2000-10-27 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the

View File

@ -512,7 +512,8 @@ AC_DEFUN([AC_LANG_COMPILER_REQUIRE],
# current language.
AC_DEFUN([AC_REQUIRE_CPP],
[AC_LANG_CASE(C, [AC_REQUIRE([AC_PROG_CPP])],
[AC_REQUIRE([AC_PROG_CXXCPP])])])
C++, [AC_REQUIRE([AC_PROG_CXXCPP])],
[AC_FATAL([No preprocessor defined for ]_AC_LANG)])])
# _AC_LANG_COMPILER_WORKS

View File

@ -512,7 +512,8 @@ AC_DEFUN([AC_LANG_COMPILER_REQUIRE],
# current language.
AC_DEFUN([AC_REQUIRE_CPP],
[AC_LANG_CASE(C, [AC_REQUIRE([AC_PROG_CPP])],
[AC_REQUIRE([AC_PROG_CXXCPP])])])
C++, [AC_REQUIRE([AC_PROG_CXXCPP])],
[AC_FATAL([No preprocessor defined for ]_AC_LANG)])])
# _AC_LANG_COMPILER_WORKS

View File

@ -512,7 +512,8 @@ AC_DEFUN([AC_LANG_COMPILER_REQUIRE],
# current language.
AC_DEFUN([AC_REQUIRE_CPP],
[AC_LANG_CASE(C, [AC_REQUIRE([AC_PROG_CPP])],
[AC_REQUIRE([AC_PROG_CXXCPP])])])
C++, [AC_REQUIRE([AC_PROG_CXXCPP])],
[AC_FATAL([No preprocessor defined for ]_AC_LANG)])])
# _AC_LANG_COMPILER_WORKS

View File

@ -512,7 +512,8 @@ AC_DEFUN([AC_LANG_COMPILER_REQUIRE],
# current language.
AC_DEFUN([AC_REQUIRE_CPP],
[AC_LANG_CASE(C, [AC_REQUIRE([AC_PROG_CPP])],
[AC_REQUIRE([AC_PROG_CXXCPP])])])
C++, [AC_REQUIRE([AC_PROG_CXXCPP])],
[AC_FATAL([No preprocessor defined for ]_AC_LANG)])])
# _AC_LANG_COMPILER_WORKS