--- support/configure.orig	Mon Aug 18 15:17:52 2003
+++ support/configure	Mon Aug 18 15:17:52 2003
@@ -1296,7 +1296,7 @@
 fi
 
 irc_cv_solaris_2=no
-if test "$irc_sun" = no; then
+if test "$irc_cv_sun" = no; then
   echo "$ac_t""no" 1>&6
 else
   if uname -r 2>/dev/null | grep "^5" >/dev/null; then
