From: Willy Tarreau Date: Wed, 27 Mar 2019 10:51:44 +0000 (+0100) Subject: BUILD: Makefile: remove 11-years old workarounds for deprecated options X-Git-Tag: v2.0-dev3~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0ac3a51ee801140cdfd8fc4cd713036030c20f;p=thirdparty%2Fhaproxy.git BUILD: Makefile: remove 11-years old workarounds for deprecated options 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. --- diff --git a/Makefile b/Makefile index c515a754c2..48de6591b2 100644 --- 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= 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