From aea86b27f80483868f7ad3198476e93a3877f077 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 7 Aug 2009 06:04:59 +0000 Subject: [PATCH] include PACKAGE_VERSION as version number for python module to fix #236 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1879 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/python/rrdtoolmodule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index 2df9806..e2d0bbd 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/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" -- 2.30.2