mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
lzfse: convert to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
241611eab2
commit
ecea3696b9
3 changed files with 23 additions and 30 deletions
31
configure
vendored
31
configure
vendored
|
@ -396,7 +396,7 @@ capstone="auto"
|
|||
lzo="auto"
|
||||
snappy="auto"
|
||||
bzip2="auto"
|
||||
lzfse="$default_feature"
|
||||
lzfse="auto"
|
||||
zstd="$default_feature"
|
||||
guest_agent="$default_feature"
|
||||
guest_agent_with_vss="no"
|
||||
|
@ -1323,9 +1323,9 @@ for opt do
|
|||
;;
|
||||
--enable-bzip2) bzip2="enabled"
|
||||
;;
|
||||
--enable-lzfse) lzfse="yes"
|
||||
--enable-lzfse) lzfse="enabled"
|
||||
;;
|
||||
--disable-lzfse) lzfse="no"
|
||||
--disable-lzfse) lzfse="disabled"
|
||||
;;
|
||||
--disable-zstd) zstd="no"
|
||||
;;
|
||||
|
@ -2457,24 +2457,6 @@ EOF
|
|||
fi
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# lzfse check
|
||||
|
||||
if test "$lzfse" != "no" ; then
|
||||
cat > $TMPC << EOF
|
||||
#include <lzfse.h>
|
||||
int main(void) { lzfse_decode_scratch_size(); return 0; }
|
||||
EOF
|
||||
if compile_prog "" "-llzfse" ; then
|
||||
lzfse="yes"
|
||||
else
|
||||
if test "$lzfse" = "yes"; then
|
||||
feature_not_found "lzfse" "Install lzfse devel"
|
||||
fi
|
||||
lzfse="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# zstd check
|
||||
|
||||
|
@ -6119,11 +6101,6 @@ if test "$avx512f_opt" = "yes" ; then
|
|||
echo "CONFIG_AVX512F_OPT=y" >> $config_host_mak
|
||||
fi
|
||||
|
||||
if test "$lzfse" = "yes" ; then
|
||||
echo "CONFIG_LZFSE=y" >> $config_host_mak
|
||||
echo "LZFSE_LIBS=-llzfse" >> $config_host_mak
|
||||
fi
|
||||
|
||||
if test "$zstd" = "yes" ; then
|
||||
echo "CONFIG_ZSTD=y" >> $config_host_mak
|
||||
echo "ZSTD_CFLAGS=$zstd_cflags" >> $config_host_mak
|
||||
|
@ -6693,7 +6670,7 @@ NINJA=$ninja $meson setup \
|
|||
-Dcapstone=$capstone -Dslirp=$slirp -Dfdt=$fdt -Dbrlapi=$brlapi \
|
||||
-Dcurl=$curl -Dglusterfs=$glusterfs -Dbzip2=$bzip2 -Dlibiscsi=$libiscsi \
|
||||
-Dlibnfs=$libnfs -Diconv=$iconv -Dcurses=$curses -Dlibudev=$libudev\
|
||||
-Drbd=$rbd -Dlzo=$lzo -Dsnappy=$snappy \
|
||||
-Drbd=$rbd -Dlzo=$lzo -Dsnappy=$snappy -Dlzfse=$lzfse \
|
||||
-Ddocs=$docs -Dsphinx_build=$sphinx_build -Dinstall_blobs=$blobs \
|
||||
-Dvhost_user_blk_server=$vhost_user_blk_server \
|
||||
-Dfuse=$fuse -Dfuse_lseek=$fuse_lseek \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue