Commit 51b1775f authored by Nils Philippsen's avatar Nils Philippsen

configure.ac: fix building screenshot plugin without libXmu

Set SCREENSHOT_LIBS="$XMU_LIBS" only if libXmu development files are
available.
parent 9853df88
......@@ -956,10 +956,10 @@ if test "$gdk_target" = x11; then
AC_CHECK_LIB(Xmu, XmuClientWindow,
[AC_CHECK_HEADERS(X11/Xmu/WinUtil.h,
have_libxmu=yes
XMU_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt",
XMU_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt"
SCREENSHOT_LIBS="$XMU_LIBS",
[have_libxmu="no (XMU header file not found)"],[#include <gdk/gdkx.h>])],
[have_libxmu="no (XMU library not found)"], -lXt -lX11)
SCREENSHOT_LIBS="$XMU_LIBS"
fi
# Check for shaped window extension
......
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