Commit Graph

79 Commits

Author SHA1 Message Date
Ryan C. Gordon
613a7a7abf Regenerate configure script. 2013-08-20 20:27:42 -04:00
Ryan C. Gordon
8fe1cf47f2 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. 2013-08-20 19:57:11 -04:00
Gabriel Jacobo
84f07d804a Fixes bug #2037, common EGL code for Android and X11 2013-08-19 16:29:46 -03:00
Sam Lantinga
b4d6152c93 autogen.sh on development system 2013-08-08 01:59:36 -07:00
Sam Lantinga
a5641a9745 Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
Andreas

With the patch applied, make is not able to find the rule for Makefile.in anymore. Removing the patch resolves the issue.

The path is in fact correct (in my case: /c/external/SDL64/SDL). But it seems the windows build of GNU Make doesn't work well with pathnames in rules. Both the dependencies in "$(srcdir)/configure: $(srcdir)/configure.in" and "Makefile: $(srcdir)/Makefile.in" will cause rules not to be found when srcdir is defined.

The same problem occurs if the patch is removed and I supply configure with a srcdir manually.
2013-08-04 09:37:27 -07:00
Edward Rudd
fb8455ec81 Further fix SIZEOF_VOIDP in SDL_config.h.in
The configure script was still overwriting SIZEOF_VOIDP so both ended up as either 4 or 8 depending on the arch.  This simply removes the check from configure.in
2013-07-31 12:13:26 -04:00
Sam Lantinga
ca9a19ea4c Fixed building with cygwin
Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll
2013-07-21 23:01:01 -07:00
Sam Lantinga
5644b36ad2 Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory. 2013-07-21 12:37:43 -07:00
Sam Lantinga
2eb2901197 Added a configure check for Xext.h 2013-07-13 10:41:57 -07:00
Sam Lantinga
9c0dea8e15 Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet() 2013-07-10 02:32:04 -07:00
Gabriel Jacobo
9bc1b31fd3 Removing video/uikit/*.c from configure's iOS sources
Unexplicable computer sciences phenomenon: Instead of returning an empty set,
*.c in an folder with no .c files produces the "*.c" string to be added as
a source. I'm sorry future generations, we are doing the best we can :)
2013-07-09 13:54:29 -03:00
Sam Lantinga
f98fac9047 Make sure that srcdir has a full pathname so source indexing works. 2013-07-08 09:21:54 -07:00
Sam Lantinga
0c64161715 Updated configure with the sndio audio backend 2013-07-07 10:15:10 -07:00
Sam Lantinga
d8b6e04ab1 Fixed SDL building with the minimal configuration 2013-06-13 22:10:10 -07:00
Sam Lantinga
52ec8b0045 Updated configure 2013-06-07 21:50:29 -07:00
Sam Lantinga
a03a2650e9 Updated configure with Ryan's cygwin workaround 2013-06-04 22:13:06 -07:00
Azamat H. Hackimov
3645242ba8 Fix compilation with libX11 >= 1.5.99.902.
These changes fixes bug #1769 for SDL2
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
2013-06-02 20:20:18 +06:00
Sam Lantinga
34b782c94c Better mingw32-x64 linker flag fix, which doesn't require libtool patch 2013-05-26 22:16:42 -07:00
Sam Lantinga
dd1dfc7c6e Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64 2013-05-26 16:29:57 -07:00
Sam Lantinga
96db5f7b81 Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
Updated Makefile.in so "make dist" includes everything necessary for release.
2013-05-26 11:06:17 -07:00
Sam Lantinga
971a985707 The Haiku install location fix needs to get into configure 2013-05-21 22:35:13 -07:00
Sam Lantinga
8bd4a42a14 Fixed bug 1829 - sdl2-config is not executable
leighmanthegreat@hotmail.com

I downloaded SDL2 from hg source.
I built to a ./build directory.
I downloaded SDL_image 2 hg and attempted to build.
When it cannot find a sdl2-config the SDL_image configure correctly suggests setting SDL_CONFIG variable.
Setting this the configure still fails with 'Permission denied' on the call to sdl2-config.
Setting execute permission solves the problem.

If possible, sdl2-config should have executable bit set when it is created.
2013-05-16 01:03:28 -07:00
Edward Rudd
51bbf34abf default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it. 2013-05-02 21:23:38 -04:00
Sam Lantinga
4cba942e1d Fixed bug 1744 - DirectFB video and renderer API is not updated
tomaszewski.p

Recent changes in SDL_sysrenderer.h and SDL_sysvideo.h had no impact on directfb backend.

Attached patch:
- updates interface,
- resolves uninitialized variable reading,
- changes logging tio use SDL_Log API,
- updates configure to use DIRECTFBCONFIG variable instead direct call to directfb-config.
2013-03-09 10:35:12 -08:00
Gabriel Jacobo
d121d75a76 Adds some required CFLAGS and LDFLAGS for the iOS platform 2013-03-04 10:33:48 -03:00
Jørgen P. Tjernø
6f40cf4653 Regenerate configure to enable dbus
The configure script was out of date - re-running autogen.sh adds dbus
       support.
2013-02-12 16:17:24 -08:00
Sam Lantinga
84bc50080b Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions. 2013-02-11 17:40:09 -08:00
Sam Lantinga
357652279f Use clang on Mac OS X, which is required for the @autorelease keyword 2013-02-03 14:03:49 -08:00
Sam Lantinga
96dc6c6a5b Updated configure with libudev detection 2012-12-11 10:50:45 -08:00
Sam Lantinga
d5bdfedf0d Include all the test headers in the test library header install 2012-11-26 14:59:07 -08:00
Sam Lantinga
9c2cdf677b Work in progress on an SDL test library 2012-11-26 07:53:56 -08:00
Sam Lantinga
e7ea5f6646 Added an API to get the size of a file - WARNING! ABI CHANGE! 2012-11-03 18:43:36 -07:00
Sam Lantinga
9090fb9b4c Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications 2012-10-20 00:14:58 -07:00
Sam Lantinga
9b4b8b20d0 We have to fix the DLL name convention on Windows every time... 2012-10-19 21:43:41 -07:00
Sam Lantinga
05b7b71074 Don't use the --no-undefined linker option yet, it doesn't build on OpenBSD and BeOS.
The OpenBSD case is puzzling - it's complaining about symbols in the C library.  Do we need to explicitly link with -lc for shared libraries on OpenBSD?

The BeOS case is legitimate, it's calling back into the application code to initialize BeApp if it isn't already initialized.
2012-10-12 02:33:34 -07:00
Sam Lantinga
5a6dc41726 Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime. 2012-10-11 15:05:00 -07:00
Gabriel Jacobo
7eeb0f5bf4 Fix Windows build, version.o linking. 2012-09-25 08:54:05 -03:00
Sam Lantinga
1bfaec254d Fixed false positive when checking for X11 on Mac OS X when the X11 development environment isn't installed. 2012-09-20 22:01:51 -07:00
Sam Lantinga
fd0dc5a95c Changed the comment so it actually talks about the right instruction set. 2012-09-20 21:17:49 -07:00
Sam Lantinga
46dd552a1b Fixed 3DNow! detection for clang llvm 2012-09-20 21:16:02 -07:00
Sam Lantinga
3c718d524e Updated to the latest versions of autotools and config.guess/config.sub
autoconf-2.69
automake-1.12
libtool-2.4.2
2012-09-20 21:13:10 -07:00
Sam Lantinga
00c170b156 Fixed bug 1547 - Fix test(1) utilization within the autoconf script
Brad Smith 2012-07-19 11:39:09 PDT

I noticed this error from the OpenBSD/amd64 buildbot log..

../configure[15018]: test: -O2: unexpected operator/operand

The attached patch fixes the issue.
2012-07-20 12:57:25 -07:00
Sam Lantinga
93e7644d3a Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD
Brad Smith 2012-07-18 13:43:34 PDT
autoconf patch to fix X dynamic loading of libraries on OpenBSD
2012-07-18 13:57:39 -07:00
Sam Lantinga
1f417073ca Updated the generic event check to try to compile instead of just look for library runtime function (fixes compiling on older Mac OS X SDKs) 2012-07-18 10:47:41 -07:00
Gabriel Jacobo
729fdcda8a Fixes #1524, improved xinput2 test 2012-06-21 14:01:47 -03:00
Sam Lantinga
ad08babefc Added command-line cross-compile support for iOS - Gabriel Jacobo will be adding iosbuild.sh and documentation for the process. 2012-06-19 12:29:53 -04:00
Gabriel Jacobo
e619df7521 Actually functional, hopefully!, Xext test 2012-06-03 17:34:18 -03:00
Sam Lantinga
b5c76adf75 Better test for Xext headers 2012-06-01 20:06:48 -04:00
Gabriel Jacobo
9b129179a4 Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers. 2012-06-01 19:42:15 -03:00
Sam Lantinga
3aa88a6405 Updated with new configure.in changes 2012-05-31 09:06:47 -04:00