From 09684ddac20a7c619ee46c47042ee6d7b363a665 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Tue, 30 Jun 2020 14:07:19 +0200 Subject: [PATCH] meson: add sizeof check Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Neal Gompa --- configure.ac | 2 -- meson.build | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 020d78442c..439a06a3a5 100644 --- a/configure.ac +++ b/configure.ac @@ -203,8 +203,6 @@ LIBVIRT_CHECK_WIRESHARK LIBVIRT_CHECK_XDR LIBVIRT_CHECK_YAJL -AC_CHECK_SIZEOF([long]) - AC_CHECK_LIB([intl],[gettext],[]) AC_CHECK_LIB([util],[openpty],[]) diff --git a/meson.build b/meson.build index 990faa5d46..65f1581515 100644 --- a/meson.build +++ b/meson.build @@ -867,6 +867,11 @@ foreach member : members endforeach +# check various types sizeof + +conf.set('SIZEOF_LONG', cc.sizeof('long')) + + # define top include directory top_inc_dir = include_directories('.')