relax that test.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Sat, 19 Jan 2013 15:46:57 +0000 (15:46 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Sat, 19 Jan 2013 15:46:57 +0000 (15:46 +0000)
seems autoconf is stupid and cannot agree on a single variable to
store stuff, if you give ./configure CXX=bla it will change
everything.

Relax the test and just use CXX, if it's set, believe it's usable.

SVN revision: 83008

configure.ac

index d84368e..e28e5d7 100644 (file)
@@ -223,7 +223,7 @@ AM_PROG_CC_C_O
 if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
    AC_MSG_ERROR([efl requires a c99-capable compiler])
 fi
-if test "x${ac_cv_prog_ac_ct_CXX:-${ac_cv_prog_CXX}}" = "x" ; then
+if test "x${CXX}" = "x"; then
    AC_MSG_ERROR([efl requires a C++ compiler])
 fi