From 971f3bef5995429b2c74aae083ae4bccb74d04ff Mon Sep 17 00:00:00 2001 From: Date: Fri, 27 Jan 2006 21:09:34 -0500 Subject: [PATCH] Correct an error with headless configuration --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c8ccc80..36cda5e 100644 --- a/configure.ac +++ b/configure.ac @@ -443,10 +443,11 @@ AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11", AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.]) ) -AC_DEFINE(X_DISPLAY_SUPPORT,1,[Define to 1 if the X Window System is supported, 0 otherwise.]) +AC_DEFINE(X_DISPLAY_SUPPORT,1,[Define to 1 if the X Window System is supported, 0 otherwise.]) else AC_DEFINE(X_DISPLAY_SUPPORT,0,[Define to 1 if the X Window System is supported, 0 otherwise.]) X_LIBS= +AC_DEFINE(X_DISPLAY_MISSING,,[Defined if the X headers were not found]) fi AC_SUBST(X_LIBS) -- 2.11.4.GIT