Gleb Mazovetskiy
5ed21d1ccb
configure.ac: Fix AC_DEFINE HAVE_LIBUSB
...
Fixes an error with autoconf 2.72
2025-08-31 09:36:24 -07:00
Frank Praznik
d31d98d436
wayland: Add a sigtimedwait() implementation for OpenBSD
...
sigtimedwait() is an optional part of POSIX.1-2001, and OpenBSD doesn't implement it. Add a replacement implementation based on https://comp.unix.programmer.narkive.com/rEDH0sPT/sigtimedwait-implementation
(backported from commit 1049426a76
)
2025-08-30 14:23:04 +03:00
Sam Lantinga
4f9723ece7
Revert "autotools, android: Support Google Play 16 KB Page Size Requirement"
...
This reverts commit e7489a0931
.
If you need to support the Google Play 16 kiB page size requirement, the recommendation is to use NDK r28c or newer, which automatically aligns binaries correctly.
2025-08-07 11:38:29 -07:00
Ozkan Sezer
e7489a0931
autotools, android: Support Google Play 16 KB Page Size Requirement
...
autotools port of commit 4b2aa3f102
.
2025-08-07 20:10:02 +03:00
Ozkan Sezer
74df61530f
autotools, cmake: fix the sys/audioio.h checks.
...
Reference issue: https://github.com/libsdl-org/SDL/issues/13405 .
2025-07-28 12:40:30 +03:00
Ryan C. Gordon
cf1eb95fb1
sunaudio: don't compile in the sun audio backend if sys/audioio.h is missing.
...
Newer Solaris-based releases, like OpenIndiana, don't include this, using
Open Sound System, or something layered over OSS like PulseAudio, instead.
Fixes #13405 .
2025-07-26 13:50:20 -04:00
Sam Lantinga
5330041ea9
Updated to version 2.33.0 for development
2025-02-08 09:15:11 -08:00
Sam Lantinga
7a44b1ab00
Updated to version 2.32.0 for release
2025-02-08 09:10:22 -08:00
Sam Lantinga
3e97d41da4
Updated to version 2.31.1 for RC build
2025-02-08 08:56:53 -08:00
Ozkan Sezer
51570d9257
build system: disable 3dNow! support by default
...
Closes: https://github.com/libsdl-org/SDL/issues/11472 .
2024-11-17 17:55:32 +03:00
Ryan C. Gordon
b23343b7cd
configure.ac: Explicitly disable Vulkan support on Solaris.
...
Fixes #10100 .
2024-06-27 01:39:44 -04:00
Anonymous Maarten
8ae7841d91
Revert "Make sdl2-config interpreter configurable"
...
This reverts commit b9f005505b
.
Making the interpreter configurable is a band-aid fix.
So revert the workaround until we know the actual cause.
2024-06-25 00:44:55 +02:00
Anonymous Maarten
b9f005505b
Make sdl2-config interpreter configurable
2024-06-23 23:30:50 +02:00
Anonymous Maarten
5e876db89f
autotools needs to check d3d12sdklayers.h too
2024-05-28 17:02:26 +02:00
Cameron Cawley
65d8c07c7d
Allow building the Raspberry Pi video driver with standard EGL headers
2024-05-27 12:30:58 -07:00
Anonymous Maarten
c79e616806
d3d12: older Windows SDK headers contain wrong function prototypes
...
Declare correct function pointers ourselves.
Backport of:
- 98fcf112e7
- 89a4d9ae67
2024-05-25 00:41:47 +02:00
Ozkan Sezer
d8fbeec096
autotools, cmake, macOS: Do not use the system iconv() by default
...
backport from PR #9676 by @flibitijibibo
2024-05-03 11:56:50 +03:00
yuanhecai
75340b827d
loongarch: Delete the configuration of the compilation option "mlasx"
2024-04-25 20:33:12 -07:00
Frank Praznik
59d4a39456
Add checks for memfd_create() and posix_fallocate() to the autotools build
2024-03-13 11:23:43 -04:00
Sam Lantinga
4845027cad
Updated to version 2.31.0 for development
2024-01-22 09:12:34 -08:00
Sam Lantinga
ef7261bc41
Updated to version 2.29.2 for RC build
2024-01-22 08:43:05 -08:00
Sam Lantinga
b4f99deb9e
Updated to version 2.29.1 for RC build
2024-01-19 19:58:24 -08:00
Ozkan Sezer
657f5f791c
autotools: fix actually wrong use of AC_MSG_RESULT
2023-11-24 14:37:40 +03:00
Ozkan Sezer
489e9b69df
autotools: bump minimum needed autoconf version to 2.65.
...
older versions seem to output a broken configure script.
2023-11-24 01:01:20 +03:00
Ozkan Sezer
8cf7e9e7da
autotools, cmake: set SDL_SYSTEM_ICONV to OFF for windows (like SDL3.)
2023-11-23 03:32:04 +03:00
Ozkan Sezer
17e62abb6d
revise iconv detection:
...
- check libiconv with a linkage test with iconv.h included
- check libc iconv with a linkage test with iconv.h included
and LIBICONV_PLUG defined (in case libiconv header is in
include path)
- add new configuration option to prefer iconv from libiconv,
if available, over the libc version, defaults to disabled:
SDL_LIBICONV for cmake, --enable-libiconv for autotools.
- change FreeBSD specific LIBICONV_PLUG define in SDL_iconv.c
to configuration result.
2023-11-22 23:29:00 +03:00
Ozkan Sezer
7555701def
autotools: fix linux joystick breakage after commit 221d6ea8a8
...
Fixes https://github.com/libsdl-org/SDL/issues/8488
2023-11-06 23:25:58 +03:00
Sam Lantinga
e8f4045d0b
Use XINPUT_STATE instead of XINPUT_STATE_EX (thanks Andrew!)
...
XINPUT_STATE_EX isn't actually a thing, we can just use the normal XINPUT_STATE
Fixes https://github.com/libsdl-org/SDL/issues/2797
2023-11-04 22:24:55 -07:00
Ozkan Sezer
e226008d83
configure: move HAVE_LINUX_INPUT_H to CheckInputEvents()
...
c.f.: https://github.com/libsdl-org/SDL/pull/8459 .
Ref. issue https://github.com/libsdl-org/SDL/issues/8450
2023-11-02 23:33:20 +03:00
Ozkan Sezer
b58557a3a6
minor os/2 stuff merged from the bitwiseworks' fork
...
(cosmetics only.)
2023-08-02 17:10:28 +03:00
Ozkan Sezer
7cc3248044
minor os/2 stuff merged from the bitwiseworks' fork
2023-07-28 23:55:50 +03:00
Ozkan Sezer
376c6a9dd1
apply commit 3aba9d4473
to autotools, too.
2023-07-13 01:51:02 +03:00
Ozkan Sezer
29d461b628
need pulseaudio >=0.9.15. call pa_threaded_mainloop_set_name only if available.
2023-07-12 21:39:41 +03:00
Christopher Wellons
8231278817
Unaligned stacks on i686-w64-mingw32, may lead to crashes ( #7607 )
...
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com >
2023-07-10 03:05:32 +03:00
Sam Lantinga
ceece918e4
Updated to version 2.29.0 for development
2023-06-20 11:50:19 -07:00
Sam Lantinga
ffa78e6bea
Updated to version 2.28.0 for release
2023-06-20 11:00:20 -07:00
Sam Lantinga
d4f9be4416
Updated to version 2.27.1 for release candidate
2023-06-13 19:44:26 -07:00
Sam Lantinga
63b8af3558
Disable unused local typedefs warning
...
This triggers on gcc 4.8.4 for compile time asserts inside of functions
Fixes https://github.com/libsdl-org/SDL/issues/7732
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com >
2023-05-24 04:45:40 +03:00
Ozkan Sezer
22df572979
look for clock_gettime() in libc first, then in librt if not found.
2023-02-13 22:28:02 +03:00
Frank Praznik
44dc90dcc8
autotools: Add check for libdecor get min/max functions
2023-01-18 10:32:43 -08:00
nfarid
b79732b967
cmake: use FindALSA.cmake to find ALSA library
2022-12-11 23:23:45 +01:00
Ozkan Sezer
64a5e7be98
added missing FGREP to Makefile.in. fixed syntax. regenerated configure.
2022-11-24 17:00:20 +03:00
Sam James
4c7156c1e6
Avoid use of deprecated egrep/fgrep
...
GNU grep 3.8 emits a deprecation warning on use of egrep/fgrep.
Signed-off-by: Sam James <sam@gentoo.org >
(cherry picked from commit 3e7952ce8a
)
2022-11-24 02:59:41 -08:00
Sam Lantinga
ea8f8b6dc3
Updated to version 2.27.0 for development
2022-11-21 16:36:10 -08:00
Sam Lantinga
0bfeed061b
Updated to version 2.26.0 for release
2022-11-21 16:15:58 -08:00
Ozkan Sezer
3bc4bad8fb
add missing strcasestr checks to cmake and autotools build systems,
...
and update config files.
2022-11-20 14:20:33 -08:00
Sam Lantinga
78ea6af2cd
Updated to version 2.25.1 for release candidate
2022-11-17 09:01:35 -08:00
Sam Lantinga
9f8b68a278
Fixed building without linux/input.h
...
https://github.com/libsdl-org/SDL/issues/6169
2022-11-11 10:25:52 -08:00
Simon McVittie
4ca5ea5b7e
build: Add a mechanism to mark builds with vendor info
...
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.
For instance, in Debian I'd use this by configuring with:
--enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"
to get a SDL_REVISION like:
release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)
which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.
In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().
In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.
Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com >
2022-10-22 09:27:10 -07:00
Brad Smith
f37db957f8
Use -lpthread on OpenBSD
2022-10-21 16:53:26 -07:00