From: Pavel Hrdina Date: Tue, 30 Jun 2020 12:07:19 +0000 (+0200) Subject: meson: add sizeof check X-Git-Tag: v6.7.0-rc1~574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09684ddac20a7c619ee46c47042ee6d7b363a665;p=thirdparty%2Flibvirt.git meson: add sizeof check Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Neal Gompa --- 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('.')