From 58b4caefba876b26684cfef00ee03b9c55990947 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 7 Apr 2012 14:02:13 +0000 Subject: [PATCH] (trunk) fix bug #4826 where overriding the C++ compliler via the CXX environment variable didn't work --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 05f8cf077..64f1f723e 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,13 @@ AC_SUBST(LIBAPPINDICATOR_MINIMUM) AC_PROG_CC AC_PROG_CXX -AC_CHECK_PROG([HAVE_CXX],[$CXX],[yes],[no]) +AC_MSG_CHECKING([for $CXX]) +if test -f "$CXX"; then + HAVE_CXX="yes" +else + HAVE_CXX="no" +fi +AC_MSG_RESULT([$HAVE_CXX]) AC_C_INLINE if test "x$GCC" = "xyes" ; then