cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=770dc9a805194c6759617ddac27d7a7fa467f626

commit 770dc9a805194c6759617ddac27d7a7fa467f626
Author: Cedric BAIL <[email protected]>
Date:   Wed Dec 11 10:40:13 2013 +0900

    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 2c0d218..6409fb2 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
 

-- 


Reply via email to