$NetBSD: patch-aa,v 1.5.6.1 2003/03/05 14:10:59 agc Exp $

--- include/config.h.orig	2003-02-23 16:43:19.000000000 +0200
+++ include/config.h	2003-03-01 22:17:08.000000000 +0200
@@ -42,8 +42,8 @@
  * Define all of those you want supported in your binary.
  * Some combinations make no sense.  See the installation document.
  */
-#define TTY_GRAPHICS	/* good old tty based graphics */
-/* #define X11_GRAPHICS */	/* X11 interface */
+/* #define TTY_GRAPHICS	/* good old tty based graphics */
+#define X11_GRAPHICS		/* X11 interface */
 /* #define QT_GRAPHICS */	/* Qt interface */
 /* #define GNOME_GRAPHICS */	/* Gnome interface */
 /* #define MSWIN_GRAPHICS */	/* Windows NT, CE, Graphics */
@@ -112,7 +112,7 @@
 #endif
 
 #ifndef DEFAULT_WINDOW_SYS
-# define DEFAULT_WINDOW_SYS "tty"
+# define DEFAULT_WINDOW_SYS "x11"
 #endif
 
 #ifdef X11_GRAPHICS
@@ -124,7 +124,7 @@
  * would allow:
  *  xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm
  */
-/* # define USE_XPM */		/* Disable if you do not have the XPM library */
+# define USE_XPM		/* Disable if you do not have the XPM library */
 # ifdef USE_XPM
 #  define GRAPHIC_TOMBSTONE	/* Use graphical tombstone (rip.xpm) */
 # endif
@@ -167,11 +167,11 @@
 
 #ifdef UNIX
 /* path and file name extension for compression program */
-#define COMPRESS "/usr/bin/compress"	/* Lempel-Ziv compression */
-#define COMPRESS_EXTENSION ".Z"		/* compress's extension */
+/* #define COMPRESS "/usr/bin/compress"	/* Lempel-Ziv compression */
+/* #define COMPRESS_EXTENSION ".Z"		/* compress's extension */
 /* An example of one alternative you might want to use: */
-/* #define COMPRESS "/usr/local/bin/gzip" */	/* FSF gzip compression */
-/* #define COMPRESS_EXTENSION ".gz" */		/* normal gzip extension */
+#define COMPRESS "@GZIP_PROGRAM@"		/* FSF gzip compression */
+#define COMPRESS_EXTENSION ".gz"		/* normal gzip extension */
 #endif
 
 #ifndef COMPRESS
@@ -205,7 +205,7 @@
 #  ifdef __APPLE__
 #    define HACKDIR "nethackdir"	/* nethack directory */
 #  else
-#    define HACKDIR "/usr/games/lib/nethackdir"
+#    define HACKDIR "XXXPREFIXXXX/share/nethackdir340"
 #  endif
 # endif
 
@@ -302,7 +302,7 @@
  * functions that have been macroized.
  */
 
-/* #define VISION_TABLES */ /* use vision tables generated at compile time */
+#define VISION_TABLES /* use vision tables generated at compile time */
 #ifndef VISION_TABLES
 # ifndef NO_MACRO_CPATH
 #  define MACRO_CPATH	/* use clear_path macros instead of functions */
