diff --git a/src/configure.in b/src/configure.in
index 803f4a85bb03aadbb9572ece702e12f918af4fdf..a5c47ffb342464d24d3f81d9c88ce6ba111cab6e 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.297 1999/05/30 20:59:26 grubba Exp $")
+AC_REVISION("$Id: configure.in,v 1.298 1999/05/30 22:09:41 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -323,8 +323,12 @@ string:
       AC_MSG_WARN([Your gcc/as combo may generate R_SPARC_UA32 relocations.])
       AC_MSG_WARN([R_SPARC_UA32 relocations are unsupported in Solaris >= 2.3,])
       AC_MSG_WARN([and have broken support in Solaris 7.])
-      AC_MSG_WARN([You may want to consider backing out patch 107058-01, or])
-      AC_MSG_WARN([recompile your gcc with a modified config/sparc/sol2.h.])
+      if test -d "/var/sadm/patch/107058-01/."; then
+	AC_MSG_WARN([Back out patch 107058-01, or])
+        AC_MSG_WARN([recompile gcc with a modified config/sparc/sol2.h.])
+      else
+        AC_MSG_WARN([Recompile gcc with a modified config/sparc/sol2.h.])
+      fi
       exit 1
     else :; fi
   else :; fi