From 2f60572cb240dfabe5c5436af335d2b243390296 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Sun, 13 Mar 2005 23:06:07 +0000 Subject: [PATCH] Define presence of X11 in configure --- stepmania/autoconf/m4/opengl.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/autoconf/m4/opengl.m4 b/stepmania/autoconf/m4/opengl.m4 index aebae267ba..78f4f247ea 100644 --- a/stepmania/autoconf/m4/opengl.m4 +++ b/stepmania/autoconf/m4/opengl.m4 @@ -29,7 +29,9 @@ AC_DEFUN([SM_X_WITH_OPENGL], [AC_DEFINE(HAVE_LIBXTST, 1, [libXtst available])], , [$XLIBS]) + AC_DEFINE(HAVE_X11, 1, [X11 libraries present]) fi + AM_CONDITIONAL(HAVE_X11, test "$no_x" != "yes") AC_SUBST(XCFLAGS) AC_SUBST(XLIBS)