meson: add sizeof check

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Pavel Hrdina 2020-06-30 14:07:19 +02:00
parent ce9b4462f7
commit 09684ddac2
2 changed files with 5 additions and 2 deletions

View File

@ -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],[])

View File

@ -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('.')