mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-26 17:45:52 +01:00
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:
committed by
Carlos R. Mafra
parent
b8b59d939d
commit
c7f745c353
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user