- Added the graphics/ttydrv directory.
- Don't search for reentrant X when X doesn't exist.
- Added config options HAVE_LIBXXPM
- Added checks if the header files also exist for some libraries

diff --git a/include/config.h.in b/include/config.h.in
index 6c36816..9e330f1 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -36,6 +36,9 @@
 /* Define if you have the Xxf86vm library */
 #undef HAVE_LIBXXF86VM
 
+/* Define if you have the Xpm library */
+#undef HAVE_LIBXXPM
+
 /* Define if you have the Open Sound system.  */
 #undef HAVE_OSS
 
@@ -126,9 +129,27 @@
 /* Define if you have the waitpid function.  */
 #undef HAVE_WAITPID
 
+/* Define if you have the <GL/gl.h> header file.  */
+#undef HAVE_GL_GL_H
+
 /* Define if you have the <GL/osmesa.h> header file.  */
 #undef HAVE_GL_OSMESA_H
 
+/* Define if you have the <X11/Xlib.h> header file.  */
+#undef HAVE_X11_XLIB_H
+
+/* Define if you have the <X11/extensions/XShm.h> header file.  */
+#undef HAVE_X11_EXTENSIONS_XSHM_H
+
+/* Define if you have the <X11/extensions/xf86dga.h> header file.  */
+#undef HAVE_X11_EXTENSIONS_XF86DGA_H
+
+/* Define if you have the <X11/extensions/xf86vmode.h> header file.  */
+#undef HAVE_X11_EXTENSIONS_XF86VMODE_H
+
+/* Define if you have the <X11/xpm.h> header file.  */
+#undef HAVE_X11_XPM_H
+
 /* Define if you have the <curses.h> header file.  */
 #undef HAVE_CURSES_H