$NetBSD: patch-ad,v 1.3 2004/03/02 23:14:31 snj Exp $ --- configure.orig 2004-01-24 17:15:57.000000000 -0800 +++ configure 2004-03-02 14:23:06.000000000 -0800 @@ -6065,7 +6065,7 @@ fi # avoid using X11 in BeOS if test $host_os != beos; then - CPPFLAGS= + CPPFLAGS="$X_CFLAGS $CPPFLAGS" if test x$no_x = x; then GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS" fi