summaryrefslogtreecommitdiff
path: root/sysdep/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/config.h')
-rw-r--r--sysdep/config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdep/config.h b/sysdep/config.h
index e529cd86..a552e6b6 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -6,8 +6,15 @@
#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_
+#define XSTR2(X) #X
+#define XSTR1(X) XSTR2(X)
+
/* BIRD version */
-#define BIRD_VERSION "1.6.3"
+#ifdef GIT_LABEL
+#define BIRD_VERSION XSTR1(GIT_LABEL)
+#else
+#define BIRD_VERSION "2.0.1"
+#endif
/* Include parameters determined by configure script */
#include "sysdep/autoconf.h"