mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 10:49:12 +00:00
Add static assertions that the version number is consistent
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Sam Lantinga
parent
22002d9155
commit
63814ec767
@@ -209,6 +209,10 @@ case "$enable_assertions" in
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MAJOR_VERSION], $SDL_MAJOR_VERSION, [ ])
|
||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MINOR_VERSION], $SDL_MINOR_VERSION, [ ])
|
||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MICRO_VERSION], $SDL_MICRO_VERSION, [ ])
|
||||
|
||||
dnl See whether we can use gcc style dependency tracking
|
||||
AC_ARG_ENABLE(dependency-tracking,
|
||||
[AS_HELP_STRING([--enable-dependency-tracking],
|
||||
|
||||
Reference in New Issue
Block a user