From b46b2c9f69dd5166922d171c36e2c00ef0bf6fa8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 10 Aug 2006 21:15:06 +0000 Subject: Separate PROTOCOL_VERSION from VERSION So we can have VERSION=0.12.0rc1 and keep the clients seeing 0.12.0 git-svn-id: https://svn.musicpd.org/mpd/trunk@4608 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 3 ++- src/interface.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a8b827850..ed2f64a6d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl AC_INIT(src/main.c) dnl AM_INIT_AUTOMAKE(mpd, 0.12.0) AC_PREREQ(2.58) -AC_INIT(mpd, 0.12.0, warren.dukes@gmail.com) +AC_INIT(mpd, 0.12.0rc1, warren.dukes@gmail.com) AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION) AC_SUBST(MPD_LIBS) @@ -16,6 +16,7 @@ AC_PROG_LIBTOOL AC_PROG_MAKE_SET AM_CONFIG_HEADER(config.h) +AC_DEFINE(PROTOCOL_VERSION, "0.12.0", [The mpd protocol version]) MPD_LIBS="" MPD_CFLAGS="" diff --git a/src/interface.c b/src/interface.c index 99d891bee..0381404bf 100644 --- a/src/interface.c +++ b/src/interface.c @@ -42,7 +42,7 @@ #include #include -#define GREETING "OK MPD " VERSION "\n" +#define GREETING "OK MPD " PROTOCOL_VERSION "\n" #define INTERFACE_MAX_BUFFER_LENGTH (40960) #define INTERFACE_LIST_MODE_BEGIN "command_list_begin" -- cgit v1.2.3