joel16
2275d08efb
Merge upstream changes
2020-03-30 10:37:23 -04:00
Sam Lantinga
f9ee105b99
We have to fix the DLL name convention on Windows every time...
2012-10-19 21:43:41 -07:00
Sam Lantinga
584f8bb2ce
Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4"
...
Cecil Curry 2012-08-27 16:55:12 PDT
Allow "aclocal" to find the "AC_CHECK_DEFINE" macro.
On running:
rm aclocal.m4
libtoolize --install --copy --force
aclocal -I acinclude
autoconf -I acinclude
The former three commands succeed, but "autoconf" fails with:
configure.in:198: error: possibly undefined macro: AC_CHECK_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
"aclocal" fails to find AC_CHECK_DEFINE and hence add such macro to
"aclocal.m4". Here is why:
* "acinclude/ac_check_define.m4" defines AC_CHECK_DEFINE via define() rather
than AC_DEFUN().
* "aclocal" fails to find macros defined via define().
2012-09-28 03:18:18 -07:00
Sam Lantinga
78d497098e
This isn't necessary anymore, with the latest autotools update.
2012-09-25 20:49:29 -07:00
Sam Lantinga
aeb2100823
Hopefully fixed the Windows build. We have to do this every time, to link version.o
2012-09-20 22:40:23 -07:00
Sam Lantinga
1c3d9891d2
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
9edcf9bc9b
Ozkan Sezer to slouken
...
The attached small patch updates SDL's libtoolized files for
pe-x86_64 magic, ie win/x64.
2011-01-26 12:23:32 -08:00
Sam Lantinga
b3dd448c5c
Greg Jandl to SDL
...
I did some digging, and I think I've found a better solution. By
including some additional .m4 macros in the acinclude directory
(http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html ,
http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html and
http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html )
then using the patch below (same as previous patch + one line change
to configure.in), SDL will build correctly out of the box.
The arch can then be overridden by --with-gcc-arch=<arch> (most will
probably want to build with i686 there for general distribution) or
--without-gcc-arch, to disable setting the arch all together.
On my Atom netbook, I get -march=PentiumPro by default, which works
great, as does --with-gcc-arch=i686.
2011-01-18 22:40:45 -08:00
Sam Lantinga
c1665b6a55
A better solution to making the default build optimization -O3
...
Cygwin32 autoconf complains about c.m4 ... of course. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404054
2009-10-11 10:38:38 +00:00
Sam Lantinga
fd8af66fe2
Fixed bug #31
...
Set the default optimization level to -O3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404050
2009-10-11 06:44:50 +00:00
Sam Lantinga
10a4894433
This is crazy. In order to override the default optimization for GCC,
...
we actually have to include the core autoconf C compiler macro suite.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404048
2009-10-11 06:33:34 +00:00
Sam Lantinga
345698f187
MatÄ›j TÃ½Ä 2009-10-05 14:09:03 PDT
...
patched to comply to the up-to-date autoconf
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404046
2009-10-10 18:37:35 +00:00
Sam Lantinga
1932964202
Split out ltoptions.m4
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403973
2009-10-04 21:00:33 +00:00
Sam Lantinga
79a1a3cee0
Split acinclude.m4 into its constituent parts for easy upgrading
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403969
2009-10-04 20:44:04 +00:00