aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--src/interface.c2
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 <errno.h>
#include <signal.h>
-#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"