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=e54e33ab3bf6909b09d1a1c628c075e7e383df45;p=rrdtool-all.git include PACKAGE_VERSION as version number for python module to fix #236 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1879 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/python/rrdtoolmodule.c b/program/bindings/python/rrdtoolmodule.c index 8eba8f92..a2647b50 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"