From: Dan Scott Date: Mon, 16 May 2011 20:01:37 +0000 (-0400) Subject: Comment on why we're pulling in version.m4 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=47d4ebfc5f1c8d0ccb126eda20e3cb69dd885211;p=working%2FOpenSRF.git 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 --- 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])