summaryrefslogtreecommitdiff
path: root/app/xfs/include/servermd.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/xfs/include/servermd.h')
-rw-r--r--app/xfs/include/servermd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/xfs/include/servermd.h b/app/xfs/include/servermd.h
index 6e5cc8abc..ccd6629be 100644
--- a/app/xfs/include/servermd.h
+++ b/app/xfs/include/servermd.h
@@ -49,8 +49,17 @@ in this Software without prior written authorization from The Open Group.
#ifndef _SERVERMD_H_
#define _SERVERMD_H_
+#include <xfs-config.h>
+
#ifndef VENDOR_RELEASE
-#define VENDOR_RELEASE 6700
+# if defined PACKAGE_VERSION_MAJOR
+# define VENDOR_RELEASE \
+ (((PACKAGE_VERSION_MAJOR) * 10000000) + \
+ ((PACKAGE_VERSION_MINOR) * 100000) + \
+ ((PACKAGE_VERSION_PATCHLEVEL) * 1000))
+# else
+# define VENDOR_RELEASE 7000
+# endif
#endif
#ifndef VENDOR_STRING