From: Peter Krempa Date: Wed, 31 Mar 2021 08:31:55 +0000 (+0200) Subject: syntax-check: Remove check for prohibited 'WITH_MBRTOWC' X-Git-Tag: v7.3.0-rc1~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=153564e3ce64122d1b63b6455c27148763ab9442;p=thirdparty%2Flibvirt.git syntax-check: Remove check for prohibited 'WITH_MBRTOWC' While our code uses mbrtowc, we don't do any detection of it. Additionally it was recently changed from HAVE_MBRTOWC to WITH_MBRTOWC so even if it came from an included file it would no longer work. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 968e5128f3..2a5d3c9980 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1381,11 +1381,6 @@ sc_require_config_h_first: else :; \ fi -sc_prohibit_WITH_MBRTOWC: - @prohibit='\bWITH_MBRTOWC\b' \ - halt="do not use $$prohibit; it is always defined" \ - $(_sc_search_regexp) - # To use this "command" macro, you must first define two shell variables: # h: the header name, with no enclosing <> or "" # re: a regular expression that matches IFF something provided by $h is used.