From 886177dfdec4ff1420495b2b6587f16265f785cc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 23 May 2002 00:06:36 +0000 Subject: 2002-05-22 Roland McGrath * configure.in (VERSION): New substituted variable: set to 1.3 now. (version.c): Add it to AC_OUTPUT. * configure: Regenerated. * Makefile.in (version): New variable, set from that. Remove vpath directive for version.c, not found in build dir. (topfiles): version.c -> version.c.in * doc/Makefile.in (mach-version): Substituted instead of constant. * version.c: File removed, replaced with ... * version.c.in: ... this new file. (version): Make it const. Use @VERSION@ for the number. --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 82d3b44..b845204 100644 --- a/configure.in +++ b/configure.in @@ -12,10 +12,12 @@ dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE dnl USE OF THIS SOFTWARE. - AC_INIT(kern/ipc_kobject.c) AC_PREREQ(2.12) +VERSION=1.3 +AC_SUBST(VERSION) + # # Deduce output var `systype' from configuration parms. # @@ -73,4 +75,4 @@ AC_LINK_FILES(${systype}/${systype},machine) AC_CONFIG_SUBDIRS(linux ${systype}) -AC_OUTPUT(Makefile doc/Makefile) +AC_OUTPUT(Makefile version.c doc/Makefile) -- cgit v1.2.3