Commit ea8a31eb authored by Michael W. Hudson's avatar Michael W. Hudson

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...
parent bc583d97
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment