Commit edb79ae2 authored by runge's avatar runge

I think two HAVE_X's were missed.

parent b991c616
...@@ -124,7 +124,7 @@ fi ...@@ -124,7 +124,7 @@ fi
if test "x$with_x" = "xno"; then if test "x$with_x" = "xno"; then
HAVE_X11="false" HAVE_X11="false"
elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then 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", HAVE_X11="false",
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
...@@ -248,7 +248,7 @@ elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then ...@@ -248,7 +248,7 @@ elif test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
fi fi
AC_SUBST(X_LIBS) AC_SUBST(X_LIBS)
AM_CONDITIONAL(HAVE_X11, test $HAVE_X != "false") AM_CONDITIONAL(HAVE_X11, test $HAVE_X11 != "false")
# x11vnc only: # x11vnc only:
if test "$build_x11vnc" = "yes"; then if test "$build_x11vnc" = "yes"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment