From 47d4ebfc5f1c8d0ccb126eda20e3cb69dd885211 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 16 May 2011 16:01:37 -0400 Subject: [PATCH] Comment on why we're pulling in version.m4 Commenting code is helpful, I've been told that it is the best way to reduce bugs in a project. To that end, make the connection between VERSION_NUMBER and PACKAGE_VERSION in configure.ac Signed-off-by: Dan Scott --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9dc04ab..df978c6 100644 --- a/configure.ac +++ b/configure.ac @@ -20,10 +20,15 @@ #------------------------------- export PATH=${PATH}:/usr/sbin -m4_include([version.m4]) AC_PREREQ(2.59) + +# Get our version number from one file +m4_include([version.m4]) + +# Version number gets turned into @PACKAGE_VERSION@ AC_INIT([OpenSRF],m4_defn([VERSION_NUMBER]),[open-ils-dev@list.georgialibraries.org]) AM_INIT_AUTOMAKE([OpenSRF], m4_defn([VERSION_NUMBER])) + AC_REVISION($Revision: 0.1 $) AC_CONFIG_SRCDIR([configure.ac]) AC_PREFIX_DEFAULT([/opensrf]) -- 2.43.2