summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-22 14:22:28 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-22 14:22:28 -0800
commit4ee612646b79497113c5df076a99ba4dafb5432a (patch)
treee1c282468e6d32d33ecfad2432cbf0088c12b64a
parentb19609386121ab113c4c71e930e71dc17508c25b (diff)
configure: Make xf86misc support disabled by default
Require --with-xf86misc to enable it. The server side of the XF86-Misc extension was removed in the xserver-1.6.0 release in 2008, so this code is unusable on most systems now. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 08c7da8..1dc468f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,8 +58,8 @@ PKG_CHECK_MODULES(SET_XKB, x11,
AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>])
CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])
-AC_ARG_WITH(xf86misc, AS_HELP_STRING([--without-xf86misc],[Disable xf86misc support.]),
- [USE_XF86MISC="$withval"], [USE_XF86MISC="yes"])
+AC_ARG_WITH(xf86misc, AS_HELP_STRING([--with-xf86misc],[Enable xf86misc support.]),
+ [USE_XF86MISC="$withval"], [USE_XF86MISC="no"])
if test "x$USE_XF86MISC" != "xno" ; then
PKG_CHECK_MODULES(SET_XF86MISC, xxf86misc,
[SAVE_CPPFLAGS="$CPPFLAGS"