Sam Lantinga
deca77c166
Regenerated configure
2022-07-11 15:55:14 -07:00
Ozkan Sezer
cd2dcf54af
regenerated configure script.
2022-07-10 21:10:00 +03:00
Sam Lantinga
531647efba
Regenerated configure with latest autotools release
2022-07-08 09:46:01 -07:00
Ozkan Sezer
43555bd1a9
regenerated configure script
2022-06-28 17:00:20 +03:00
Ozkan Sezer
787dc260a8
autotools: properly enable the version static assertions
...
SDL doesn't use automake, therefore instead of AC_DEFINE_UNQUOTED
manually add the defines to EXTRA_CFLAGS.
2022-06-24 20:37:20 +03:00
Ozkan Sezer
a8d41b3b45
check for shellscalingapi.h presence instead of WINVER >= 0x0603
2022-06-18 13:00:44 -07:00
Sam Lantinga
59fb7acbf7
Enable D3D12 detection when using mingw-64
2022-06-16 15:46:53 -07:00
Sam Lantinga
b004133f08
Updated to version 2.23.1 for pre-release checkpoint
2022-06-16 12:50:19 -07:00
Ozkan Sezer
bdf141335c
autotools: fixed d3d12 detection result report.
2022-06-12 23:22:20 +03:00
Ozkan Sezer
526f417587
updated configury to silence ac2.7x warnings with minor rearrangement.
2022-06-08 20:51:04 +03:00
Sam Lantinga
51d6d60f11
Updated to autoconf 2.71
2022-06-08 10:14:36 -07:00
chalonverse
b9c2ad8395
Added additional check for HAVE_D3D12_H and missing SDL_VIDEO_RENDER_D3D12 in SDL_config.h.cmake
2022-06-07 22:36:06 -07:00
chalonverse
e8d89ce28f
< should be <=
2022-06-07 17:07:33 -07:00
chalonverse
7a335df9cf
Updated CMakeLists.txt and configure.asc/script so that it checks for the required Windows SDK version before it enables the d3d12 renderer. Also fixed reported warnings in some builds.
2022-06-07 17:07:33 -07:00
Ozkan Sezer
7e71d08ab2
regenerated configure script.
2022-06-07 04:02:50 +03:00
yuanhecai
17f63e53f8
Add loongarch support
...
LSX and LASX are enabled by default if compiler supports them.
2022-06-06 08:49:09 -07:00
Ozkan Sezer
b359282a5c
regenerated configure script
2022-06-04 12:58:00 +03:00
Anonymous Maarten
799d39a302
Make the sdl2-config script relocatable
2022-06-03 16:27:13 -07:00
Anonymous Maarten
6f3474db2d
autotools: export relative path of an installed sdl2-config.cmake to the prefix root
2022-06-03 12:41:36 -07:00
Cameron Cawley
e0f3da497f
Remove unused SDL_ASSEMBLY_ROUTINES define
2022-05-12 14:37:00 +03:00
Sam Lantinga
737b4fc32c
Added -fobjc-arc to support automatic reference counting on macOS
2022-05-11 11:17:58 -07:00
Sam Lantinga
f0c870b908
Rebuilt configure from configure.ac changes
2022-05-05 08:19:10 -07:00
Ryan C. Gordon
7d7ec9c951
x11: Remove XVidMode and Xinerama support.
...
Fixes #1782 .
2022-04-26 23:17:13 -04:00
Ozkan Sezer
e9ff4fdd49
add SDL_bsearch
2022-04-26 04:03:25 +03:00
Sam Lantinga
fa29e2d7f7
Updated to version 2.0.23 for development
2022-04-25 13:45:51 -07:00
Sam Lantinga
505d6a4a05
Update version to 2.0.22 for release
2022-04-08 18:18:56 -07:00
Ozkan Sezer
c0bb39e5e9
check for HAVE_ROAPI_H in cmake and autotools, and
...
update SDL_config_windows.h and SDL_config_winrt.h
2022-04-02 02:50:02 +03:00
Ozkan Sezer
a630b02938
configure: improvements to libdecor discovery :
...
use PKG_CHECK_MODULES, and use DECOR_LIB with find_lib.
Closes: https://github.com/libsdl-org/SDL/pull/5460
Co-authored-by: Trigan2025 <trigan2025@hotmail.fr>
2022-03-27 11:56:40 +03:00
Ethan Lee
f3ff0c568e
wayland: Bump minimum requirement to wayland-client 1.18 or newer
2022-03-23 13:23:33 -04:00
Ozkan Sezer
1c1f5c180f
imported two libtool mainstream commits 28fbcb6a and b55b1cc8
2022-03-16 17:15:20 +03:00
pionere
85dff3e453
emscripten: obey enable-misc/SDL_MISC settings
2022-03-16 14:55:28 +03:00
Ozkan Sezer
8b139e26a3
regenerated configure script.
2022-01-29 10:33:50 +03:00
pionere
a633a3c33e
add audio/video dummies if nothing else available II.
2022-01-28 20:40:19 -05:00
pionere
398f9a0e40
fix have_audio/video flags, add uikit to SUMMARY_video in configure
2022-01-28 20:40:19 -05:00
pionere
21510387cf
fix CMakeLists.txt vs. configure inconsistencies
...
- atomic subsystem is disabled by default (changed in configure)
- SDL_WAYLAND_LIBDECOR is disabled by default if SDL_WAYLAND is not set (changed in CMakeLists.txt)
2022-01-28 20:40:19 -05:00
pionere
b1b2ad725c
sync handling of subsystems II. (+)
2022-01-28 20:40:19 -05:00
pionere
eb80f2c65a
sync handling of subsystems II.
2022-01-28 20:40:19 -05:00
pionere
65e9415b98
sync handling of subsystems
...
- add DUMMY-define in case the subsystem is enabled but not available (filesystem/misc/locale)
- add missing PSP/VITA-filesystem defines
- sync the order of filesystems in SDL_config.h.cmake/in
- add option to disable locale subsystem in configure
2022-01-28 20:40:19 -05:00
pionere
ea8cf4bd0f
add 'Misc' subsystem II.
2022-01-28 20:40:19 -05:00
Charlie Birks
15ebad6e7d
emscripten: Implement SDL_OpenURL
2022-01-22 13:31:11 +00:00
Sam Lantinga
a0e3c884d4
Updated to version 2.0.21 for development
2022-01-17 15:32:27 -08:00
Ozkan Sezer
1bfefb5b4d
regenerated configure script.
2022-01-17 20:56:50 +03:00
Ozkan Sezer
f14c7bb443
added missing hidapi stuff for os/2 with libusb
2022-01-09 20:33:32 +03:00
Sam Lantinga
9294634840
Updated to version 2.0.20 for release
2022-01-07 18:29:40 -08:00
Ozkan Sezer
75ac944b9c
check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available.
2022-01-06 22:24:00 +03:00
Cameron Gutman
505df1a99b
autotools: Fix typo in libgbm print
2021-12-19 20:43:48 -06:00
Ozkan Sezer
0673e448f0
autotools: improved detection of windows.gaming.input.h
...
similar to cmake commit 83583dc49d
2021-12-20 01:03:56 +03:00
Ozkan Sezer
03019c912a
autotools, cmake: tighten Xfixes check && explicitly test BarrierEventID
...
Apparently the older versions of libXi doesn't have it. Fixes the build
break issue reported at:
4b42c05ba1 (commitcomment-61427659)
2021-12-06 20:37:52 +03:00
Ozkan Sezer
514f5858e4
autotools: disable static builds on os/2
2021-12-02 20:11:40 +03:00
Ozkan Sezer
339f0d4097
configure.ac: adjust os2 section for system iconv() use.
2021-12-01 02:32:10 +03:00
Ozkan Sezer
563ef2aeb2
regenerated configure scripts.
2021-12-01 01:56:50 +03:00
Sam Lantinga
5fc901d4f3
Updated to version 2.0.19 for development
2021-11-30 09:58:21 -08:00
Ozkan Sezer
5a0ea7fb17
Check for O_CLOEXEC definition in fcntl.h at configuration time,
...
If not available, define it internally as 0 (in SDL_internal.h).
Define it as available for macOS >= 10.7 in SDL_config_macosx.h.
2021-11-27 19:23:10 +03:00
Sam Lantinga
5f1558ffe3
Fixed detecting Raspberry Pi 2/3 video support on Pi 4
2021-11-26 13:47:42 -08:00
Sam Lantinga
7242075b2b
Updated version to 2.0.18 for release
2021-11-26 08:12:45 -08:00
Ozkan Sezer
f8900583e5
removed windows winmm joystick driver
2021-11-23 17:04:40 +03:00
Ozkan Sezer
1927c08036
minor tidy-up to configury.
2021-11-22 05:00:02 +03:00
Ryan C. Gordon
aeff8748a5
configure: Allow building of the "offscreen" video target.
...
It was CMake-only before this.
2021-11-20 13:35:56 -05:00
Ozkan Sezer
29b79313a0
minor tweak for a slightly smaller configure script
2021-11-16 23:33:32 +03:00
Ozkan Sezer
68ffd24c58
autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI()
2021-11-16 23:37:20 +03:00
Ozkan Sezer
fa3330baec
autotools, cmake: test Xfixes along with XInput2.h:
...
because we use Xfixes with XIBarrierReleasePointer
2021-11-12 12:55:50 +03:00
Sam Lantinga
a0f8afb599
Separated the HIDAPI subsystem from HIDAPI joysticks
...
You can now disable HIDAPI joysticks while retaining the HIDAPI SDL API
2021-11-11 09:16:44 -08:00
Ozkan Sezer
684b3b312a
regenerated configure script.
2021-11-09 02:30:28 +03:00
Ozkan Sezer
dcc919096f
autotools: initial adjustments after the recent hidapi changes.
2021-11-08 22:28:00 +03:00
Ozkan Sezer
802e17aad9
autotools: added windows.gaming.input.h (and SDL_JOYSTICK_WGI) detection
2021-11-03 20:35:20 +03:00
Cameron Cawley
25c71748ad
Add a barebones RISC OS video driver
2021-10-30 21:25:01 -07:00
Cameron Cawley
3db898c5b6
riscos: Implement SDL_GetPrefPath()
2021-10-12 13:07:52 -07:00
Ozkan Sezer
ce66051b0a
regenerated configure
2021-09-24 04:03:24 +03:00
Ryan C. Gordon
478f9eed28
x11: Don't include X11/extensions/extutil.h
...
We don't use it, it was a leftover from 1.2, I think, and it doesn't exist
on Solaris, so this should hopefully fix the build there.
This also means we don't need the configure/cmake checks for
SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY, so that was removed also.
Fixes #1666 .
2021-09-20 10:22:50 -04:00
Ozkan Sezer
ddfd21a678
configure: fix vulkan enablement for windows after commit 13ec545936
2021-09-05 05:37:20 +03:00
Ryan C. Gordon
13ec545936
configure: Disable Vulkan support if loadso subsystem is disabled.
...
Fixes #4373 .
2021-08-23 00:54:39 -04:00
Ozkan Sezer
bb91d7a5ea
regenerated configure script
2021-08-11 01:56:40 +03:00
Sam Lantinga
3f6ebffff4
Updated to version 2.0.17 for development
2021-08-10 15:02:36 -07:00
Ozkan Sezer
77c8d11137
configuration updates for dlopen:
...
- cmake, configure (CheckDLOPEN): --enable-sdl-dlopen is now history..
detach the dl api discovery from SDL_LOADSO_DLOPEN functionality.
define HAVE_DLOPEN. also define DYNAPI_NEEDS_DLOPEN (CheckDLOPEN is
called only for relevant platforms.)
- update SDL_config.in and SDL_config.cmake accordingly.
- SDL_dynapi.h: set SDL_DYNAMIC_API to 0 if DYNAPI_NEEDS_DLOPEN is
defined, but HAVE_DLOPEN is not.
- pthread/SDL_systhread.c: conditionalize dl api use to HAVE_DLOPEN
- SDL_x11opengl.c, SDL_DirectFB_opengl.c, SDL_naclopengles.c: rely
on HAVE_DLOPEN, not SDL_LOADSO_DLOPEN.
- SDL_config_android.h, SDL_config_iphoneos.h, SDL_config_macosx.h,
SDL_config_pandora.h, and SDL_config_wiz.h: define HAVE_DLOPEN.
Closes: https://github.com/libsdl-org/SDL/pull/4351
2021-08-10 12:07:32 -07:00
Ryan C. Gordon
ac20167ef7
configure: Fixes to make SDL link as C++ on Haiku.
...
Fixes #4590 .
2021-08-06 14:08:50 -04:00
Ozkan Sezer
02563f75b4
regenerate configure
2021-08-03 20:12:56 +03:00
Ozkan Sezer
1907463a7e
regenerate configure
2021-08-03 18:04:50 +03:00
Sam Lantinga
cb1fd30e9a
Updated to version 2.0.16 for release
2021-07-31 13:28:54 -07:00
Ozkan Sezer
4a7799be18
--disable-wayland-shared implies --disable-libdecor-shared for now.
...
C.f.: https://github.com/libsdl-org/SDL/issues/4543
2021-07-28 17:01:02 +03:00
Ozkan Sezer
9bcb5e7b94
configure: move CheckLibDecor into CheckWayland
2021-07-27 20:20:28 +03:00
Ozkan Sezer
3b7649c578
regenerated configure
2021-07-26 01:29:10 +03:00
Ozkan Sezer
15ed665363
Fixes to kmsdrm dynamic loading support.
...
Fixes: https://github.com/libsdl-org/SDL/issues/4520
2021-07-22 20:50:02 +03:00
Sam Lantinga
24059a19c5
The RAWINPUT driver is no longer tied to HIDAPI in any way
2021-07-09 18:11:42 -07:00
Ozkan Sezer
2143534a1c
configure.ac: manually check immintrin.h with AC_COMPILE_IFELSE().
...
AC_CHECK_HEADER() emits warnings when configuring for non-x86, because
the preprocessor check is OK but the compile check is not:
configure: WARNING: immintrin.h: present but cannot be compiled
configure: WARNING: immintrin.h: check for missing prerequisite headers?
configure: WARNING: immintrin.h: see the Autoconf documentation
configure: WARNING: immintrin.h: section "Present But Cannot Be Compiled"
configure: WARNING: immintrin.h: proceeding with the compiler's result
2021-06-28 02:00:24 +03:00
Cameron Cawley
bc141e4458
Remove -static-libgcc from sdl2-config output
2021-06-23 17:41:25 +03:00
Ozkan Sezer
a6715a20d8
revert the previous -Wc,-static-libgcc patch:
...
Someone reported breakage with that:
bc51de2f87 (commitcomment-52550755)
2021-06-23 14:56:02 +03:00
Ozkan Sezer
bc51de2f87
regenerated configure script.
2021-06-22 18:11:24 +03:00
Ryan C. Gordon
642fa0e3cf
configure: Enable KMSDRM target by default.
2021-06-09 21:18:11 -04:00
Nicolas Caramelli
31637ddeea
Generic check for desktop GL and EGL on Linux systems
2021-05-05 15:19:55 -07:00
Ozkan Sezer
69203851dc
rename PKG_CONFIG_LIBS_PRIV to PKGCONFIG_LIBS_PRIV
...
i.e.: do not steal PKG_CONFIG namespace.
2021-04-14 21:40:50 +03:00
Ozkan Sezer
197cfcaf71
ran configure.ac through autoupdate-2.69
...
generated configure script is practically the same except for whitespace
changes.
2021-04-14 21:10:40 +03:00
Ozkan Sezer
573c5a5bac
regenerated configure.
2021-04-04 11:55:50 +03:00
Ryan C. Gordon
a81fe27271
configure/cmake: Hook up Emscripten threads (disabled by default).
...
Fixes #3795 .
2021-04-04 00:16:30 -04:00
Ryan C. Gordon
b42bf2a774
configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs"
...
Fixes #3788 .
2021-04-02 12:58:12 -04:00
Ozkan Sezer
e5821bf276
regenerated configure.
2021-03-18 00:10:00 +03:00
Ozkan Sezer
b49e0953b1
regenerated configure
2021-03-14 14:10:50 +03:00
Ozkan Sezer
bd06538778
configure: fix wrong AS_HELP_STRING quoting.
2021-03-08 17:02:28 +03:00
Ozkan Sezer
0a68322170
add missing PIPEWIRE defines to SDL_config.h.in
...
also specify 'audio' in Pipepire configuration enable messages.
2021-03-01 15:11:50 +03:00
Frank Praznik
2f0b99a774
audio: Add Pipewire playback/capture sink
2021-02-28 19:40:09 -08:00
Ozkan Sezer
a29fe29296
configury: replace host checks against *-*-mingw32* with *-*-mingw*
2021-02-18 20:10:50 +03:00