From e7e691deb05d6de40b43a8a943932ce188c6c0cf Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 4 Jan 2006 06:36:24 +0000 Subject: [PATCH] add -fakeversion option git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8206 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGES.current b/CHANGES.current index 2166f0463..f2c407c5b 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -13,6 +13,24 @@ Version 1.3.28 (unreleased). -debug_typemap - Print information for debugging typemaps -debug_template - Print information for debugging templates + - Add the fakeversion. If you have a project that uses + configure/setup.py, or another automatic building system + and requires a specific swig version, let say 1.3.22 + you can use: + + SWIG_FEATURES="-fakeversion 1.3.22" + + or + + swig -fakeversion 1.3.22 + + and then swig -version will report 1.3.22 instead of the + current version. + + Tipical use could be + + SWIG_FEATURES="-fakeversion 1.3.22" ./configure + 12/30/2005: mmatus - Add option/format support to %rename and %namewarn.