[project @ 2004-03-07 17:56:35 by ross]
authorross <unknown>
Sun, 7 Mar 2004 17:56:36 +0000 (17:56 +0000)
committerross <unknown>
Sun, 7 Mar 2004 17:56:36 +0000 (17:56 +0000)
if X is available, build X11 and HGL packages.

configure.ac
mk/config.mk.in

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 ################################################################
index 8daeff4..3040feb 100644 (file)
@@ -411,6 +411,7 @@ GLUT_LIBS=@GLUT_LIBS@
 
 # X11 stuff
 #
+GhcLibsWithX11=@GhcLibsWithX11@
 X_CFLAGS=@X_CFLAGS@
 X_LIBS=@X_LIBS@