From: Luiz Augusto von Dentz Date: Tue, 23 Nov 2021 21:32:12 +0000 (-0800) Subject: build: Check for linux/uinput.h and linux/uhid.h X-Git-Tag: submit/tizen/20220313.220938~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e43cea69d6bc062d50487dadf99d07c753dd895;p=platform%2Fupstream%2Fbluez.git build: Check for linux/uinput.h and linux/uhid.h This makes configure to check the presence of linux/uinput.h and linux/uhid.h kernel uapi headers since the code no longer contain copies of them and otherwise the code cannot be build without them: checking linux/uinput.h usability... yes checking linux/uinput.h presence... yes checking for linux/uinput.h... yes checking linux/uhid.h usability... yes checking linux/uhid.h presence... yes checking for linux/uhid.h... yes Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/configure.ac b/configure.ac index 3657d507..c965e30f 100755 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,7 @@ AC_CHECK_LIB(pthread, pthread_create, dummy=yes, AC_CHECK_LIB(dl, dlopen, dummy=yes, AC_MSG_ERROR(dynamic linking loader is required)) -AC_CHECK_HEADERS(linux/types.h linux/if_alg.h) +AC_CHECK_HEADERS(linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h) PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.28, dummy=yes, AC_MSG_ERROR(GLib >= 2.28 is required))