configure


Log

Author Commit Date CI Message
Sam Lantinga 78ea6af2 2022-11-17T09:01:35 Updated to version 2.25.1 for release candidate
Sam Lantinga 9f8b68a2 2022-11-11T10:24:17 Fixed building without linux/input.h https://github.com/libsdl-org/SDL/issues/6169
Simon McVittie cfd5d8eb 2022-10-20T20:38:57 build: Regenerate ./configure Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 2dc788cb 2022-10-20T19:54:24 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>
Brad Smith f37db957 2022-10-21T04:49:15 Use -lpthread on OpenBSD
Brad Smith f28cf2b0 2022-10-19T02:28:36 Also remove the OpenBSD comment about OSS
Brad Smith f4e3af15 2022-10-17T07:23:40 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.
Anonymous Maarten 45da1339 2022-10-06T00:39:47 cmake: don't error on apple when using deprecated declarations
Anonymous Maarten 335c6724 2022-10-06T19:17:18 autotools: add --enable-werror option
Anonymous Maarten 68e20501 2022-10-06T23:41:13 autotools: by default, disable x11 on MacOS/iOS
Ozkan Sezer e714d4d7 2022-10-07T05:24:20 regenerated configure script.
Sam Lantinga f687cbd4 2022-10-06T09:00:57 Clarified that GNU sort isn't required, we just need the -V option to be supported
Sam Lantinga 8c587636 2022-10-06T08:25:54 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
Ozkan Sezer fa7ffa4e 2022-10-06T03:37:50 change the iconv configuration option names to be more verbose.
Ozkan Sezer 294ccba0 2022-10-05T23:56:56 better wording for --enable-iconv description
Anonymous Maarten c9f60cce 2022-10-05T17:12:08 cmake+autotools: add option to enable/disable iconv
Sam Lantinga f18fae4c 2022-10-04T16:46:29 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
Ozkan Sezer 6b75a592 2022-09-24T20:01:04 autotools: revised and silenced esound detection a bit.
Ozkan Sezer db225dec 2022-09-20T20:03:20 autotools: stop using AC_FUNC_MEMCMP and AC_FUNC_STRTOD Closes: https://github.com/libsdl-org/SDL/issues/6266 .
Sam Lantinga cc9638f2 2022-09-15T11:08:00 Regenerated configure
Ozkan Sezer d9364996 2022-09-12T20:20:04 regenerated configure script.
Ozkan Sezer 5767dc71 2022-09-01T21:56:50 regenerated configure script after commit 3f89d1704
Ludovico de Nittis e8cb4da7 2022-08-26T12:28:33 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>
Sam Lantinga d7fae339 2022-08-27T15:18:22 Regenerated configure
Anonymous Maarten bf327b52 2022-08-19T19:01:04 autotools: run ./autogen.sh
Sam Lantinga 8c9beb0c 2022-08-19T08:44:09 Updated to version Updated to version 2.24.0 for release
Sam Lantinga f1416ef2 2022-08-12T20:27:22 Updated to version 2.23.2 for release candidate
Sam Lantinga 954bbdf3 2022-08-01T09:51:21 Allow emscripten platform to build without threads
Sam Lantinga 6926ff3c 2022-07-30T16:30:32 Applied DragonFly BSD patch https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-configure
Anonymous Maarten 65473ae3 2022-07-25T02:01:59 autoconf: use ax_compute_relative_paths
Sam Lantinga c92ddddd 2022-07-12T13:00:43 Sort libraries by version and pick the shortest symlink (thanks @jpalus!) Fixes https://github.com/libsdl-org/SDL_image/issues/289
Sam Lantinga deca77c1 2022-07-11T15:55:14 Regenerated configure
Ozkan Sezer cd2dcf54 2022-07-10T21:10:00 regenerated configure script.
Sam Lantinga 531647ef 2022-07-08T09:45:37 Regenerated configure with latest autotools release
Ozkan Sezer 43555bd1 2022-06-28T17:00:20 regenerated configure script
Ozkan Sezer 787dc260 2022-06-24T20:37:20 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.
Ozkan Sezer a8d41b3b 2022-06-18T21:51:32 check for shellscalingapi.h presence instead of WINVER >= 0x0603
Sam Lantinga 59fb7acb 2022-06-16T15:46:53 Enable D3D12 detection when using mingw-64
Sam Lantinga b004133f 2022-06-16T12:49:17 Updated to version 2.23.1 for pre-release checkpoint
Ozkan Sezer bdf14133 2022-06-12T23:22:20 autotools: fixed d3d12 detection result report.
Ozkan Sezer 526f4175 2022-06-08T20:51:04 updated configury to silence ac2.7x warnings with minor rearrangement.
Sam Lantinga 51d6d60f 2022-06-08T10:14:36 Updated to autoconf 2.71
chalonverse b9c2ad83 2022-06-07T22:19:58 Added additional check for HAVE_D3D12_H and missing SDL_VIDEO_RENDER_D3D12 in SDL_config.h.cmake
chalonverse e8d89ce2 2022-06-07T16:31:27 < should be <=
chalonverse 7a335df9 2022-06-07T16:11:25 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.
Ozkan Sezer 7e71d08a 2022-06-07T04:02:50 regenerated configure script.
yuanhecai 17f63e53 2022-05-31T19:10:05 Add loongarch support LSX and LASX are enabled by default if compiler supports them.
Ozkan Sezer b359282a 2022-06-04T12:58:00 regenerated configure script
Anonymous Maarten 799d39a3 2022-06-03T23:08:22 Make the sdl2-config script relocatable
Anonymous Maarten 6f3474db 2022-06-03T19:58:25 autotools: export relative path of an installed sdl2-config.cmake to the prefix root
Cameron Cawley e0f3da49 2022-05-12T12:18:23 Remove unused SDL_ASSEMBLY_ROUTINES define
Sam Lantinga 737b4fc3 2022-05-11T11:17:58 Added -fobjc-arc to support automatic reference counting on macOS
Sam Lantinga f0c870b9 2022-05-05T08:19:10 Rebuilt configure from configure.ac changes
Ryan C. Gordon 7d7ec9c9 2022-04-26T16:41:28 x11: Remove XVidMode and Xinerama support. Fixes #1782.
Ozkan Sezer e9ff4fdd 2022-04-25T23:55:50 add SDL_bsearch
Sam Lantinga fa29e2d7 2022-04-25T13:45:51 Updated to version 2.0.23 for development
Sam Lantinga 505d6a4a 2022-04-08T18:18:56 Update version to 2.0.22 for release
Ozkan Sezer c0bb39e5 2022-04-02T02:50:02 check for HAVE_ROAPI_H in cmake and autotools, and update SDL_config_windows.h and SDL_config_winrt.h
Ozkan Sezer a630b029 2022-03-27T11:56:40 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>
Ethan Lee f3ff0c56 2022-03-23T13:23:33 wayland: Bump minimum requirement to wayland-client 1.18 or newer
Ozkan Sezer 1c1f5c18 2022-03-16T17:15:20 imported two libtool mainstream commits 28fbcb6a and b55b1cc8
pionere 85dff3e4 2022-03-16T08:58:52 emscripten: obey enable-misc/SDL_MISC settings
Ozkan Sezer 8b139e26 2022-01-29T10:33:50 regenerated configure script.
pionere a633a3c3 2022-01-13T09:33:20 add audio/video dummies if nothing else available II.
pionere 398f9a0e 2022-01-13T09:32:41 fix have_audio/video flags, add uikit to SUMMARY_video in configure
pionere 21510387 2022-01-12T13:05:12 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)
pionere b1b2ad72 2022-01-11T12:30:15 sync handling of subsystems II. (+)
pionere eb80f2c6 2022-01-11T10:45:41 sync handling of subsystems II.
pionere 65e9415b 2022-01-10T17:00:32 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
pionere ea8cf4bd 2022-01-10T16:36:02 add 'Misc' subsystem II.
Charlie Birks 15ebad6e 2022-01-22T13:31:11 emscripten: Implement SDL_OpenURL
Sam Lantinga a0e3c884 2022-01-17T15:32:27 Updated to version 2.0.21 for development
Ozkan Sezer 1bfefb5b 2022-01-17T20:56:50 regenerated configure script.
Ozkan Sezer f14c7bb4 2022-01-09T20:33:32 added missing hidapi stuff for os/2 with libusb
Sam Lantinga 92946348 2022-01-07T18:28:25 Updated to version 2.0.20 for release
Ozkan Sezer 75ac944b 2022-01-06T22:24:00 check for tpcshrd.h and define HAVE_TPCSHRD_H if it's available.
Cameron Gutman 505df1a9 2021-12-19T20:43:48 autotools: Fix typo in libgbm print
Ozkan Sezer 0673e448 2021-12-20T01:03:56 autotools: improved detection of windows.gaming.input.h similar to cmake commit 83583dc49d
Ozkan Sezer 03019c91 2021-12-06T20:37:52 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: https://github.com/libsdl-org/SDL/commit/4b42c05ba1eaaaa9a4ef803acea8f13402271039#commitcomment-61427659
Ozkan Sezer 514f5858 2021-12-02T20:11:40 autotools: disable static builds on os/2
Ozkan Sezer 339f0d40 2021-12-01T02:32:10 configure.ac: adjust os2 section for system iconv() use.
Ozkan Sezer 563ef2ae 2021-12-01T01:56:50 regenerated configure scripts.
Sam Lantinga 5fc901d4 2021-11-30T09:58:21 Updated to version 2.0.19 for development
Ozkan Sezer 5a0ea7fb 2021-11-27T19:10:10 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.
Sam Lantinga 5f1558ff 2021-11-26T13:47:42 Fixed detecting Raspberry Pi 2/3 video support on Pi 4
Sam Lantinga 7242075b 2021-11-26T08:12:45 Updated version to 2.0.18 for release
Ozkan Sezer f8900583 2021-11-23T17:04:40 removed windows winmm joystick driver
Ozkan Sezer 1927c080 2021-11-22T05:00:02 minor tidy-up to configury.
Ryan C. Gordon aeff8748 2021-11-20T13:35:25 configure: Allow building of the "offscreen" video target. It was CMake-only before this.
Ozkan Sezer 68ffd24c 2021-11-16T23:37:20 autotools, cmake: don't define SDL_JOYSTICK_HIDAPI in CheckHIDAPI()
Ozkan Sezer 29b79313 2021-11-16T23:33:32 minor tweak for a slightly smaller configure script
Ozkan Sezer fa3330ba 2021-11-12T12:55:50 autotools, cmake: test Xfixes along with XInput2.h: because we use Xfixes with XIBarrierReleasePointer
Sam Lantinga a0f8afb5 2021-11-11T09:16:44 Separated the HIDAPI subsystem from HIDAPI joysticks You can now disable HIDAPI joysticks while retaining the HIDAPI SDL API
Ozkan Sezer 684b3b31 2021-11-09T02:30:28 regenerated configure script.
Ozkan Sezer dcc91909 2021-11-08T22:28:00 autotools: initial adjustments after the recent hidapi changes.
Ozkan Sezer 802e17aa 2021-11-03T20:35:20 autotools: added windows.gaming.input.h (and SDL_JOYSTICK_WGI) detection
Cameron Cawley 25c71748 2020-02-13T21:55:08 Add a barebones RISC OS video driver
Cameron Cawley 3db898c5 2020-02-13T22:32:35 riscos: Implement SDL_GetPrefPath()
Ozkan Sezer ce66051b 2021-09-24T04:03:24 regenerated configure
Ryan C. Gordon 478f9eed 2021-09-20T10:20:04 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.