BACKENDS: Only update unity libs and cflags in auto mode

This commit is contained in:
Littleboy 2011-04-02 19:09:12 -04:00 committed by Julien
parent 984e1968bc
commit cd09b7e74f

6
configure vendored
View File

@ -2935,10 +2935,10 @@ define_in_config_h_if_yes "$_text_console" 'USE_TEXT_CONSOLE_FOR_DEBUGGER'
# Check for Unity if taskbar integration is enabled
#
echocheck "unity"
# Unity has a lots of dependency, update the libs and cflags var with them
UNITY_LIBS="$UNITY_LIBS $(pkg-config --libs unity)"
UNITY_CFLAGS="$UNITY_CFLAGS $(pkg-config --cflags unity)"
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)"
UNITY_CFLAGS="$UNITY_CFLAGS $(pkg-config --cflags unity)"
_unity=no
cat > $TMPC << EOF
#include <unity.h>