diff options
author | Littleboy | 2011-04-29 11:33:18 -0400 |
---|---|---|
committer | Julien | 2011-06-16 14:23:24 -0400 |
commit | 0ae3e4f2897a79b5e9c7df3a5209f101d421426e (patch) | |
tree | 5994be0b6e5a416f5e487ed4d94286268d911703 /configure | |
parent | f843b3f280a1641d11601c9ee248d35944b14b42 (diff) | |
download | scummvm-rg350-0ae3e4f2897a79b5e9c7df3a5209f101d421426e.tar.gz scummvm-rg350-0ae3e4f2897a79b5e9c7df3a5209f101d421426e.tar.bz2 scummvm-rg350-0ae3e4f2897a79b5e9c7df3a5209f101d421426e.zip |
CONFIGURE: Update libunity detection by adding a call to one of unity functions in the cc_check test
Some older compilers might not error out on missing headers and will compile (with warnings) unless a symbol is missing
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2946,7 +2946,10 @@ if test "$_unity" = auto ; then _unity=no cat > $TMPC << EOF #include <unity.h> -int main(void) { return 0; } +int main(void) { + unity_launcher_entry_get_for_desktop_id("scummvm.desktop"); + return 0; +} EOF cc_check $UNITY_CFLAGS $UNITY_LIBS -lunity && _unity=yes fi |