]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Define LXC_DEVEL to detect development releases
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Oct 2016 16:31:29 +0000 (18:31 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Oct 2016 16:31:29 +0000 (18:31 +0200)
This can be used by downstreams to improve their "feature" checks.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
configure.ac
src/lxc/version.h.in

index 8c07d9791d8f81e1fb4877b3a2d4d6048282032b..2f0137b2f3a77d37ed713f6804741e71357ab70e 100644 (file)
@@ -1,6 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
+m4_define([lxc_devel], 1)
 m4_define([lxc_version_major], 2)
 m4_define([lxc_version_minor], 0)
 m4_define([lxc_version_micro], 0)
@@ -24,6 +25,7 @@ AC_SUBST([LXC_VERSION_MINOR], [lxc_version_minor])
 AC_SUBST([LXC_VERSION_MICRO], [lxc_version_micro])
 AC_SUBST([LXC_VERSION_ABI], [lxc_version_abi])
 AC_SUBST([LXC_VERSION], [lxc_version])
+AC_SUBST([LXC_DEVEL], [lxc_devel])
 
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_AUX_DIR([config])
index cd1b6ebc299226c604ce7387445ddffb062aec92..5a78f229157ba6a5a9b8fec5a909726b6d44b3c1 100644 (file)
@@ -23,6 +23,7 @@
 #ifndef __LXC_VERSION_H
 #define __LXC_VERSION_H
 
+#define LXC_DEVEL @LXC_DEVEL@
 #define LXC_VERSION_MAJOR @LXC_VERSION_MAJOR@
 #define LXC_VERSION_MINOR @LXC_VERSION_MINOR@
 #define LXC_VERSION_MICRO @LXC_VERSION_MICRO@