mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
check for HAVE_ROAPI_H in cmake and autotools, and
update SDL_config_windows.h and SDL_config_winrt.h
This commit is contained in:
35
configure
vendored
35
configure
vendored
@@ -24779,6 +24779,30 @@ $as_echo "$have_wince" >&6; }
|
||||
|
||||
# This fixes Windows stack alignment with newer GCC
|
||||
CheckStackBoundary
|
||||
|
||||
# headers needed elsewhere
|
||||
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
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "roapi.h" "ac_cv_header_roapi_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_roapi_h" = xyes; then :
|
||||
have_roapi_h=yes
|
||||
fi
|
||||
|
||||
|
||||
if test x$have_roapi_h = xyes; then
|
||||
|
||||
$as_echo "#define HAVE_ROAPI_H 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
CheckOS2()
|
||||
@@ -26255,17 +26279,6 @@ $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 :
|
||||
|
||||
Reference in New Issue
Block a user