--- configure.orig	Mon Jan 12 16:47:18 2004
+++ configure		Mon Jan 10 12:35:23 2005
@@ -39,7 +39,7 @@
 }
 EOF
 CXX=unknown;
-for i in "CC" "g++" "cc" "$CC"; do
+for i in "g++" "c++" "$CXX"; do
   if $i -c $tmp_file.C 2>/dev/null; then
     CXX="$i";
     break;
