@@ -7,7 +7,7 @@ AC_DEFUN([MSC_GIT_HASH], m4_esyscmd_s(git log -1 --format="%h" --abbrev-commit))
7
7
AC_DEFUN ( [ MSC_MAJOR] , m4_esyscmd_s ( cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print $3 '} | sed 's/\"//g' ) )
8
8
AC_DEFUN ( [ MSC_MINOR] , m4_esyscmd_s ( cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print $3 '} | sed 's/\"//g' ) )
9
9
AC_DEFUN ( [ MSC_PATCHLEVEL] , m4_esyscmd_s ( cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_PATCHLEVEL " | awk {'print $3 '} | sed 's/\"//g' ) )
10
- AC_DEFUN ( [ MSC_TAG] , m4_esyscmd_s ( cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_TAG " | awk {'print $3 '} | sed 's/\"//g' ) )
10
+ AC_DEFUN ( [ MSC_TAG] , m4_esyscmd_s ( cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_FTAG " | awk {'print $3 '} | sed 's/\"//g' ) )
11
11
12
12
13
13
# Version definition to be further used by AC_INIT and
@@ -22,6 +22,9 @@ m4_define([msc_version_c_plus_a], [m4_eval(msc_version_major + msc_version_minor
22
22
m4_define ( [ msc_version] ,
23
23
[ msc_version_major.msc_version_minor] )
24
24
25
+ m4_define ( [ msc_version_with_patchlevel] ,
26
+ [ msc_version_major.msc_version_minor.msc_version_patchlevel] )
27
+
25
28
m4_define ( [ msc_version_git] ,
26
29
[ m4_esyscmd_s ( git describe ) ] )
27
30
@@ -201,6 +204,9 @@ AC_SUBST([MSC_BASE_DIR])
201
204
MSC_VERSION_INFO=msc_version_info
202
205
AC_SUBST ( [ MSC_VERSION_INFO] )
203
206
207
+ MSC_VERSION_WITH_PATCHLEVEL=msc_version_with_patchlevel
208
+ AC_SUBST ( [ MSC_VERSION_WITH_PATCHLEVEL] )
209
+
204
210
MSC_VERSION=msc_version
205
211
AC_SUBST ( [ MSC_VERSION] )
206
212
0 commit comments