[project @ 2004-03-16 05:05:31 by mthomas]
[ghc-hetmet.git] / configure.ac
index 547f864..83a96e4 100644 (file)
@@ -1218,6 +1218,13 @@ AC_SUBST([LIBM])
 dnl ** check for X Window System
 AC_PATH_XTRA()
 
+if test "$no_x" = yes; then
+  GhcLibsWithX11=NO
+else
+  GhcLibsWithX11=YES
+fi
+AC_SUBST([GhcLibsWithX11])
+
 dnl ################################################################
 dnl Check for libraries
 dnl ################################################################