Remove HAIKU_INCLUDE_PATENTED_CODE.

Nothing uses it anymore. Fixes #8935.
This commit is contained in:
Augustin Cavalier 2018-06-13 18:07:30 -04:00
parent 08bc83d7ae
commit b337e9a8fd
2 changed files with 0 additions and 19 deletions

View File

@ -150,16 +150,6 @@ switch $(HAIKU_DISTRO_COMPATIBILITY) {
$(HAIKU_DISTRO_COMPATIBILITY) ;
}
# If the environment variable HAIKU_INCLUDE_PATENTED_CODE is defined, we define
# an equally named macro to the variable value. Some components use the macro
# to allow compilation of code known to implemented patented ideas and/or
# techniques, for example the Freetype bytecode hinter or sub-pixel rendering as
# well as some problematic media codecs.
if $(HAIKU_INCLUDE_PATENTED_CODE) {
HAIKU_DEFINES
+= HAIKU_INCLUDE_PATENTED_CODE=$(HAIKU_INCLUDE_PATENTED_CODE) ;
}
# network libraries
HAIKU_NETWORK_LIBS = network ;
HAIKU_NETAPI_LIB = bnetapi ;

9
configure vendored
View File

@ -57,12 +57,6 @@ options:
--host-only Configure for building tools for the build host
only. Haiku cannot be built when configured like
this.
--include-patented-code Enable code that is known to implemented patented
ideas and techniques. If this option is not
specified, the resulting distribution may still
implement patented ideas and techniques. This
option only enables code that is currently known
to be problematic.
--include-sources Includes the source code of projects that require
either an offer of source code or a copy of the
patched sources. This is preferable when
@ -531,7 +525,6 @@ fi
#
HOST_GCC_RAW_VERSION=`$CC -dumpversion`
HOST_GCC_MACHINE=`$CC -dumpmachine`
HAIKU_INCLUDE_PATENTED_CODE=0
HAIKU_INCLUDE_SOURCES=0
HAIKU_INCLUDE_3RDPARTY=0
HAIKU_DISTRO_COMPATIBILITY=default
@ -688,7 +681,6 @@ while [ $# -gt 0 ] ; do
shift 2
;;
--host-only) HAIKU_HOST_BUILD_ONLY=1; shift 1;;
--include-patented-code) HAIKU_INCLUDE_PATENTED_CODE=1; shift 1;;
--include-sources) HAIKU_INCLUDE_SOURCES=1; shift 1;;
--include-3rdparty) HAIKU_INCLUDE_3RDPARTY=1; shift 1;;
-j*) buildCrossToolsJobs="$1"; shift 1;;
@ -993,7 +985,6 @@ cat << EOF > "$buildConfigFile"
TARGET_PLATFORM ?= "${TARGET_PLATFORM}" ;
HOST_PLATFORM ?= "${HOST_PLATFORM}" ;
HAIKU_INCLUDE_PATENTED_CODE ?= "${HAIKU_INCLUDE_PATENTED_CODE}" ;
HAIKU_INCLUDE_SOURCES ?= "${HAIKU_INCLUDE_SOURCES}" ;
HAIKU_INCLUDE_3RDPARTY ?= "${HAIKU_INCLUDE_3RDPARTY}" ;
HAIKU_DISTRO_COMPATIBILITY ?= "${HAIKU_DISTRO_COMPATIBILITY}" ;