From 670654fc7b2a3acc8ec734a8aa1ab7d11386ac1f Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Sun, 29 Dec 2019 12:07:12 +0100 Subject: [PATCH] Remove unnecessary check for XKBlib.h --- configure.ac | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configure.ac b/configure.ac index 777c9244..4880b3b3 100644 --- a/configure.ac +++ b/configure.ac @@ -456,18 +456,6 @@ PKG_CHECK_MODULES([OPUSFILE], [opusfile], [ LIBS="$LIBS ${OPUSFILE_LIBS}" CPPFLAGS="$CPPFLAGS ${OPUSFILE_CFLAGS}" ], []) -AH_TEMPLATE(C_X11_XKB,[define to 1 if you have XKBlib.h and X11 lib]) -AC_CHECK_LIB(X11, main, have_x11_lib=yes, have_x11_lib=no, ) -AC_CHECK_HEADER(X11/XKBlib.h, have_x11_h=yes, have_x11_h=no, ) -AC_MSG_CHECKING(for XKBlib support) -if test x$have_x11_lib = xyes -a x$have_x11_h = xyes ; then - LIBS="$LIBS -lX11" - AC_DEFINE(C_X11_XKB,1) - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi - AH_TEMPLATE(C_OPENGL,[Define to 1 to use opengl display output support]) AC_CHECK_LIB(GL, main, have_gl_lib=yes, have_gl_lib=no , ) AC_CHECK_LIB(opengl32, main, have_opengl32_lib=yes,have_opengl32_lib=no , )