From: oetiker Date: Fri, 7 Aug 2009 06:04:59 +0000 (+0000) Subject: include PACKAGE_VERSION as version number for python module to fix #236 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8a4e4aa279c9ec19c0a26a12bff245a06ff63d98;p=rrdtool-all.git include PACKAGE_VERSION as version number for python module to fix #236 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1879 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/python/rrdtoolmodule.c b/program/bindings/python/rrdtoolmodule.c index 2df98066..e2d0bbd5 100644 --- a/program/bindings/python/rrdtoolmodule.c +++ b/program/bindings/python/rrdtoolmodule.c @@ -37,7 +37,9 @@ # define UNUSED(x) x #endif -static const char *__version__ = "$Revision: 1.14 $"; + +#include "../../rrd_config.h" +static const char *__version__ = PACKAGE_VERSION; #include "Python.h" #include "../../src/rrd_tool.h"