$NetBSD: patch-ab,v 1.4 2005/10/15 23:07:21 tonio Exp $

--- configure.orig	2003-12-05 13:51:16.000000000 +0100
+++ configure
@@ -26177,6 +26177,9 @@ else
   ac_cv_my_have_xaw="no (cross-compiling)"
 fi
 
+if test "${WITH_XAW}" = "no"; then
+  ac_cv_my_have_xaw=no
+fi
 
 if test "${ac_cv_my_have_xaw}" = "yes"; then
   HAVE_XAW_TRUE=
