diff options
author | Littleboy | 2011-04-28 18:10:26 -0400 |
---|---|---|
committer | Julien | 2011-06-16 14:23:21 -0400 |
commit | 30c0966018c78cfe2ea8c7e48d1d75929aa33622 (patch) | |
tree | 31d7c0d2a7160240dabc0bb9930529fa9beea7ac | |
parent | 7458073bad16f7f15fe8a98227e7b718ecb8a075 (diff) | |
download | scummvm-rg350-30c0966018c78cfe2ea8c7e48d1d75929aa33622.tar.gz scummvm-rg350-30c0966018c78cfe2ea8c7e48d1d75929aa33622.tar.bz2 scummvm-rg350-30c0966018c78cfe2ea8c7e48d1d75929aa33622.zip |
CONFIGURE: Disable Unity on non-unix systems and add taskbar support when compiling with mingw
- Mingw now links with 2 additional libraries: ole32 and uuid
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1781,9 +1781,10 @@ case $_host_os in mingw*) DEFINES="$DEFINES -DWIN32" DEFINES="$DEFINES -D__USE_MINGW_ANSI_STDIO=0" - LIBS="$LIBS -lmingw32 -lwinmm" + LIBS="$LIBS -lmingw32 -lwinmm -lole32 -luuid" OBJS="$OBJS scummvmwinres.o" add_line_to_config_mk 'WIN32 = 1' + add_line_to_config_h "#define USE_TASKBAR" ;; mint*) DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE" @@ -2935,6 +2936,9 @@ define_in_config_h_if_yes "$_text_console" 'USE_TEXT_CONSOLE_FOR_DEBUGGER' # Check for Unity if taskbar integration is enabled # echocheck "unity" +if test "$_unix" = no ; then + _unity=no +else if test "$_unity" = auto ; then # Unity has a lots of dependency, update the libs and cflags var with them UNITY_LIBS="$UNITY_LIBS $(pkg-config --libs unity)" @@ -2952,6 +2956,7 @@ if test "$_unity" = yes ; then fi define_in_config_h_if_yes "$_unity" 'USE_TASKBAR' define_in_config_h_if_yes "$_unity" 'USE_TASKBAR_UNITY' +fi echo "$_unity" # |