libtool/m4/ltversion.in
Gary V. Vaughan 4a9ead32fb * m4/ltversion.in: New file to capture what version number macros
are being used.
* Makefile.am (m4/ltversion.m4): New rule to create it from
m4/ltversion.in.
(nodist_pkgmacro_DATA): Add m4/ltversion.m4.
(EXTRA_DIST): Add m4/ltversion.in.
* m4/libtool.m4 (AC_LIBTOOL_SETUP): AC_REQUIRE LTVERSION_VERSION
from ltversion.m4.
* bootstrap: Call the Makefile.am to create an initial
m4/ltversion.m4.
* ltmain.in: Diagnose version mismatches of various flavours.
* TODO: Remove mismatch item.
* NEWS: Updated.
2004-02-06 17:23:40 +00:00

15 lines
415 B
Plaintext

# ltversion.m4 -- version numbers -*- Autoconf -*-
# @configure_input@
# 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)
])