diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-03-09 19:17:51 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-03-09 19:17:51 +0100 |
commit | 9eae57b3acfd187ba97d6e27486a3c062c6405eb (patch) | |
tree | 364bb04cc536e362cdd3fd117525172be92ee62a | |
parent | 5b96dcca004a9a96ff1ff267e40193c2efba9f13 (diff) | |
download | ratpoison-9eae57b3acfd187ba97d6e27486a3c062c6405eb.zip |
Require xrandr support by default.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3764d9c..f900ef5 100644 --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ AC_SUBST([manpage_format]) AC_MSG_CHECKING([Xrandr support]) AC_ARG_WITH([xrandr], [AS_HELP_STRING([--without-xrandr], - [Build without Xrandr support, default is to use if available])], + [Build without Xrandr support, default is to require and use it.])], [with_xrandr=$withval], [with_xrandr=check]) AC_MSG_RESULT([$with_xrandr]) @@ -190,6 +190,8 @@ compile_xrandr=no AS_CASE(["$with_xrandr:$xrandr_h:$libxrandr"], [yes:no:*], [AC_MSG_ERROR([*** Can't enable Xrandr support, header Xrandr.h not found.])], [yes:*:no], [AC_MSG_ERROR([*** Can't enable Xrandr support, libXrandr not found.])], + [check:no:*], [AC_MSG_ERROR([*** Header Xrandr.h not found, use ./configure --without-xrandr to build without multiple screens support.])], + [check:*:no], [AC_MSG_ERROR([*** libXrandr not found, use ./configure --without-xrandr to build without multiple screens support.])], [yes:yes:yes|check:yes:yes], [X_LIBS="-lXrandr $X_LIBS" AC_DEFINE(HAVE_XRANDR, 1, [Define to 1 if you want Xrandr support.]) compile_xrandr=yes]) |