Commit graph

1176 commits

Author SHA1 Message Date
Cameron Cawley
a265b1e029 BUILD: Fix converting the documentation outside the source directory 2019-05-18 14:02:25 +01:00
rsn8887
30ee1f2cdc Switch: fix version, remove redundant settings and unneeded defines 2019-05-12 11:59:44 +03:00
rsn8887
875bc0b1c2 Switch: fix build, add build instructions, avoid using delete() 2019-05-12 11:59:44 +03:00
Cpasjuste
488bbb267a SWITCH: add nintendo switch support 2019-05-12 11:59:44 +03:00
Bastien Bouclet
7f9eaf0f12 ANDROID: Fix building armv5te binaries with NDK r14b
The mthumb linker flag was causing the libstdc++ library not to be found.
2019-05-11 20:35:31 +02:00
Bastien Bouclet
32b0c2cf2c ANDROID: Add support for building arm64 binaries 2019-05-11 20:35:31 +02:00
Colin Snover
1267b72c38 ANDROID: Stop forcibly disabling MT-32 emulator 2019-05-11 20:35:31 +02:00
Colin Snover
30c49838bb BUILD: Remove bad & outdated flags from Android builds
Most of these flags don't work with modern Android NDKs. The ones
that may, like setting sysroot and include directories, don't work
properly with standalone toolchains. Users compiling for Android
should make sure that they properly set up include paths in their
environment CXXFLAGS/LDFLAGS as needed for the compiler to run,
instead of relying on configure to do it, since configure can't do
it in a toolchain-agnostic manner.
2019-05-11 20:35:31 +02:00
Bastien Bouclet
0b4acfeed0 BUILD: Pass LDFLAGS on the command line for the endianness test 2019-05-11 17:23:09 +02:00
Bastien Bouclet
3a25a3c926 BUILD: Link the test executable for the endianness check
Fixes the test with LTO enabled.
2019-05-11 16:51:13 +02:00
Dan Church
886a1807b8 CONFIGURE: Fix missing option
--disable-updates was omitted from the supported options during the
reformat.
2019-05-02 19:29:03 +01:00
Hubert Maier
342c6fab99 Fix typo in comment 2019-04-30 09:19:20 +02:00
Lothar Serra Mari
b3d5bb34ae CONFIGURE: Formatting fixes 2019-04-28 15:57:05 +03:00
Thierry Crozat
fb0fc9bb7a CONFIGURE: Fix pandoc check 2019-04-26 23:33:32 +01:00
Thierry Crozat
9ebb91411a CONFIGURE: Generate html README and NEWS by default on macOS
There was already a configure option to specify a output format other
than plain text, but this had to be specified explicitely when
executing configure. Now the ports can define a default other than
plain text.

On macOS now by default pandoc generate html output. It could
in theory also generate rtf, but those are not properly displayed
by TextEdit, and in addition TextEdit cannot handle link internal
to the document (such as for the TOC). But if we are fine with
no link for the TOC, we could pipe the pandoc html output with
textutil to generate the RTF documents.

Also this change allows to have an extension for the pandoc output
files. By default this is empty for plain text (as before) and
the same as the format otherwise (for example .rtf or .html).
2019-04-21 11:01:34 +01:00
Cameron Cawley
50ed922cb7 RISCOS: Support creating a StrongHelp manual 2019-04-18 03:55:22 +01:00
Cameron Cawley
bcef809e61 WINCE: Fix compilation 2019-04-15 08:06:39 +03:00
rsn8887
81ddf32779 BUILD: On PSP use -O2 to fix compiling with new toolchain
-O2 works, but the updated psp compiler doesn't compile
with -O3. It gives the error
```
graphics/macgui/macwindowmanager.cpp: In member function 'void Graphics::MacWindowManager::passPalette(const byte*, uint)':
graphics/macgui/macwindowmanager.cpp:517:1: error: unrecognizable insn:
 }
 ^
(insn 139 138 140 23 (set (reg:SI 294)
        (if_then_else:SI (ne:CC (reg:CC 67 $fcc0)
                (const_int 0 [0]))
            (reg/v:SI 256 [ di ])
            (reg/v:SI 229 [ di ]))) -1
     (nil))
graphics/macgui/macwindowmanager.cpp:517:1: internal compiler error: in extract_insn, at recog.c:2202
```
2019-04-13 19:48:17 -05:00
rsn8887
06a7183a6f BUILD: Fix PSP compilation tests for updated buildbot toolchain 2019-04-13 19:31:26 -05:00
Cameron Cawley
66813c9fc2 CONFIGURE: Override pkg-config on RISC OS 2019-04-09 20:57:11 +03:00
cpasjuste
8b5bb41a2e CONFIGURE: allow pkg-config override 2019-04-09 20:57:11 +03:00
Cameron Cawley
364fb12e83 BUILD: Convert the NEWS.md file if pandoc is installed 2019-04-02 11:59:31 -04:00
Cameron Cawley
24057754ad CONFIGURE: Improve detection of SDL and SDL_net 2019-04-01 00:32:09 +03:00
Cameron Cawley
ad648f8a97 CONFIGURE: Append pkg-config cflags to CXXFLAGS
CPPFLAGS should only contain options that are used by the preprocessor, however pkg-config may return C/C++ specific options which are unrecognised by windres.
2019-02-24 11:29:09 +00:00
Cameron Cawley
a6f82fc246 WIN32: Fix building outside the source directory 2019-02-21 23:22:38 +00:00
Cameron Cawley
309286cfbb BUILD: Improve rules for compiling Windows resource scripts 2019-02-21 20:33:39 +00:00
Matan Bareket
ce90507e85 BUILD: Don't print the pandoc variable if not running a check 2018-12-29 17:11:15 -05:00
Matan Bareket
6ce49ca04d BUILD: Update pandoc options to support different formats/filenames 2018-12-25 11:37:26 -05:00
Matan Bareket
08d48e9f2c BUILD: Copy README.md instead of README 2018-12-25 11:37:26 -05:00
Matan Bareket
366f5c1421 BUILD: Add pandoc check in configure 2018-12-25 11:37:26 -05:00
SupSuper
952b12311c BACKENDS: Add base support for system dialogs 2018-12-16 10:48:13 +00:00
Marcus Comstedt
e0307e9c07 BUILD: Re-introduce hardcoded libz and MAD on Dreacmast
The attempts at making a more accurate auto-detection have been
postponed, so put the hardcoded enablers back for now.
2018-12-06 09:36:45 +01:00
Marcus Comstedt
f6258e229c BUILD: Revert f4fe15fd4d and a85be202de
More work is needed to make this function correctly with SDL on MinGW.
Reverting for now.
2018-12-06 09:30:09 +01:00
Marcus Comstedt
13a3d522ed BUILD: Also add $LIBS in cc_check()
This should hopefully fix the problems caused by -Dmain=SDL_main in
the MinGW build.
2018-12-05 22:50:03 +01:00
Marcus Comstedt
e3da5e043c BUILD: Add $DEFINES and $INCLUDES in cc_check()
When actually compiling things Makefile.common adds these variables to
the command line, so they should be there when testing if something
can be compiled as well, otherwise we could get both false negatives
and positives.

This fixes detection of zlib and MAD on Dreamcast, when installed in
$RONINDIR.
2018-12-04 20:12:31 +01:00
D G Turner
7b4d1ed460 IOS7: Enable Building Scalers By Default
This override prevented the previous IOS7 commit to enable software
scalers on 2018-11-21 having any effect.
2018-11-26 12:51:04 +00:00
Cameron Cawley
c9a8ee0190 3DS: Fix compilation of the test runner 2018-11-21 15:45:01 +00:00
Nitrus
4c6e65e36e 3DS: Disable 'pedantic' and add bzip2 for FreeType2 2018-11-21 07:54:49 +00:00
Bastien Bouclet
8efe46dcee BUILD: Set PKG_CONFIG_LIBDIR only when needed when running configure
Remember if PKG_CONFIG_LIBDIR is set when running configure manually,
when automatically running configure, only set PKG_CONFIG_LIBDIR if it
was set during the manual run.

Fixes #10807.
2018-11-16 18:34:59 +01:00
Bastien Bouclet
4d36606b27 BUILD: Free the a52 state in the configure compilation test
So ASan does not print a leak report in the middle of the configure
output when it is enabled.
2018-11-16 18:34:59 +01:00
Cameron Cawley
e8cc0fbaca WIN32: Move the Windows-specific packaging rules into a separate file 2018-11-15 06:56:53 +00:00
Torbjörn Andersson
8b692f8d89 CONFIGURE: Add detection of liba52
This is for an experiment aiming to decode audio for the hi-res
videos in Zork: Grand Inquisitor. I don't know if we want to add
a dependency on liba52, but the license should allow us to include
the code verbatim, if that's preferrable.
2018-11-04 22:33:22 +01:00
Thomas Sowell
a307d88f43 BUILD: Fix Dreamcast crt0 link order
Correct a regression introduced in 7557f17ed2 which caused the Dreamcast
to hang at the license screen when running SCUMMVM.BIN from a CD.
7557f17ed2 fixed configure's feature detection by moving crt0.o from
LDFLAGS to LIBS, but that changed the linking order resulting in the
start symbol from crt0 being located at an address other than
0x8c010000.  ELF binaries loaded over serial or TCP/IP were unaffected
(presumably because the loaders use the start address from the ELF
header instead of a fixed address) which is probably why this went
unnoticed.

This commit corrects the link order by moving crt0 back into LDFLAGS and
adds "-lronin -lm" to LDFLAGS to ensure that configure checks continue
to work.
2018-10-25 04:20:51 +01:00
Thomas Sowell
016ddd4899 BUILD: Remove flags from translation cc_check
Remove $LDFLAGS and $CXXFLAGS from cc_check call in translation support
check.  Both variables are redundant because they are already expanded
in cc_check, and expanding LDFLAGS twice causes duplicate symbol errors
for targets that include crt0.o in LDFLAGS.
2018-10-25 04:20:51 +01:00
Cameron Cawley
174b0d1864 PS2: Fix compilation with latest PS2SDK 2018-09-14 02:33:16 +01:00
Cameron Cawley
08314ae61f DREAMCAST: Fix compilation 2018-08-18 16:27:34 +02:00
Colin Snover
4fe84887cc BUILD: Update flags for compiling on FreeMiNT 2018-08-18 14:08:40 +02:00
Colin Snover
12cf08fa1c BUILD: Use normal host alias auto-prefixing for riscos and amigaos 2018-08-18 13:50:59 +02:00
Cameron Cawley
06446d36f5 VIDEO: More fixes when building with Theora and Tremor 2018-08-18 13:33:43 +02:00
Colin Snover
f0fe48d2f7 BUILD: List all used environmental variables in configure help 2018-08-18 13:33:03 +02:00