Commit Graph

1187 Commits

Author SHA1 Message Date
rsn8887
df03352c27 CONFIGURE: Enable libcurl on Switch (works now) 2019-06-25 21:32:49 -05:00
rsn8887
6d2da5c6f1 CONFIGURE: Disable libcurl on Switch (missing curl-config) 2019-06-21 11:11:11 -05:00
rsn8887
6dc1d1c028 CONFIGURE: Re-enable OpenGL on Switch, because it works
OpenGL works when enabled from the start in scummvm.ini,
when ScummVM is compiled with latest Switch toolchain packages.
It only crashes when switching between SDL modes and OpenGL while
ScummVM is running.
2019-06-21 11:01:56 -05:00
rsn8887
fee13a8505 CONFIGURE: Disable OpenGL on Switch because it crashes
GLES2 crashes when switching between SDL2 graphics and OpenGL
graphics. This is a known problem on the platform due to the
implementation of GLES2, it crashes on de-init.
2019-06-21 10:27:45 -05:00
Cameron Cawley
0f9abb8e62 CONFIGURE: Add --enable-all-unstable-engines option 2019-06-20 05:19:18 +03:00
Cameron Cawley
4c2fb0d0dc
RISCOS: Disable debug build by default 2019-06-17 18:36:43 +01:00
rsn8887
49601a7ac8 CONFIGURE: Add --disable-all-unstable-engines for use with buildbot 2019-06-06 17:41:47 -05:00
rsn8887
75a5c2f90b CONFIGURE: Add PSP to platforms where debug is off by default 2019-06-06 16:59:31 -05:00
Lothar Serra Mari
7e15168447 CONFIGURE: Remove the 'u' flag from 'ar' in mingw32
This patch silences the warnings about the (outdated?) 'u'
flag that appears at least when building and linking ScummVM
statically on mingw32:

"`u' modifier ignored since `D' is the default (see `U')"

The cause for this appears to be a bug in recent versions of
libtool that most likely will also appear when building on
Linux. However, since I have not tested this yet, this patch
only disables it for mingw32.

The only downside from this patch is that building a non-clean
build will take (slightly?) longer since we are no longer
just updating (that's what the 'u' is for) changed libraries
during the linking stage, but linking all .a files again.
2019-06-02 11:43:51 +02:00
Eugene Sandulenko
cd11950761 CONFIGURE: Update for modern MinGW 2019-05-24 20:27:09 +02:00
rsn8887
b1964b10f7 CONFIGURE: Add Switch to platforms where debug is off by default 2019-05-22 18:58:34 -05:00
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