[PATCH 4/6] syntax-check: Remove check for prohibited 'WITH_MBRTOWC'

Peter Krempa pkrempa at redhat.com
Wed Mar 31 09:34:27 UTC 2021


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 <pkrempa at redhat.com>
---
 build-aux/syntax-check.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index c1134d6a02..8f8d0ec6ab 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -1390,11 +1390,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.
-- 
2.29.2




More information about the libvir-list mailing list