SDL: build_config: change unnecessary replacement variables to 1

From 286cc2ebd0b0c98f6b2f05b051c85ba77be4f887 Mon Sep 17 00:00:00 2001
From: L zard <[EMAIL REDACTED]>
Date: Sat, 2 Nov 2024 17:22:48 +0100
Subject: [PATCH] build_config: change unnecessary replacement variables to 1

Makes all macros only used in `#ifdef`s defined as `1` when they exist, instead of the CMake value of the corresponding variable.
---
 include/build_config/SDL_build_config.h.cmake | 430 +++++++++---------
 1 file changed, 215 insertions(+), 215 deletions(-)

diff --git a/include/build_config/SDL_build_config.h.cmake b/include/build_config/SDL_build_config.h.cmake
index 2d64c74b1d0d6..8a44a626d5fd0 100644
--- a/include/build_config/SDL_build_config.h.cmake
+++ b/include/build_config/SDL_build_config.h.cmake
@@ -31,10 +31,10 @@
 /* General platform specific identifiers */
 #include <SDL3/SDL_platform_defines.h>
 
-#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
-#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
+#cmakedefine HAVE_GCC_ATOMICS 1
+#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
 
-#cmakedefine SDL_DISABLE_ALLOCA
+#cmakedefine SDL_DISABLE_ALLOCA 1
 
 /* Useful headers */
 #cmakedefine HAVE_FLOAT_H 1
@@ -211,21 +211,21 @@
 #cmakedefine HAVE_LIBDECOR_H 1
 #cmakedefine HAVE_LIBURING_H 1
 
-#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
-#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
-#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
-#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
-#cmakedefine HAVE_WINDOWS_GAMING_INPUT_H @HAVE_WINDOWS_GAMING_INPUT_H@
-#cmakedefine HAVE_GAMEINPUT_H @HAVE_GAMEINPUT_H@
-#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
-#cmakedefine HAVE_DXGI1_6_H @HAVE_DXGI1_6_H@
+#cmakedefine HAVE_DDRAW_H 1
+#cmakedefine HAVE_DSOUND_H 1
+#cmakedefine HAVE_DINPUT_H 1
+#cmakedefine HAVE_XINPUT_H 1
+#cmakedefine HAVE_WINDOWS_GAMING_INPUT_H 1
+#cmakedefine HAVE_GAMEINPUT_H 1
+#cmakedefine HAVE_DXGI_H 1
+#cmakedefine HAVE_DXGI1_6_H 1
 
-#cmakedefine HAVE_MMDEVICEAPI_H @HAVE_MMDEVICEAPI_H@
-#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
-#cmakedefine HAVE_ROAPI_H @HAVE_ROAPI_H@
-#cmakedefine HAVE_SHELLSCALINGAPI_H @HAVE_SHELLSCALINGAPI_H@
+#cmakedefine HAVE_MMDEVICEAPI_H 1
+#cmakedefine HAVE_TPCSHRD_H 1
+#cmakedefine HAVE_ROAPI_H 1
+#cmakedefine HAVE_SHELLSCALINGAPI_H 1
 
-#cmakedefine USE_POSIX_SPAWN @USE_POSIX_SPAWN@
+#cmakedefine USE_POSIX_SPAWN 1
 
 /* SDL internal assertion support */
 #cmakedefine SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED 1
@@ -234,156 +234,156 @@
 #endif
 
 /* Allow disabling of major subsystems */
-#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
-#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
-#cmakedefine SDL_GPU_DISABLED @SDL_GPU_DISABLED@
-#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
-#cmakedefine SDL_CAMERA_DISABLED @SDL_CAMERA_DISABLED@
-#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
-#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
-#cmakedefine SDL_HIDAPI_DISABLED @SDL_HIDAPI_DISABLED@
-#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
-#cmakedefine SDL_SENSOR_DISABLED @SDL_SENSOR_DISABLED@
-#cmakedefine SDL_DIALOG_DISABLED @SDL_DIALOG_DISABLED@
-#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
+#cmakedefine SDL_AUDIO_DISABLED 1
+#cmakedefine SDL_VIDEO_DISABLED 1
+#cmakedefine SDL_GPU_DISABLED 1
+#cmakedefine SDL_RENDER_DISABLED 1
+#cmakedefine SDL_CAMERA_DISABLED 1
+#cmakedefine SDL_JOYSTICK_DISABLED 1
+#cmakedefine SDL_HAPTIC_DISABLED 1
+#cmakedefine SDL_HIDAPI_DISABLED 1
+#cmakedefine SDL_POWER_DISABLED 1
+#cmakedefine SDL_SENSOR_DISABLED 1
+#cmakedefine SDL_DIALOG_DISABLED 1
+#cmakedefine SDL_THREADS_DISABLED 1
 
 /* Enable various audio drivers */
-#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
+#cmakedefine SDL_AUDIO_DRIVER_ALSA 1
 #cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
-#cmakedefine SDL_AUDIO_DRIVER_OPENSLES @SDL_AUDIO_DRIVER_OPENSLES@
-#cmakedefine SDL_AUDIO_DRIVER_AAUDIO @SDL_AUDIO_DRIVER_AAUDIO@
-#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
-#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
-#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
-#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
-#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@
-#cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@
-#cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@
+#cmakedefine SDL_AUDIO_DRIVER_OPENSLES 1
+#cmakedefine SDL_AUDIO_DRIVER_AAUDIO 1
+#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO 1
+#cmakedefine SDL_AUDIO_DRIVER_DISK 1
+#cmakedefine SDL_AUDIO_DRIVER_DSOUND 1
+#cmakedefine SDL_AUDIO_DRIVER_DUMMY 1
+#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN 1
+#cmakedefine SDL_AUDIO_DRIVER_HAIKU 1
+#cmakedefine SDL_AUDIO_DRIVER_JACK 1
 #cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@
-#cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@
-#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
-#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE @SDL_AUDIO_DRIVER_PIPEWIRE@
+#cmakedefine SDL_AUDIO_DRIVER_NETBSD 1
+#cmakedefine SDL_AUDIO_DRIVER_OSS 1
+#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE 1
 #cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC @SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC@
-#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
+#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO 1
 #cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
-#cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@
+#cmakedefine SDL_AUDIO_DRIVER_SNDIO 1
 #cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@
-#cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@
-#cmakedefine SDL_AUDIO_DRIVER_VITA @SDL_AUDIO_DRIVER_VITA@
-#cmakedefine SDL_AUDIO_DRIVER_PSP @SDL_AUDIO_DRIVER_PSP@
-#cmakedefine SDL_AUDIO_DRIVER_PS2 @SDL_AUDIO_DRIVER_PS2@
-#cmakedefine SDL_AUDIO_DRIVER_N3DS @SDL_AUDIO_DRIVER_N3DS@
-#cmakedefine SDL_AUDIO_DRIVER_QNX @SDL_AUDIO_DRIVER_QNX@
+#cmakedefine SDL_AUDIO_DRIVER_WASAPI 1
+#cmakedefine SDL_AUDIO_DRIVER_VITA 1
+#cmakedefine SDL_AUDIO_DRIVER_PSP 1
+#cmakedefine SDL_AUDIO_DRIVER_PS2 1
+#cmakedefine SDL_AUDIO_DRIVER_N3DS 1
+#cmakedefine SDL_AUDIO_DRIVER_QNX 1
 
 /* Enable various input drivers */
-#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
-#cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@
-#cmakedefine SDL_INPUT_FBSDKBIO @SDL_INPUT_FBSDKBIO@
-#cmakedefine SDL_INPUT_WSCONS @SDL_INPUT_WSCONS@
-#cmakedefine SDL_HAVE_MACHINE_JOYSTICK_H @SDL_HAVE_MACHINE_JOYSTICK_H@
-#cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@
-#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
-#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
-#cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@
-#cmakedefine SDL_JOYSTICK_GAMEINPUT @SDL_JOYSTICK_GAMEINPUT@
-#cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@
-#cmakedefine SDL_JOYSTICK_HIDAPI @SDL_JOYSTICK_HIDAPI@
-#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
-#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
-#cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@
-#cmakedefine SDL_JOYSTICK_N3DS @SDL_JOYSTICK_N3DS@
-#cmakedefine SDL_JOYSTICK_PS2 @SDL_JOYSTICK_PS2@
-#cmakedefine SDL_JOYSTICK_PSP @SDL_JOYSTICK_PSP@
-#cmakedefine SDL_JOYSTICK_RAWINPUT @SDL_JOYSTICK_RAWINPUT@
-#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
-#cmakedefine SDL_JOYSTICK_VIRTUAL @SDL_JOYSTICK_VIRTUAL@
-#cmakedefine SDL_JOYSTICK_VITA @SDL_JOYSTICK_VITA@
-#cmakedefine SDL_JOYSTICK_WGI @SDL_JOYSTICK_WGI@
-#cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@
-#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
-#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
-#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
-#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
-#cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@
+#cmakedefine SDL_INPUT_LINUXEV 1
+#cmakedefine SDL_INPUT_LINUXKD 1
+#cmakedefine SDL_INPUT_FBSDKBIO 1
+#cmakedefine SDL_INPUT_WSCONS 1
+#cmakedefine SDL_HAVE_MACHINE_JOYSTICK_H 1
+#cmakedefine SDL_JOYSTICK_ANDROID 1
+#cmakedefine SDL_JOYSTICK_DINPUT 1
+#cmakedefine SDL_JOYSTICK_DUMMY 1
+#cmakedefine SDL_JOYSTICK_EMSCRIPTEN 1
+#cmakedefine SDL_JOYSTICK_GAMEINPUT 1
+#cmakedefine SDL_JOYSTICK_HAIKU 1
+#cmakedefine SDL_JOYSTICK_HIDAPI 1
+#cmakedefine SDL_JOYSTICK_IOKIT 1
+#cmakedefine SDL_JOYSTICK_LINUX 1
+#cmakedefine SDL_JOYSTICK_MFI 1
+#cmakedefine SDL_JOYSTICK_N3DS 1
+#cmakedefine SDL_JOYSTICK_PS2 1
+#cmakedefine SDL_JOYSTICK_PSP 1
+#cmakedefine SDL_JOYSTICK_RAWINPUT 1
+#cmakedefine SDL_JOYSTICK_USBHID 1
+#cmakedefine SDL_JOYSTICK_VIRTUAL 1
+#cmakedefine SDL_JOYSTICK_VITA 1
+#cmakedefine SDL_JOYSTICK_WGI 1
+#cmakedefine SDL_JOYSTICK_XINPUT 1
+#cmakedefine SDL_HAPTIC_DUMMY 1
+#cmakedefine SDL_HAPTIC_LINUX 1
+#cmakedefine SDL_HAPTIC_IOKIT 1
+#cmakedefine SDL_HAPTIC_DINPUT 1
+#cmakedefine SDL_HAPTIC_ANDROID 1
 #cmakedefine SDL_LIBUSB_DYNAMIC @SDL_LIBUSB_DYNAMIC@
 #cmakedefine SDL_UDEV_DYNAMIC @SDL_UDEV_DYNAMIC@
 
 /* Enable various process implementations */
-#cmakedefine SDL_PROCESS_DUMMY @SDL_PROCESS_DUMMY@
-#cmakedefine SDL_PROCESS_POSIX @SDL_PROCESS_POSIX@
-#cmakedefine SDL_PROCESS_WINDOWS @SDL_PROCESS_WINDOWS@
+#cmakedefine SDL_PROCESS_DUMMY 1
+#cmakedefine SDL_PROCESS_POSIX 1
+#cmakedefine SDL_PROCESS_WINDOWS 1
 
 /* Enable various sensor drivers */
-#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@
-#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@
-#cmakedefine SDL_SENSOR_WINDOWS @SDL_SENSOR_WINDOWS@
-#cmakedefine SDL_SENSOR_DUMMY @SDL_SENSOR_DUMMY@
-#cmakedefine SDL_SENSOR_VITA @SDL_SENSOR_VITA@
-#cmakedefine SDL_SENSOR_N3DS @SDL_SENSOR_N3DS@
+#cmakedefine SDL_SENSOR_ANDROID 1
+#cmakedefine SDL_SENSOR_COREMOTION 1
+#cmakedefine SDL_SENSOR_WINDOWS 1
+#cmakedefine SDL_SENSOR_DUMMY 1
+#cmakedefine SDL_SENSOR_VITA 1
+#cmakedefine SDL_SENSOR_N3DS 1
 
 /* Enable various shared object loading systems */
-#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
-#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
-#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
+#cmakedefine SDL_LOADSO_DLOPEN 1
+#cmakedefine SDL_LOADSO_DUMMY 1
+#cmakedefine SDL_LOADSO_WINDOWS 1
 
 /* Enable various threading systems */
-#cmakedefine SDL_THREAD_GENERIC_COND_SUFFIX @SDL_THREAD_GENERIC_COND_SUFFIX@
-#cmakedefine SDL_THREAD_GENERIC_RWLOCK_SUFFIX @SDL_THREAD_GENERIC_RWLOCK_SUFFIX@
-#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
-#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
-#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
-#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
-#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
-#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
-#cmakedefine SDL_THREAD_PS2 @SDL_THREAD_PS2@
-#cmakedefine SDL_THREAD_N3DS @SDL_THREAD_N3DS@
+#cmakedefine SDL_THREAD_GENERIC_COND_SUFFIX 1
+#cmakedefine SDL_THREAD_GENERIC_RWLOCK_SUFFIX 1
+#cmakedefine SDL_THREAD_PTHREAD 1
+#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
+#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP 1
+#cmakedefine SDL_THREAD_WINDOWS 1
+#cmakedefine SDL_THREAD_VITA 1
+#cmakedefine SDL_THREAD_PSP 1
+#cmakedefine SDL_THREAD_PS2 1
+#cmakedefine SDL_THREAD_N3DS 1
 
 /* Enable various RTC systems */
-#cmakedefine SDL_TIME_UNIX @SDL_TIME_UNIX@
-#cmakedefine SDL_TIME_WINDOWS @SDL_TIME_WINDOWS@
-#cmakedefine SDL_TIME_VITA @SDL_TIME_VITA@
-#cmakedefine SDL_TIME_PSP @SDL_TIME_PSP@
-#cmakedefine SDL_TIME_PS2 @SDL_TIME_PS2@
-#cmakedefine SDL_TIME_N3DS @SDL_TIME_N3DS@
+#cmakedefine SDL_TIME_UNIX 1
+#cmakedefine SDL_TIME_WINDOWS 1
+#cmakedefine SDL_TIME_VITA 1
+#cmakedefine SDL_TIME_PSP 1
+#cmakedefine SDL_TIME_PS2 1
+#cmakedefine SDL_TIME_N3DS 1
 
 /* Enable various timer systems */
-#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
-#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
-#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
-#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
-#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
-#cmakedefine SDL_TIMER_PS2 @SDL_TIMER_PS2@
-#cmakedefine SDL_TIMER_N3DS @SDL_TIMER_N3DS@
+#cmakedefine SDL_TIMER_HAIKU 1
+#cmakedefine SDL_TIMER_UNIX 1
+#cmakedefine SDL_TIMER_WINDOWS 1
+#cmakedefine SDL_TIMER_VITA 1
+#cmakedefine SDL_TIMER_PSP 1
+#cmakedefine SDL_TIMER_PS2 1
+#cmakedefine SDL_TIMER_N3DS 1
 
 /* Enable various video drivers */
-#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
-#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
-#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
-#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@
-#cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@
-#cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@
+#cmakedefine SDL_VIDEO_DRIVER_ANDROID 1
+#cmakedefine SDL_VIDEO_DRIVER_COCOA 1
+#cmakedefine SDL_VIDEO_DRIVER_DUMMY 1
+#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN 1
+#cmakedefine SDL_VIDEO_DRIVER_HAIKU 1
+#cmakedefine SDL_VIDEO_DRIVER_KMSDRM 1
 #cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@
 #cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@
-#cmakedefine SDL_VIDEO_DRIVER_N3DS @SDL_VIDEO_DRIVER_N3DS@
-#cmakedefine SDL_VIDEO_DRIVER_OFFSCREEN @SDL_VIDEO_DRIVER_OFFSCREEN@
-#cmakedefine SDL_VIDEO_DRIVER_PS2 @SDL_VIDEO_DRIVER_PS2@
-#cmakedefine SDL_VIDEO_DRIVER_PSP @SDL_VIDEO_DRIVER_PSP@
-#cmakedefine SDL_VIDEO_DRIVER_RISCOS @SDL_VIDEO_DRIVER_RISCOS@
-#cmakedefine SDL_VIDEO_DRIVER_ROCKCHIP @SDL_VIDEO_DRIVER_ROCKCHIP@
-#cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@
-#cmakedefine SDL_VIDEO_DRIVER_UIKIT @SDL_VIDEO_DRIVER_UIKIT@
-#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
-#cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@
-#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@
-#cmakedefine SDL_VIDEO_DRIVER_OPENVR @SDL_VIDEO_DRIVER_OPENVR@
-#cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@
+#cmakedefine SDL_VIDEO_DRIVER_N3DS 1
+#cmakedefine SDL_VIDEO_DRIVER_OFFSCREEN 1
+#cmakedefine SDL_VIDEO_DRIVER_PS2 1
+#cmakedefine SDL_VIDEO_DRIVER_PSP 1
+#cmakedefine SDL_VIDEO_DRIVER_RISCOS 1
+#cmakedefine SDL_VIDEO_DRIVER_ROCKCHIP 1
+#cmakedefine SDL_VIDEO_DRIVER_RPI 1
+#cmakedefine SDL_VIDEO_DRIVER_UIKIT 1
+#cmakedefine SDL_VIDEO_DRIVER_VITA 1
+#cmakedefine SDL_VIDEO_DRIVER_VIVANTE 1
+#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK 1
+#cmakedefine SDL_VIDEO_DRIVER_OPENVR 1
+#cmakedefine SDL_VIDEO_DRIVER_WAYLAND 1
 #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@
 #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@
 #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@
 #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR@
 #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@
-#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
-#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
+#cmakedefine SDL_VIDEO_DRIVER_WINDOWS 1
+#cmakedefine SDL_VIDEO_DRIVER_X11 1
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
@@ -391,120 +391,120 @@
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
 #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
-#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBLOOKUPKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBLOOKUPKEYSYM@
-#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
-#cmakedefine SDL_VIDEO_DRIVER_X11_XSYNC @SDL_VIDEO_DRIVER_X11_XSYNC@
-#cmakedefine SDL_VIDEO_DRIVER_QNX @SDL_VIDEO_DRIVER_QNX@
-
-#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
-#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
-#cmakedefine SDL_VIDEO_RENDER_D3D12 @SDL_VIDEO_RENDER_D3D12@
-#cmakedefine SDL_VIDEO_RENDER_GPU @SDL_VIDEO_RENDER_GPU@
-#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
-#cmakedefine SDL_VIDEO_RENDER_VULKAN @SDL_VIDEO_RENDER_VULKAN@
-#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
-#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
-#cmakedefine SDL_VIDEO_RENDER_PS2 @SDL_VIDEO_RENDER_PS2@
-#cmakedefine SDL_VIDEO_RENDER_PSP @SDL_VIDEO_RENDER_PSP@
-#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
+#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBLOOKUPKEYSYM 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE 1
+#cmakedefine SDL_VIDEO_DRIVER_X11_XSYNC 1
+#cmakedefine SDL_VIDEO_DRIVER_QNX 1
+
+#cmakedefine SDL_VIDEO_RENDER_D3D 1
+#cmakedefine SDL_VIDEO_RENDER_D3D11 1
+#cmakedefine SDL_VIDEO_RENDER_D3D12 1
+#cmakedefine SDL_VIDEO_RENDER_GPU 1
+#cmakedefine SDL_VIDEO_RENDER_METAL 1
+#cmakedefine SDL_VIDEO_RENDER_VULKAN 1
+#cmakedefine SDL_VIDEO_RENDER_OGL 1
+#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 1
+#cmakedefine SDL_VIDEO_RENDER_PS2 1
+#cmakedefine SDL_VIDEO_RENDER_PSP 1
+#cmakedefine SDL_VIDEO_RENDER_VITA_GXM 1
 
 /* Enable OpenGL support */
-#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
-#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
-#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
-#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
-#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
-#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
-#cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@
+#cmakedefine SDL_VIDEO_OPENGL 1
+#cmakedefine SDL_VIDEO_OPENGL_ES 1
+#cmakedefine SDL_VIDEO_OPENGL_ES2 1
+#cmakedefine SDL_VIDEO_OPENGL_CGL 1
+#cmakedefine SDL_VIDEO_OPENGL_GLX 1
+#cmakedefine SDL_VIDEO_OPENGL_WGL 1
+#cmakedefine SDL_VIDEO_OPENGL_EGL 1
 
 /* Enable Vulkan support */
-#cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@
+#cmakedefine SDL_VIDEO_VULKAN 1
 
 /* Enable Metal support */
-#cmakedefine SDL_VIDEO_METAL @SDL_VIDEO_METAL@
+#cmakedefine SDL_VIDEO_METAL 1
 
 /* Enable GPU support */
-#cmakedefine SDL_GPU_D3D11 @SDL_GPU_D3D11@
-#cmakedefine SDL_GPU_D3D12 @SDL_GPU_D3D12@
-#cmakedefine SDL_GPU_VULKAN @SDL_GPU_VULKAN@
-#cmakedefine SDL_GPU_METAL @SDL_GPU_METAL@
+#cmakedefine SDL_GPU_D3D11 1
+#cmakedefine SDL_GPU_D3D12 1
+#cmakedefine SDL_GPU_VULKAN 1
+#cmakedefine SDL_GPU_METAL 1
 
 /* Enable system power support */
-#cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@
-#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
-#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
-#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
-#cmakedefine SDL_POWER_UIKIT @SDL_POWER_UIKIT@
-#cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@
-#cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@
-#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
-#cmakedefine SDL_POWER_VITA @SDL_POWER_VITA@
-#cmakedefine SDL_POWER_PSP @SDL_POWER_PSP@
-#cmakedefine SDL_POWER_N3DS @SDL_POWER_N3DS@
+#cmakedefine SDL_POWER_ANDROID 1
+#cmakedefine SDL_POWER_LINUX 1
+#cmakedefine SDL_POWER_WINDOWS 1
+#cmakedefine SDL_POWER_MACOSX 1
+#cmakedefine SDL_POWER_UIKIT 1
+#cmakedefine SDL_POWER_HAIKU 1
+#cmakedefine SDL_POWER_EMSCRIPTEN 1
+#cmakedefine SDL_POWER_HARDWIRED 1
+#cmakedefine SDL_POWER_VITA 1
+#cmakedefine SDL_POWER_PSP 1
+#cmakedefine SDL_POWER_N3DS 1
 
 /* Enable system filesystem support */
-#cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@
-#cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@
-#cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@
-#cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@
-#cmakedefine SDL_FILESYSTEM_RISCOS @SDL_FILESYSTEM_RISCOS@
-#cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@
-#cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@
-#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@
-#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
-#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
-#cmakedefine SDL_FILESYSTEM_PS2 @SDL_FILESYSTEM_PS2@
-#cmakedefine SDL_FILESYSTEM_N3DS @SDL_FILESYSTEM_N3DS@
+#cmakedefine SDL_FILESYSTEM_ANDROID 1
+#cmakedefine SDL_FILESYSTEM_HAIKU 1
+#cmakedefine SDL_FILESYSTEM_COCOA 1
+#cmakedefine SDL_FILESYSTEM_DUMMY 1
+#cmakedefine SDL_FILESYSTEM_RISCOS 1
+#cmakedefine SDL_FILESYSTEM_UNIX 1
+#cmakedefine SDL_FILESYSTEM_WINDOWS 1
+#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN 1
+#cmakedefine SDL_FILESYSTEM_VITA 1
+#cmakedefine SDL_FILESYSTEM_PSP 1
+#cmakedefine SDL_FILESYSTEM_PS2 1
+#cmakedefine SDL_FILESYSTEM_N3DS 1
 
 /* Enable system storage support */
 #cmakedefine SDL_STORAGE_STEAM @SDL_STORAGE_STEAM@
 
 /* Enable system FSops support */
-#cmakedefine SDL_FSOPS_POSIX @SDL_FSOPS_POSIX@
-#cmakedefine SDL_FSOPS_WINDOWS @SDL_FSOPS_WINDOWS@
-#cmakedefine SDL_FSOPS_DUMMY @SDL_FSOPS_DUMMY@
+#cmakedefine SDL_FSOPS_POSIX 1
+#cmakedefine SDL_FSOPS_WINDOWS 1
+#cmakedefine SDL_FSOPS_DUMMY 1
 
 /* Enable camera subsystem */
-#cmakedefine SDL_CAMERA_DRIVER_DUMMY @SDL_CAMERA_DRIVER_DUMMY@
-/* !!! FIXME: for later cmakedefine SDL_CAMERA_DRIVER_DISK @SDL_CAMERA_DRIVER_DISK@ */
-#cmakedefine SDL_CAMERA_DRIVER_V4L2 @SDL_CAMERA_DRIVER_V4L2@
-#cmakedefine SDL_CAMERA_DRIVER_COREMEDIA @SDL_CAMERA_DRIVER_COREMEDIA@
-#cmakedefine SDL_CAMERA_DRIVER_ANDROID @SDL_CAMERA_DRIVER_ANDROID@
-#cmakedefine SDL_CAMERA_DRIVER_EMSCRIPTEN @SDL_CAMERA_DRIVER_EMSCRIPTEN@
-#cmakedefine SDL_CAMERA_DRIVER_MEDIAFOUNDATION @SDL_CAMERA_DRIVER_MEDIAFOUNDATION@
-#cmakedefine SDL_CAMERA_DRIVER_PIPEWIRE @SDL_CAMERA_DRIVER_PIPEWIRE@
+#cmakedefine SDL_CAMERA_DRIVER_DUMMY 1
+/* !!! FIXME: for later cmakedefine SDL_CAMERA_DRIVER_DISK 1 */
+#cmakedefine SDL_CAMERA_DRIVER_V4L2 1
+#cmakedefine SDL_CAMERA_DRIVER_COREMEDIA 1
+#cmakedefine SDL_CAMERA_DRIVER_ANDROID 1
+#cmakedefine SDL_CAMERA_DRIVER_EMSCRIPTEN 1
+#cmakedefine SDL_CAMERA_DRIVER_MEDIAFOUNDATION 1
+#cmakedefine SDL_CAMERA_DRIVER_PIPEWIRE 1
 #cmakedefine SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC @SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC@
-#cmakedefine SDL_CAMERA_DRIVER_VITA @SDL_CAMERA_DRIVER_VITA@
+#cmakedefine SDL_CAMERA_DRIVER_VITA 1
 
 /* Enable dialog subsystem */
-#cmakedefine SDL_DIALOG_DUMMY @SDL_DIALOG_DUMMY@
+#cmakedefine SDL_DIALOG_DUMMY 1
 
 /* Enable assembly routines */
-#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
+#cmakedefine SDL_ALTIVEC_BLITTERS 1
 
 /* Whether SDL_DYNAMIC_API needs dlopen */
-#cmakedefine DYNAPI_NEEDS_DLOPEN @DYNAPI_NEEDS_DLOPEN@
+#cmakedefine DYNAPI_NEEDS_DLOPEN 1
 
 /* Enable ime support */
-#cmakedefine SDL_USE_IME @SDL_USE_IME@
+#cmakedefine SDL_USE_IME 1
 #cmakedefine SDL_DISABLE_WINDOWS_IME 1
 #cmakedefine SDL_GDK_TEXTINPUT 1
 
 /* Platform specific definitions */
-#cmakedefine SDL_IPHONE_KEYBOARD @SDL_IPHONE_KEYBOARD@
-#cmakedefine SDL_IPHONE_LAUNCHSCREEN @SDL_IPHONE_LAUNCHSCREEN@
+#cmakedefine SDL_IPHONE_KEYBOARD 1
+#cmakedefine SDL_IPHONE_LAUNCHSCREEN 1
 
-#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
-#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
-#cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@
+#cmakedefine SDL_VIDEO_VITA_PIB 1
+#cmakedefine SDL_VIDEO_VITA_PVR 1
+#cmakedefine SDL_VIDEO_VITA_PVR_OGL 1
 
 /* Libdecor version info */
 #define SDL_LIBDECOR_VERSION_MAJOR @SDL_LIBDECOR_VERSION_MAJOR@