From e46bd55d9cbb45b4e6681dd91da0fca821e2ed9d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 3 Jun 2021 11:57:04 +0200 Subject: configure: convert HAVE_BROKEN_SIZE_MAX to meson MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel P. Berrangé Signed-off-by: Paolo Bonzini --- configure | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'configure') diff --git a/configure b/configure index a524104..98d6068 100755 --- a/configure +++ b/configure @@ -2376,20 +2376,6 @@ if test "$softmmu" = "no"; then fi ########################################## -# Some versions of Mac OS X incorrectly define SIZE_MAX -cat > $TMPC << EOF -#include -#include -int main(int argc, char *argv[]) { - return printf("%zu", SIZE_MAX); -} -EOF -have_broken_size_max=no -if ! compile_object -Werror ; then - have_broken_size_max=yes -fi - -########################################## # L2TPV3 probe cat > $TMPC <> $config_host_mak fi echo "CONFIG_TLS_PRIORITY=\"$tls_priority\"" >> $config_host_mak -if test "$have_broken_size_max" = "yes" ; then - echo "HAVE_BROKEN_SIZE_MAX=y" >> $config_host_mak -fi if test "$have_openpty" = "yes" ; then echo "HAVE_OPENPTY=y" >> $config_host_mak fi -- cgit v1.1