$NetBSD: patch-ad,v 1.2 2003/12/13 10:32:53 xtraeme Exp $ --- configure.orig Tue Dec 9 17:08:21 2003 +++ configure Thu Dec 11 00:55:53 2003 @@ -2515,7 +2515,7 @@ fi -LDFLAGS=$X_LIBS +LDFLAGS="$X_LIBS $LDFLAGS" case $host_os in solaris*) GLIBS="-lresolv -laudio $GLIBS"; @@ -2724,7 +2724,7 @@ # 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