mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 09:28:36 +00:00
Remove unused zlib dependency
This commit is contained in:
parent
b15a179a18
commit
fe96e8325b
3 changed files with 0 additions and 20 deletions
18
qemu/configure
vendored
18
qemu/configure
vendored
|
@ -220,7 +220,6 @@ pkgversion=""
|
||||||
pie=""
|
pie=""
|
||||||
zero_malloc=""
|
zero_malloc=""
|
||||||
win_sdk="no"
|
win_sdk="no"
|
||||||
zlib="yes"
|
|
||||||
|
|
||||||
# parse CC options first
|
# parse CC options first
|
||||||
for opt do
|
for opt do
|
||||||
|
@ -1074,23 +1073,6 @@ if ! has "$pkg_config_exe"; then
|
||||||
error_exit "pkg-config binary '$pkg_config_exe' not found"
|
error_exit "pkg-config binary '$pkg_config_exe' not found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
|
||||||
# zlib check
|
|
||||||
|
|
||||||
if test "$zlib" != "no" ; then
|
|
||||||
cat > $TMPC << EOF
|
|
||||||
#include <zlib.h>
|
|
||||||
int main(void) { zlibVersion(); return 0; }
|
|
||||||
EOF
|
|
||||||
if compile_prog "" "-lz" ; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
error_exit "zlib check failed" \
|
|
||||||
"Make sure to have the zlib libs and headers installed."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
LIBS="$LIBS -lz"
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# libtool probe
|
# libtool probe
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include "qemu/bitops.h"
|
#include "qemu/bitops.h"
|
||||||
#include "internals.h"
|
#include "internals.h"
|
||||||
#include "qemu/crc32c.h"
|
#include "qemu/crc32c.h"
|
||||||
#include <zlib.h> /* For crc32 */
|
|
||||||
|
|
||||||
/* C2.4.7 Multiply and divide */
|
/* C2.4.7 Multiply and divide */
|
||||||
/* special cases for 0 and LLONG_MIN are mandated by the standard */
|
/* special cases for 0 and LLONG_MIN are mandated by the standard */
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include "qemu/crc32c.h"
|
#include "qemu/crc32c.h"
|
||||||
#include "exec/cpu_ldst.h"
|
#include "exec/cpu_ldst.h"
|
||||||
#include "arm_ldst.h"
|
#include "arm_ldst.h"
|
||||||
#include <zlib.h> /* For crc32 */
|
|
||||||
|
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
static inline int get_phys_addr(CPUARMState *env, target_ulong address,
|
static inline int get_phys_addr(CPUARMState *env, target_ulong address,
|
||||||
|
|
Loading…
Reference in a new issue