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.
This commit is contained in:
@@ -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
|
||||
# =================================
|
||||
|
||||
Reference in New Issue
Block a user