aboutsummaryrefslogtreecommitdiff
path: root/m4/macros/package_version.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/macros/package_version.m4')
-rw-r--r--m4/macros/package_version.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/macros/package_version.m4 b/m4/macros/package_version.m4
new file mode 100644
index 000000000000..0d6c6ef25f74
--- /dev/null
+++ b/m4/macros/package_version.m4
@@ -0,0 +1,8 @@
+dnl ######################################################################
+dnl Version of package
+AC_DEFUN([AMU_PACKAGE_VERSION],
+[AC_MSG_CHECKING(version of package)
+AC_DEFINE_UNQUOTED(PACKAGE_VERSION, "$1")
+AC_MSG_RESULT(\"$1\")
+])
+dnl ======================================================================