Comment on why we're pulling in version.m4 origin/origin
authorDan Scott <dan@coffeecode.net>
Mon, 16 May 2011 20:01:37 +0000 (16:01 -0400)
committerDan Scott <dan@coffeecode.net>
Mon, 16 May 2011 20:01:37 +0000 (16:01 -0400)
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 <dscott@laurentian.ca>

configure.ac

index 9dc04ab..df978c6 100644 (file)
 #-------------------------------
 
 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])