Add software patent setting to build config template.

Implement the setting in freetype2 (rbuild file).

svn path=/trunk/; revision=23230
This commit is contained in:
Klemens Friedl 2006-07-22 19:38:18 +00:00
parent 7af4849812
commit 0cc0655c20
4 changed files with 22 additions and 1 deletions

View file

@ -53,4 +53,13 @@
-->
<property name="DBG" value="1" />
<!--
Whether to compile apps/libs with features covered software patents or not.
If you live in a country where software patents are valid/apply, don't
enable this (except they/you purchased a license from the patent owner).
This settings is disabled (0) by default.
-->
<property name="NSWPAT" value="0" />
</rbuild>

View file

@ -60,4 +60,13 @@
-->
<property name="GDB" value="0" />
<!--
Whether to compile apps/libs with features covered software patents or not.
If you live in a country where software patents are valid/apply, don't
enable this (except they/you purchased a license from the patent owner).
This settings is disabled (0) by default.
-->
<property name="NSWPAT" value="0" />
</rbuild>

View file

@ -436,7 +436,7 @@ FT_BEGIN_HEADER
/* Do not #undef this macro here, since the build system might */
/* define it for certain configurations only. */
/* */
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
/*************************************************************************/

View file

@ -6,6 +6,9 @@
<define name="__NTDRIVER__" />
<define name="__NO_CTYPE_INLINES" />
<define name="__USE_W32API" />
<if property="NSWPAT" value="1">
<define name="TT_CONFIG_OPTION_BYTECODE_INTERPRETER" />
</if>
<library>ntoskrnl</library>
<library>hal</library>
<directory name="i386">