Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
d2d6b991
Commit
d2d6b991
authored
Oct 04, 2016
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define LXC_DEVEL to detect development releases
This can be used by downstreams to improve their "feature" checks. Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
0f73b621
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
configure.ac
configure.ac
+2
-0
version.h.in
src/lxc/version.h.in
+1
-0
No files found.
configure.ac
View file @
d2d6b991
# -*- Autoconf -*-
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
# 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_major], 2)
m4_define([lxc_version_minor], 0)
m4_define([lxc_version_minor], 0)
m4_define([lxc_version_micro], 0)
m4_define([lxc_version_micro], 0)
...
@@ -24,6 +25,7 @@ AC_SUBST([LXC_VERSION_MINOR], [lxc_version_minor])
...
@@ -24,6 +25,7 @@ AC_SUBST([LXC_VERSION_MINOR], [lxc_version_minor])
AC_SUBST([LXC_VERSION_MICRO], [lxc_version_micro])
AC_SUBST([LXC_VERSION_MICRO], [lxc_version_micro])
AC_SUBST([LXC_VERSION_ABI], [lxc_version_abi])
AC_SUBST([LXC_VERSION_ABI], [lxc_version_abi])
AC_SUBST([LXC_VERSION], [lxc_version])
AC_SUBST([LXC_VERSION], [lxc_version])
AC_SUBST([LXC_DEVEL], [lxc_devel])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_AUX_DIR([config])
...
...
src/lxc/version.h.in
View file @
d2d6b991
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#ifndef __LXC_VERSION_H
#ifndef __LXC_VERSION_H
#define __LXC_VERSION_H
#define __LXC_VERSION_H
#define LXC_DEVEL @LXC_DEVEL@
#define LXC_VERSION_MAJOR @LXC_VERSION_MAJOR@
#define LXC_VERSION_MAJOR @LXC_VERSION_MAJOR@
#define LXC_VERSION_MINOR @LXC_VERSION_MINOR@
#define LXC_VERSION_MINOR @LXC_VERSION_MINOR@
#define LXC_VERSION_MICRO @LXC_VERSION_MICRO@
#define LXC_VERSION_MICRO @LXC_VERSION_MICRO@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment