Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: check for c++ availability #14461

Merged
merged 1 commit into from May 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions configure.ac
Expand Up @@ -573,6 +573,10 @@ dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4
AC_SUBST(CCAS)
AC_SUBST(CCASFLAGS)

if test "x$CXX" = "xno"; then
AC_MSG_ERROR([No c++ compiler found. You need to install a c++ compiler])
fi

# AC_PROG_CXX helpfully sets CXX to g++ even if no c++ compiler is found so check
# GXX instead. See http://lists.gnu.org/archive/html/bug-autoconf/2002-04/msg00056.html
if test "x$CXX" = "xg++"; then
Expand Down