Mercurial > hg > svcore
diff configure @ 657:1bb85de8c5b9
* Add qmake config (debug or release) corresponding to configure invocation
author | Chris Cannam |
---|---|
date | Fri, 08 Oct 2010 13:30:47 +0100 |
parents | 34dad3ed923a |
children | 9e29bf7ce1ff |
line wrap: on
line diff
--- a/configure Fri Oct 08 12:05:40 2010 +0100 +++ b/configure Fri Oct 08 13:30:47 2010 +0100 @@ -597,6 +597,7 @@ ac_subst_vars='LTLIBOBJS LIBOBJS CODENAME +QMAKE_CONFIG HAVES CXXFLAGS_MINIMAL CUT @@ -4183,10 +4184,13 @@ CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" +QMAKE_CONFIG="release" + # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then : enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: enabling debug build" >&5 $as_echo "$as_me: enabling debug build" >&6;} +QMAKE_CONFIG="debug" CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" fi @@ -7196,6 +7200,8 @@ + + ac_config_files="$ac_config_files config.pri" cat >confcache <<\_ACEOF