comparison configure.ac @ 941:33418a475d9e

Don't set version from configure, track it in version.h instead. Next will be 2.5.
author Chris Cannam
date Mon, 20 Apr 2015 09:37:24 +0100
parents 6b683d12ab65
children 28ccb621d1af 94253fa11318
comparison
equal deleted inserted replaced
940:440ead77632b 941:33418a475d9e
1 1
2 AC_INIT([Sonic Visualiser], [2.4.1], cannam@all-day-breakfast.com) 2 AC_INIT([Sonic Visualiser], [], cannam@all-day-breakfast.com)
3 3
4 AC_CONFIG_SRCDIR(main/main.cpp) 4 AC_CONFIG_SRCDIR(main/main.cpp)
5 5
6 # Autoconf will set CXXFLAGS; we don't usually want it to, because we 6 # Autoconf will set CXXFLAGS; we don't usually want it to, because we
7 # either define our own flags (at least if GCC is in use) or else use 7 # either define our own flags (at least if GCC is in use) or else use
119 AC_SUBST(CXX) 119 AC_SUBST(CXX)
120 120
121 AC_SUBST(QMAKE_CONFIG) 121 AC_SUBST(QMAKE_CONFIG)
122 122
123 AC_CONFIG_SUBDIRS([svcore svgui svapp]) 123 AC_CONFIG_SUBDIRS([svcore svgui svapp])
124 AC_CONFIG_FILES([config.pri version.h]) 124 AC_CONFIG_FILES([config.pri])
125 125
126 AC_OUTPUT 126 AC_OUTPUT
127 127
128 if ! $QMAKE -r sonic-visualiser.pro; then 128 if ! $QMAKE -r sonic-visualiser.pro; then
129 AC_MSG_ERROR([qmake failed: Command was "$QMAKE -r"]) 129 AC_MSG_ERROR([qmake failed: Command was "$QMAKE -r"])