mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
configure: convert HAVE_BROKEN_SIZE_MAX to meson
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ccd250aa2d
commit
e46bd55d9c
2 changed files with 9 additions and 17 deletions
17
configure
vendored
17
configure
vendored
|
@ -2375,20 +2375,6 @@ if test "$softmmu" = "no"; then
|
|||
audio_drv_list=""
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# Some versions of Mac OS X incorrectly define SIZE_MAX
|
||||
cat > $TMPC << EOF
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
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
|
||||
|
||||
|
@ -5360,9 +5346,6 @@ if test "$gdbus_codegen" != "" ; then
|
|||
echo "GDBUS_CODEGEN=$gdbus_codegen" >> $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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue