summaryrefslogtreecommitdiff
path: root/m4/ltversion.in
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ltversion.in')
-rw-r--r--m4/ltversion.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/m4/ltversion.in b/m4/ltversion.in
new file mode 100644
index 0000000..497ab4d
--- /dev/null
+++ b/m4/ltversion.in
@@ -0,0 +1,23 @@
+# ltversion.m4 -- version numbers -*- Autoconf -*-
+#
+# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# @configure_input@
+
+# serial @MACRO_SERIAL@ ltversion.m4
+# This file is part of GNU Libtool
+
+m4_define([LT_PACKAGE_VERSION], [@MACRO_VERSION@])
+m4_define([LT_PACKAGE_REVISION], [@MACRO_REVISION@])
+
+AC_DEFUN([LTVERSION_VERSION],
+[macro_version='@MACRO_VERSION@'
+macro_revision='@MACRO_REVISION@'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])