configure.ac


Log

Author Commit Date CI Message
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.
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.
chalonverse 40828218 2022-06-06T17:42:30 DirectX 12 Renderer (#5761) * DirectX 12 Renderer (27 squashed commits) * Add missing SDL_hidapi.h of merge of SDL.vcxproj.filters * Fixed OpenWatcom build failure * Dynapi fix Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
yuanhecai 17f63e53 2022-05-31T19:10:05 Add loongarch support LSX and LASX are enabled by default if compiler supports them.
Simon McVittie 65a3453b 2022-05-26T16:02:15 build: Compile with large inode number support where possible On filesystems with large inode numbers, such as overlayfs, attempting to stat() a file on a 32-bit system using legacy syscalls can fail with EOVERFLOW. If we opt-in to more modern "large file support" syscalls, then source code references to functions like stat() are transparently replaced with ABIs that support large file sizes and inode numbers, such as stat64(). This cannot safely be done globally by Linux distributions, because some libraries expose types like `off_t` or `struct stat` in their ABI, meaning that enabling large file support would be an incompatible change that would cause crashes. However, SDL appears to be careful to avoid these types in header files, so it should be OK to enable this. Signed-off-by: Simon McVittie <smcv@collabora.com>
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
Simon McVittie b03e08f3 2022-05-05T16:06:11 configure.ac: Use Autoconf quadrigraphs for character set in AS_CASE The use of square brackets for a character set collides with the use of square brackets for m4 quote characters, so use the other quoting mechanism that Autoconf provides, by escaping `[` as `@<:@` and so on. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie fff97c95 2022-05-04T16:40:11 build: Mechanically generate ABI versions from version number If we're strict about applying something resembling semantic versioning to the "marketing" version number, then we can mechanically generate the ABI version from it. This limits the range of valid micro versions (patchlevels) to 0-99. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie cd7c2f1d 2022-05-03T15:16:11 Switch versioning scheme to be the same as GLib and Flatpak For stable releases, this gives us the ability to make bugfix-only point releases such as 2.24.1 if we want to, and distinguish between them programmatically. For example, this ability could have been useful after 2.0.16 to fix Xwayland regressions, and after 2.0.18 to fix event loop regressions. For development releases, this gives us the ability to make multiple prereleases during the same feature cycle, and distinguish between them programmatically. For example, this would have been useful during 2.0.22 development, which went through three prereleases before reaching the final release. Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 63814ec7 2022-05-03T14:39:00 Add static assertions that the version number is consistent Signed-off-by: Simon McVittie <smcv@collabora.com>
Simon McVittie 22002d91 2022-05-03T14:09:12 docs/release_checklist.md: Document how/where to bump version numbers Signed-off-by: Simon McVittie <smcv@collabora.com>
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 13337e17 2022-03-23T13:27:01 wayland: The rest of the wayland-client 1.18 requirement... Git, please
pionere 85dff3e4 2022-03-16T08:58:52 emscripten: obey enable-misc/SDL_MISC settings
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.
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)
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 a575e2cf 2022-01-17T20:56:24 Enable alloca on mingw/cygwin builds: This effectively reverts commit 391d73e37b26614e2e343ca8e9d4334e07380896 Fixes https://github.com/libsdl-org/SDL/issues/5234
Ozkan Sezer 33dadbf1 2022-01-17T20:56:20 'dnl' whitespace tidy-up in configure.ac
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 efa1aa9a 2021-12-01T01:55:56 initial attempt at adding os2 support to autotools
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.
Ethan Lee 4b42c05b 2021-11-08T13:52:48 video: Add SDL_SetWindowMouseRect. This API and implementation comes from the Unreal Engine branch of SDL, which originally called this "SDL_ConfineCursor". Some minor cleanup and changes for consistency with the rest of SDL_video, but there are two major changes: 1. The coordinate system has been changed so that `rect` is _window_ relative and not _screen_ relative, making it easier to implement without having global access to the display. 2. The UE version unset all rects when passing `NULL` as a parameter for `window`, this has been removed as it was an unused feature anyhow. Currently this is only implemented for X, but can be supported on Wayland and Windows at minimum too.
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()
Ethan Lee ef8c4d27 2021-09-23T17:43:53 wayland: Require xkbcommon 0.5.0 or newer (2014-10-18) Fixes #4645
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.
Ozkan Sezer ddfd21a6 2021-09-05T05:37:20 configure: fix vulkan enablement for windows after commit 13ec545936cfd
Ryan C. Gordon 13ec5459 2021-08-23T00:54:13 configure: Disable Vulkan support if loadso subsystem is disabled. Fixes #4373.
Sam Lantinga f5794f9e 2021-08-10T15:17:59 Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate a user-specified pointer with an SDL texture
Sam Lantinga 3f6ebfff 2021-08-10T15:02:36 Updated to version 2.0.17 for development
Sam Lantinga 68103993 2021-08-10T14:50:43 Enable AAUDIO driver for Android I thought this was already enabled for 2.0.16, but apparently not. Fixes https://github.com/libsdl-org/SDL/issues/3710
Ozkan Sezer 77c8d111 2021-08-10T20:55:50 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
Ryan C. Gordon ac20167e 2021-08-06T14:08:50 configure: Fixes to make SDL link as C++ on Haiku. Fixes #4590.
orbea d2e8998f 2021-08-03T07:59:01 build: Fix the LINKER variable. The LINKER variable is set in configure.ac as either 'CC' or 'CXX' where it is then passed to the created Makefile. This fails with slibtool which can't find the 'CC' file and can be fixed by correctly setting the LINKER variable to an actual Makefile variable like '$(CC)' or '$(CXX)' instead. Presumably GNU libtool does some magic here to hide the issue.
David Gow b74bcd5d 2021-08-03T22:25:10 configure.ac: mkdir $(objects)/ when building wayland protocols The $(objects) directory (usually build/) may not have been created by the time the wayland-scanner protocol files are being compiled. The $(gen) directory is explicitly made with mkinstalldir, but the final object file (and gcc dependency files) need to go into $(objects). For whatever reason, this only ever seemed to occur if --disable-shared was set. Note that this commit doesn't regenerate ./configure, as there were a few unexplained, unrelated differences my version of autoconf created, as as an autotools novice, I didn't want to poke that bear just yet. This hopefully should fix #3689
Sam Lantinga cb1fd30e 2021-07-31T13:28:54 Updated to version 2.0.16 for release
Ozkan Sezer 4a7799be 2021-07-28T17:01:02 --disable-wayland-shared implies --disable-libdecor-shared for now. C.f.: https://github.com/libsdl-org/SDL/issues/4543
Ozkan Sezer 9bcb5e7b 2021-07-27T20:20:28 configure: move CheckLibDecor into CheckWayland
Christian Rauch 9e6fcbe7 2020-06-11T22:10:28 wayland: client-side decoration
kenmays c0601d01 2021-07-25T10:15:03 SDL: Updated patches for HAIKU
Ozkan Sezer 15ed6653 2021-07-22T20:50:02 Fixes to kmsdrm dynamic loading support. Fixes: https://github.com/libsdl-org/SDL/issues/4520
Sam Lantinga 24059a19 2021-07-09T18:11:42 The RAWINPUT driver is no longer tied to HIDAPI in any way
Ozkan Sezer 2143534a 2021-06-28T02:00:24 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
Cameron Cawley bc141e44 2021-06-23T15:09:07 Remove -static-libgcc from sdl2-config output
Ozkan Sezer a6715a20 2021-06-23T14:56:02 revert the previous -Wc,-static-libgcc patch: Someone reported breakage with that: https://github.com/libsdl-org/SDL/commit/bc51de2f87194e45eec94414bc248a6e7a0f9d26#commitcomment-52550755
Cameron Cawley 23575a42 2021-06-22T15:18:25 Ensure that libgcc is linked statically on Windows
Ryan C. Gordon 642fa0e3 2021-06-09T21:18:11 configure: Enable KMSDRM target by default.
Nicolas Caramelli 31637dde 2021-05-04T14:59:29 Generic check for desktop GL and EGL on Linux systems
Ozkan Sezer babd79b8 2021-04-14T23:20:40 bump minimum required autoconf version and revise autogen.sh
Ozkan Sezer 69203851 2021-04-14T21:40:50 rename PKG_CONFIG_LIBS_PRIV to PKGCONFIG_LIBS_PRIV i.e.: do not steal PKG_CONFIG namespace.
Ozkan Sezer 197cfcaf 2021-04-14T21:10:40 ran configure.ac through autoupdate-2.69 generated configure script is practically the same except for whitespace changes.
Ryan C. Gordon a81fe272 2021-04-04T00:16:30 configure/cmake: Hook up Emscripten threads (disabled by default). Fixes #3795.
Ryan C. Gordon b42bf2a7 2021-04-02T12:58:12 configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs" Fixes #3788.
Vanfanel 96cc4985 2021-03-16T22:41:26 [Build system] Report differentiated glx and glvnd OpenGL implementation detection.
vanfanel e213f37a 2021-03-15T12:53:16 [KMSDRM] Enable full OpenGL detection (MESA/libglvnd) on both the make and cmake buildsystems.
kenmays 9e23c652 2021-03-10T16:48:05 SDL: Updated patches for HAIKU
Ozkan Sezer bd065387 2021-03-08T17:02:28 configure: fix wrong AS_HELP_STRING quoting.
Ozkan Sezer 0a683221 2021-03-01T15:11:50 add missing PIPEWIRE defines to SDL_config.h.in also specify 'audio' in Pipepire configuration enable messages.