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
cfd5d8eb29
build: Regenerate ./configure
...
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-22 09:27:10 -07:00
Simon McVittie
2dc788cb9f
build: Expand version info in SDL_REVISION and SDL_GetRevision()
...
Instead of using a URL and git sha1, this uses `git describe` to
describe the version relative to the nearest previous git tag, which
gives a better indication of whether this is a release, a prerelease,
a slightly patched prerelease, or a long way after the last release
during active development.
This serves two purposes: it makes those APIs more informative, and it
also puts this information into the binary in a form that is easy to
screen-scrape using strings(1). For instance, if the bundled version of
SDL in a game has this, we can see at a glance what version it is.
It's also shorter than using the web address of the origin git
repository and the full git commit sha1.
Also write the computed version into a file ./VERSION in `make dist`
tarballs, so that when we build from a tarball on a system that doesn't
have git available, we still get the version details.
For the Perforce code path in showrev.sh, output the version number
followed by the Perforce revision, in a format reminiscent of
`git describe` (with p instead of g to indicate Perforce).
For the code path with no VCS available at all, put a suffix on the
version number to indicate that this is just a guess (we can't know
whether this SDL version is actually a git snapshot or has been
patched locally or similar).
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
Brad Smith
f28cf2b0d3
Also remove the OpenBSD comment about OSS
2022-10-19 06:40:19 -07:00
Brad Smith
f4e3af15a1
Simplify OSS test by removing OpenBSD specific location of the soundcard.h header
...
OpenBSD has long since stopped using OSS. Remove checking for OpenBSD specific header.
2022-10-17 07:18:47 -07:00
Anonymous Maarten
45da133999
cmake: don't error on apple when using deprecated declarations
2022-10-08 23:41:07 +02:00
Anonymous Maarten
335c672498
autotools: add --enable-werror option
2022-10-08 23:41:07 +02:00
Anonymous Maarten
68e20501d6
autotools: by default, disable x11 on MacOS/iOS
2022-10-08 23:41:07 +02:00
Ozkan Sezer
e714d4d724
regenerated configure script.
2022-10-07 05:24:20 +03:00
Sam Lantinga
f687cbd4c6
Clarified that GNU sort isn't required, we just need the -V option to be supported
2022-10-06 09:00:57 -07:00
Sam Lantinga
8c587636dc
GNU sort isn't available on older macOS and some BSD systems
...
Don't prevent building entirely, just warn that we won't be able to find dynamic libraries in this case.
Fixes https://github.com/libsdl-org/SDL/pull/6338
2022-10-06 08:25:54 -07:00
Ozkan Sezer
fa7ffa4e88
change the iconv configuration option names to be more verbose.
2022-10-06 03:37:50 +03:00
Ozkan Sezer
294ccba0a2
better wording for --enable-iconv description
2022-10-05 23:56:56 +03:00
Anonymous Maarten
c9f60cce40
cmake+autotools: add option to enable/disable iconv
2022-10-05 10:00:28 -07:00
Sam Lantinga
f18fae4c68
Use DWARF 4 debug information when building using mingw
...
See this bug for more information:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377
Fixes https://github.com/libsdl-org/SDL/issues/6139
2022-10-04 16:46:29 -07:00
Ozkan Sezer
6b75a592a4
autotools: revised and silenced esound detection a bit.
2022-09-24 20:01:04 +03:00
Ozkan Sezer
db225dec41
autotools: stop using AC_FUNC_MEMCMP and AC_FUNC_STRTOD
...
Closes: https://github.com/libsdl-org/SDL/issues/6266 .
2022-09-20 20:03:20 +03:00
Sam Lantinga
cc9638f2f7
Regenerated configure
2022-09-15 11:08:00 -07:00
Ozkan Sezer
d936499670
regenerated configure script.
2022-09-12 20:20:04 +03:00
Ozkan Sezer
5767dc710e
regenerated configure script after commit 3f89d1704
2022-09-01 21:56:50 +03:00
Ludovico de Nittis
e8cb4da71f
Add utility function to detect if SDL is inside a sandbox
...
Refactor the previous sandbox check in a standalone function that also
includes Snap support.
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
2022-08-29 06:30:40 -07:00
Sam Lantinga
d7fae33967
Regenerated configure
2022-08-27 15:18:22 -07:00
Anonymous Maarten
bf327b52bd
autotools: run ./autogen.sh
2022-08-19 19:01:04 +02:00
Sam Lantinga
8c9beb0c87
Updated to version Updated to version 2.24.0 for release
2022-08-19 08:44:09 -07:00
Sam Lantinga
f1416ef2ba
Updated to version 2.23.2 for release candidate
2022-08-12 20:27:22 -07:00
Sam Lantinga
954bbdf3ae
Allow emscripten platform to build without threads
2022-08-01 09:51:21 -07:00
Sam Lantinga
6926ff3cd8
Applied DragonFly BSD patch
...
https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-configure
2022-07-30 16:30:32 -07:00
Anonymous Maarten
65473ae36d
autoconf: use ax_compute_relative_paths
2022-07-27 21:06:31 +02:00
Sam Lantinga
c92ddddde6
Sort libraries by version and pick the shortest symlink (thanks @jpalus!)
...
Fixes https://github.com/libsdl-org/SDL_image/issues/289
2022-07-12 13:00:43 -07:00
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