[ #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:
Michael W. Hudson 2001-12-07 15:38:26 +00:00
parent 0702858d73
commit 542411384c
2 changed files with 4059 additions and 9274 deletions

13328
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -151,6 +151,11 @@ AC_ARG_WITH(cxx, [ --with-cxx=<compiler> enable C++ support],[
]) ])
AC_MSG_RESULT($with_cxx) 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 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 It does not fail if CXX is not found, and it is not executed if
dnl --without-cxx was given. dnl --without-cxx was given.