diff options
-rw-r--r-- | configure.ac | 4 |
1 files 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 |