summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-19 17:40:44 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-19 17:40:44 +0000
commitacc655235663f223f10bd26c6e6d1ebc6331d9bd (patch)
tree0251038982cc9139bc7a34d47d137f4fb6f073d0 /configure.ac
parenta3fe39ac4168d9521dc12c8e27eb8040ff078f5e (diff)
generate PA_MAJORMINOR properly - only from major and minor, not from micro
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@938 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9974c29c..445e26be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,12 +20,17 @@
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
AC_PREREQ(2.57)
-AC_INIT([polypaudio],[0.9.0],[mzcbylcnhqvb (at) 0pointer (dot) de])
+
+m4_define(PA_MAJOR, [0])
+m4_define(PA_MINOR, [9])
+m4_define(PA_MICRO, [0])
+
+AC_INIT([polypaudio], PA_MAJOR.PA_MINOR.PA_MICRO,[mzcbylcnhqvb (at) 0pointer (dot) de])
AC_CONFIG_SRCDIR([src/daemon/main.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign -Wall])
-AC_SUBST(PA_MAJORMINOR, "$PACKAGE_VERSION")
+AC_SUBST(PA_MAJORMINOR, "PA_MAJOR.PA_MINOR")
AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/polypaudio/])
AC_SUBST(PA_API_VERSION, 9)