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

11
configure vendored
View File

@@ -26134,6 +26134,17 @@ $as_echo "#define SDL_HAPTIC_DINPUT 1" >>confdefs.h
have_haptic=yes
fi
fi
ac_fn_c_check_header_mongrel "$LINENO" "tpcshrd.h" "ac_cv_header_tpcshrd_h" "$ac_includes_default"
if test "x$ac_cv_header_tpcshrd_h" = xyes; then :
have_tpcshrd_h=yes
fi
if test x$have_tpcshrd_h = xyes; then
$as_echo "#define HAVE_TPCSHRD_H 1" >>confdefs.h
fi
# Set up files for the sensor library
ac_fn_c_check_header_mongrel "$LINENO" "sensorsapi.h" "ac_cv_header_sensorsapi_h" "$ac_includes_default"
if test "x$ac_cv_header_sensorsapi_h" = xyes; then :