]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
syntax-check: Remove check for prohibited 'WITH_MBRTOWC'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 31 Mar 2021 08:31:55 +0000 (10:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 6 Apr 2021 14:53:49 +0000 (16:53 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
build-aux/syntax-check.mk

index 968e5128f30a93653d1d6a986e36738e589115f2..2a5d3c99800dddb1ef06b02ef1c9ae049ee00467 100644 (file)
@@ -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.