From 4ee612646b79497113c5df076a99ba4dafb5432a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 22 Nov 2022 14:22:28 -0800 Subject: 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 --- configure.ac | 4 ++-- 1 file 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 ]) 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" -- cgit v1.2.3