aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-09-02 11:26:31 +0200
committerTobias Brunner <tobias@strongswan.org>2013-09-02 11:30:24 +0200
commit5ee0747cfd9f40f10db3d3d9cec374577e4be199 (patch)
treecca3f47742188c1cfbb6a30aa37853d79856a0b3 /configure.ac
parent10a69c32c2dd0a60facbe788b4578dd6d6d2ddd3 (diff)
downloadstrongswan-5ee0747cfd9f40f10db3d3d9cec374577e4be199.tar.bz2
strongswan-5ee0747cfd9f40f10db3d3d9cec374577e4be199.tar.xz
autoconf: Split PACKAGE_VERSION in four parts
The parts can be accessed with the variables: PACKAGE_VERSION_MAJOR PACKAGE_VERSION_MINOR PACKAGE_VERSION_BUILD PACKAGE_VERSION_REVIEW The last part will be empty for regular releases.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2a9504b51..06b003c73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,9 @@ AC_CONFIG_HEADERS([config.h])
AC_DEFINE([CONFIG_H_INCLUDED], [], [defined if config.h included])
PKG_PROG_PKG_CONFIG
+m4_include(m4/macros/split-package-version.m4)
+SPLIT_PACKAGE_VERSION
+
# =================================
# check --enable-xxx & --with-xxx
# =================================