]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: remove 11-years old workarounds for deprecated options
authorWilly Tarreau <w@1wt.eu>
Wed, 27 Mar 2019 10:51:44 +0000 (11:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 27 Mar 2019 13:29:29 +0000 (14:29 +0100)
Build options "REGEX=" and "DEFINE=-DTPROXY" have been deprecated by
commit 9f2b730 in 1.3.15 and have been emitting warnings for over 11
years. It's about time to get rid of them.

Makefile

index c515a754c275fa5537f62d393814dc97577d1b59..48de6591b2f8a0207c9477895b751a68680e900b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -433,31 +433,6 @@ endif # haiku
 endif # generic
 
 
-#### Old-style REGEX library settings for compatibility with previous setups.
-# It is still possible to use REGEX=<regex_lib> to select an alternative regex
-# library. By default, we use libc's regex. On Solaris 8/Sparc, grouping seems
-# to be broken using libc, so consider using pcre instead. Supported values are
-# "libc", "pcre", and "static-pcre". Use of this method is deprecated in favor
-# of "USE_PCRE" and "USE_STATIC_PCRE" (see build options below).
-REGEX = libc
-
-ifeq ($(REGEX),pcre)
-USE_PCRE = 1
-$(warning WARNING! use of "REGEX=pcre" is deprecated, consider using "USE_PCRE=1" instead.)
-endif
-
-ifeq ($(REGEX),static-pcre)
-USE_STATIC_PCRE = 1
-$(warning WARNING! use of "REGEX=pcre-static" is deprecated, consider using "USE_STATIC_PCRE=1" instead.)
-endif
-
-#### Old-style TPROXY settings
-ifneq ($(findstring -DTPROXY,$(DEFINE)),)
-USE_TPROXY = 1
-$(warning WARNING! use of "DEFINE=-DTPROXY" is deprecated, consider using "USE_TPROXY=1" instead.)
-endif
-
-
 #### Determine version, sub-version and release date.
 # If GIT is found, and IGNOREGIT is not set, VERSION, SUBVERS and VERDATE are
 # extracted from the last commit. Otherwise, use the contents of the files