Mercurial > hg > sonic-visualiser
diff configure.ac @ 361:101f05420cba
* Add qmake config (debug or release) corresponding to configure invocation
author | Chris Cannam |
---|---|
date | Fri, 08 Oct 2010 13:31:00 +0100 |
parents | a5aa8d268817 |
children | 85466530456a |
line wrap: on
line diff
--- a/configure.ac Fri Oct 08 12:05:36 2010 +0100 +++ b/configure.ac Fri Oct 08 13:31:00 2010 +0100 @@ -51,7 +51,10 @@ CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" +QMAKE_CONFIG="release" + AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug],[enable debug support [default=no]])],[AC_MSG_NOTICE([enabling debug build]) +QMAKE_CONFIG="debug" CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" SV_DEFINES_BUILD="$SV_DEFINES_DEBUG"]) @@ -101,6 +104,8 @@ AC_SUBST(CC) AC_SUBST(CXX) +AC_SUBST(QMAKE_CONFIG) + AC_SUBST(CODENAME) AC_OUTPUT([config.pri])