check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available.

This commit is contained in:
Ozkan Sezer committed 2022-01-06 22:24:00 +03:00
1 parent 515b5f2a39
commit 75ac944b9c
7 files changed
+20

No files matched your search

+4
View File
@@ -3971,6 +3971,10 @@ case "$host" in
have_haptic=yes
fi
fi
AC_CHECK_HEADER(tpcshrd.h,have_tpcshrd_h=yes)
if test x$have_tpcshrd_h = xyes; then
AC_DEFINE(HAVE_TPCSHRD_H, 1, [ ])
fi
# Set up files for the sensor library
AC_CHECK_HEADER(sensorsapi.h,have_winsensors=yes,have_winsensors=no)
if test x$have_winsensors = xyes; then