mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
for unsupported languages.
This commit is contained in:
parent
599b982dbd
commit
3ab42e94a3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user