Configure: Added proper check for Xmu library for WRaster

The original code supposed that the library was available and ready to use.
As it may not be the case (modern distro generally don't include dev files
by defaults), add a the appropriate checks to make sure WRaster compilation
will not fail later.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-12-30 18:11:06 +00:00
1 parent b8b59d939d
commit c7f745c353
2 files changed
+43 -2

No files matched your search

+5 -2
View File
@@ -451,8 +451,6 @@ X_LIBRARY_PATH=$x_libraries
XCFLAGS="$X_CFLAGS"
XLFLAGS="$X_LIBS"
XLIBS="-lX11 $X_EXTRA_LIBS"
LIBXMU="-lXmu"
AC_SUBST(LIBXMU)
lib_search_path="$lib_search_path $XLFLAGS"
inc_search_path="$inc_search_path $XCFLAGS"
@@ -509,6 +507,11 @@ AC_ARG_ENABLE([shm],
[enable_shm=auto])
WM_XEXT_CHECK_XSHM
dnl X Misceleanous Utility
dnl ======================
# the libXmu is used in WRaster
WM_EXT_CHECK_XMU
dnl XINERAMA support
dnl ================
AC_ARG_ENABLE([xinerama],