mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
Code refactoring: replaced macro 'HAVE_XRANDR' by 'USE_XRANDR' for consistency
The usual way to define a macro in is to name macro with 'USE_xxx' when they are used to enable a feature 'xxx'. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
2a7a4d77d7
commit
73c00fac27
@@ -520,7 +520,7 @@ LIBXRANDR=
|
||||
if test "$xrandr" = yes; then
|
||||
AC_CHECK_LIB(Xrandr, XRRQueryExtension, [LIBXRANDR=-lXrandr
|
||||
added_xext=yes
|
||||
AC_DEFINE(HAVE_XRANDR, 1, [define if you want support for XRandR (set by configure)])],
|
||||
AC_DEFINE(USE_XRANDR, 1, [define if you want support for XRandR (set by configure)])],
|
||||
xrandr=no, $XLFLAGS $XLIBS)
|
||||
fi
|
||||
AC_SUBST(LIBXRANDR)
|
||||
|
||||
Reference in New Issue
Block a user