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

This commit is contained in:
Ozkan Sezer
2022-01-06 22:24:00 +03:00
parent 515b5f2a39
commit 75ac944b9c
7 changed files with 20 additions and 0 deletions

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