From edb79ae2b1d39bc12d489bcded74ab966e019994 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 21 Mar 2010 00:02:00 -0400 Subject: [PATCH] I think two HAVE_X's were missed. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7ef9e71..6516523 100644 --- a/configure.ac +++ b/configure.ac @@ -124,7 +124,7 @@ fi if test "x$with_x" = "xno"; then HAVE_X11="false" elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then - AC_CHECK_LIB(X11, XGetImage, [AC_DEFINE(HAVE_X11) HAVE_X="true"], + AC_CHECK_LIB(X11, XGetImage, [AC_DEFINE(HAVE_X11) HAVE_X11="true"], HAVE_X11="false", $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) @@ -248,7 +248,7 @@ elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then fi AC_SUBST(X_LIBS) -AM_CONDITIONAL(HAVE_X11, test $HAVE_X != "false") +AM_CONDITIONAL(HAVE_X11, test $HAVE_X11 != "false") # x11vnc only: if test "$build_x11vnc" = "yes"; then