[libvirt PATCH 030/351] meson: add sizeof check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 configure.ac | 2 --
 meson.build  | 5 +++++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a426ba2a355..b85fa9a9a6f 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 d474745f31e..121022e5f78 100644
--- a/meson.build
+++ b/meson.build
@@ -854,6 +854,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('.')
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux