From 770dc9a805194c6759617ddac27d7a7fa467f626 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 11 Dec 2013 10:40:13 +0900 Subject: [PATCH] autotools: let's try this variant for detecting c++ compiler availability. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2c0d218821..6409fb2a1f 100644 --- a/configure.ac +++ b/configure.ac @@ -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