$OpenBSD: patch-configure,v 1.1.1.1 2007/07/20 11:02:14 robert Exp $
--- configure.orig	Fri Jan 26 20:04:17 2007
+++ configure	Fri Jan 26 20:05:12 2007
@@ -4151,7 +4151,7 @@ echo "${ECHO_T}no" >&6; }
 fi
 
 
-if test ! -e $CXX; then
+if test ! -e `which $CXX`; then
    { { echo "$as_me:$LINENO: error: Unable to find C++ compiler" >&5
 echo "$as_me: error: Unable to find C++ compiler" >&2;}
    { (exit 1); exit 1; }; }
