diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-06-25 21:08:28 +0200 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-06-25 21:08:28 +0200 |
commit | d78232d09c99b3f704d5d94e57efe304277450ec (patch) | |
tree | fd8c0b6ed4429c3d3691a373cd28da0251f0813e /configure.ac | |
parent | 77be7bb4789098aaaa1b0eee74da578d8532ef2e (diff) | |
download | gdm-d78232d09c99b3f704d5d94e57efe304277450ec.tar.gz |
configure.ac: Remove XInput check.
It's no longer used anywhere, so we can safely remove it.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/configure.ac b/configure.ac index bec377c8..599a1ea2 100644 --- a/configure.ac +++ b/configure.ac @@ -787,37 +787,6 @@ AC_SUBST(LIBWRAP_LIBS) dnl --------------------------------------------------------------------------- -dnl - Check for Xinput -dnl --------------------------------------------------------------------------- - -have_xinput= -AC_CHECK_LIB(Xi, XOpenDevice, XINPUT_LIBS=-lXi) -if test "x$XINPUT_LIBS" = x; then - save_LIBS="$LIBS" - for xinputpath in $x_libraries /usr/X11R6/lib /usr/openwin/lib; do - LIBS="-L$xinputpath -lXi" - if test x$os_solaris = xyes ; then - XINPUT_RPATH_FLAGS="-R$xinputpath" - fi - AC_MSG_CHECKING(for -lXi in $xinputpath) - AC_TRY_LINK([], [XOpenDevice()], [ - AC_MSG_RESULT(yes) - XINPUT_LIBS="$XINPUT_RPATH_FLAGS -L$xinputpath -lXi" - LIBS="$save_LIBS" - break],[AC_MSG_RESULT(no)]) - done - if test "x$XINPUT_LIBS" = x; then - AC_MSG_ERROR(Couldn't find the XInput library. Check config.log for details) - fi -fi -AC_CHECK_HEADER(X11/extensions/XInput.h, have_xinput=yes) -if test "x$have_xinput" = xyes; then - AC_DEFINE(HAVE_XINPUT, 1, [Define if have xinput]) - X_EXTRA_LIBS="$X_EXTRA_LIBS $XINPUT_LIBS" -fi - - -dnl --------------------------------------------------------------------------- dnl - Check for Xinerama dnl --------------------------------------------------------------------------- |