mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
Fix for:
[ #417634 ] configuring without C++ compiler name by checking that we're not about to try to compile C++ files with "yes". Now we wait for the system where the C++ compiler *is* called yes...
This commit is contained in:
parent
0702858d73
commit
542411384c
|
@ -151,6 +151,11 @@ AC_ARG_WITH(cxx, [ --with-cxx=<compiler> enable C++ support],[
|
|||
])
|
||||
AC_MSG_RESULT($with_cxx)
|
||||
|
||||
if test "$with_cxx" = "yes"
|
||||
then
|
||||
AC_ERROR(must supply a compiler when using --with-cxx)
|
||||
fi
|
||||
|
||||
dnl The following fragment works similar to AC_PROG_CXX.
|
||||
dnl It does not fail if CXX is not found, and it is not executed if
|
||||
dnl --without-cxx was given.
|
||||
|
|
Loading…
Reference in a new issue