mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
ce9b4462f7
commit
09684ddac2
|
@ -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],[])
|
||||
|
|
|
@ -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('.')
|
||||
|
|
Loading…
Reference in New Issue