From: Uwe Stöhr Date: Tue, 4 Dec 2007 21:05:41 +0000 (+0000) Subject: scons/SConstruct: disable assertions for stable releases X-Git-Tag: 1.6.10~7057 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b618c03d902e2e960351ee37a33426f64d4a8224;p=lyx.git scons/SConstruct: disable assertions for stable releases git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 748d542436..4eef2111ff 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -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' ),