autotools: let's try this variant for detecting c++ compiler availability.

This commit is contained in:
Cedric BAIL 2013-12-11 10:40:13 +09:00
parent 9a3294d1cb
commit 770dc9a805
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ fi
# autotools macro and CXX is always set to g++ even if
# it's not found. So we are using an internal variable
# that does the work for now, may get broken in the future.
if test "x${ac_ct_CXX}" = "x"; then
if test "x${ac_ct_CXX}" = "x" -a "x${CXX}" = "xg++"; then
AC_MSG_ERROR([efl requires a C++ compiler got ${ac_ct_CXX} and ${CXX}.])
fi