autoconf/lib/version.in
Zack Weinberg af5c11ed61
Generate version.m4 from config.status, in lib/ not lib/m4sugar/.
This simplifies the Makefile a bit and also paves the way for a
bootstrap script (replacing the process of re-running autoreconf with
the just-built autoconf) which will be able to cope with generated
files that get installed in @pkgdatadir@ but not in @pkgdatadir@/m4sugar.

* lib/version.in: New file, contents extracted from lib/local.mk.
* lib/local.mk: Do not generate version.m4 here.
* configure.ac: Generate lib/version.m4 from lib/version.in via
  config.status.

* lib/freeze.mk, lib/local.mk, lib/m4sugar/m4sugar.m4:
  version.m4 now lives in @pkgdatadir@ rather than @pkgdatadir@/m4sugar.
2021-09-15 14:02:34 -04:00

13 lines
523 B
Plaintext

# Version information for -*- Autoconf -*-.
# @configure_input@
# Copyright (C) 1999-2002, 2006-2007, 2009, 2021
# Free Software Foundation, Inc.
m4_define([m4_PACKAGE_NAME], [@PACKAGE_NAME@])
m4_define([m4_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])
m4_define([m4_PACKAGE_VERSION], [@PACKAGE_VERSION@])
m4_define([m4_PACKAGE_STRING], [@PACKAGE_STRING@])
m4_define([m4_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])
m4_define([m4_PACKAGE_URL], [@PACKAGE_URL@])
m4_define([m4_PACKAGE_YEAR], [@RELEASE_YEAR@])