comparison configure.ac @ 351:41f3e8d56bac

* Update build system
author Chris Cannam
date Wed, 22 Sep 2010 11:39:37 +0100
parents c053d985ec8c
children d59bb887e4d2
comparison
equal deleted inserted replaced
350:c053d985ec8c 351:41f3e8d56bac
1 1
2 AC_INIT(SVcore, 1.8, cannam@all-day-breakfast.com) 2 AC_INIT([Sonic Visualiser], 1.8, cannam@all-day-breakfast.com)
3 3
4 AC_CONFIG_SRCDIR(base/base.pro) 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
8 # the user's preferences. We need to ensure CXXFLAGS is only set if 8 # the user's preferences. We need to ensure CXXFLAGS is only set if
9 # the user has expressly set it. So, save the user's (or empty) 9 # the user has expressly set it. So, save the user's (or empty)
101 AC_SUBST(CXX) 101 AC_SUBST(CXX)
102 102
103 AC_SUBST(CODENAME) 103 AC_SUBST(CODENAME)
104 104
105 AC_OUTPUT([config.pri]) 105 AC_OUTPUT([config.pri])
106 AC_OUTPUT([version.h])
106 107
107 if ! $QMAKE -r; then 108 if ! $QMAKE -r; then
108 AC_MSG_ERROR([qmake failed: Command was "$QMAKE -r"]) 109 AC_MSG_ERROR([qmake failed: Command was "$QMAKE -r"])
109 fi 110 fi
110 111