--- configure.orig	2008-11-30 07:47:30.000000000 -0800
+++ configure	2008-11-30 07:47:34.000000000 -0800
@@ -2643,7 +2643,7 @@
 
 
 # see if we actually have a CXX program
-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
+if test "$CXX" = ""; then
     { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
 echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
     enable_cxx=no
