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
Ozkan Sezer
0d92507d71
regenerated configure
2021-02-14 11:55:50 +03:00
Ryan C. Gordon
4ff51d29c3
Deprecate SDL_GetRevisionNumber and update things for git instead of hg.
...
Fixes #4063
2021-02-12 14:31:38 -05:00
Ozkan Sezer
bb9e049d1d
minor updates to libc function checks
2021-02-10 10:22:19 -05:00
Sam Lantinga
2426949a18
Removed support for clock_gettime_nsec_np()
...
SDL_GetTicks() was broken and it's not adding any real value here.
2021-02-10 10:22:19 -05:00
Ozkan Sezer
091a4649e8
added --enable-xinput switch for windows builds
2021-02-10 10:22:18 -05:00
Ozkan Sezer
aa4a6b0b88
better check for clock_gettime_nsec_np() -- cf. bug #5467 .
2021-02-10 10:22:16 -05:00
Sam Lantinga
96cfb81232
Fixed bug 5467 - SDL sys timer Mac OS update proposal
...
David Carlier
Change of api from 2016 which reduce code complexity a bit.
2021-01-24 00:51:25 -05:00
Ozkan Sezer
2376458841
renamed SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H to SDL_HAVE_MACHINE_JOYSTICK_H
2021-01-24 00:51:25 -05:00
Ozkan Sezer
d0c5097cdc
minor autotools build system updates.
2021-01-24 00:51:25 -05:00
Ozkan Sezer
282558379e
fix AC_CHECK_HEADER for libusb.h
2021-01-24 00:51:24 -05:00
Sam Lantinga
c265e73f3b
Fixed bug 5473 - Add WSCONS support for NetBSD
...
wahil1976
This patch adds WSCONS support for NetBSD.
2021-01-24 00:51:24 -05:00
Ozkan Sezer
f3835702d3
fix build with --disable-directx
2021-01-24 00:51:24 -05:00
Sam Lantinga
351abc585b
Fixed bug 5463 - generated Wayland interfaces are included in the library's ABI
...
Simon McVittie
In versions since 1.15, the `code` mode is a deprecated alias for
`public-code`, which emits symbols with default visibility, overriding
SDL's -fvisibility=hidden option.
Use the `private-code` mode instead. This emits symbols with hidden
visibility, so they do not affect the ABI of libSDL.
See also: https://bugreports.qt.io/browse/QTBUG-73099 ,
https://lists.freedesktop.org/archives/wayland-devel/2018-February/037097.html
2021-01-14 14:50:15 -08:00
Ozkan Sezer
8636bc06de
acinclude/libtool.m4: Apply macos11 patch from libtool bug #44605
...
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
https://github.com/macports/macports-ports/blob/master/devel/libtool/files/dynamic_lookup-11.patch
( Also see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44684 )
This also implicitly covers the macos10.10+ support patch from libtool
mainstream which has been in since libtool-v2.4.3, i.e.:
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commit;h=e145288b059e14ab7e58fc6a304e82d9dad282a6
2021-01-09 00:11:20 +03:00
Ozkan Sezer
8d3963421d
regenerated configure
2021-01-08 21:50:02 +03:00
Ozkan Sezer
a88071deb5
configure.ac: directfb dynamic loading support updates:
...
put back sed on find_lib result, remove debug messages,
fix directfb_lib report to user.
2020-12-30 15:55:00 +03:00
Ozkan Sezer
f24cc903a2
remove CFLAGS save/restores from dbus.h and ibus.h header checks.
...
CPPFLAGS is what AC_CHECK_HEADER needs.
2020-12-30 15:53:56 +03:00
Ozkan Sezer
6116ccf035
fix configure warnings when checking dbus/dbus.h and ibus-1.0/ibus.h
...
.. by adding DBUS_CFLAGS and IBUS_CFLAGS to CPPFLAGS:
configure: WARNING: dbus/dbus.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: dbus/dbus.h: proceeding with the compiler's result
configure: WARNING: ibus-1.0/ibus.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ibus-1.0/ibus.h: proceeding with the compiler's result
2020-12-29 21:20:28 +03:00
Ozkan Sezer
8eae956c98
regenerated configure
2020-12-29 00:00:56 +03:00