scons/SConstruct: disable assertions for stable releases

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-12-04 21:05:41 +00:00
parent 646b2e9ee2
commit b618c03d90

View File

@ -753,7 +753,7 @@ utils.createConfigFile(conf,
#('newapis.h', 'HAVE_NEWAPIS_H', 'c'),
],
custom_tests = [
(env.has_key('assertions') and env['assertions'],
(env.has_key('assertions') and env['assertions'] and devel_version,
'ENABLE_ASSERTIONS',
'Define if you want assertions to be enabled in the code'
),