configure: drop dead variables and functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
feabc71dfa
commit
f2995ee4cb
16
configure
vendored
16
configure
vendored
@ -331,7 +331,6 @@ audio_drv_list=""
|
|||||||
block_drv_rw_whitelist=""
|
block_drv_rw_whitelist=""
|
||||||
block_drv_ro_whitelist=""
|
block_drv_ro_whitelist=""
|
||||||
host_cc="cc"
|
host_cc="cc"
|
||||||
libs_tools=""
|
|
||||||
audio_win_int=""
|
audio_win_int=""
|
||||||
libs_qga=""
|
libs_qga=""
|
||||||
debug_info="yes"
|
debug_info="yes"
|
||||||
@ -439,7 +438,6 @@ mingw32="no"
|
|||||||
gcov="no"
|
gcov="no"
|
||||||
EXESUF=""
|
EXESUF=""
|
||||||
HOST_DSOSUF=".so"
|
HOST_DSOSUF=".so"
|
||||||
LDFLAGS_SHARED="-shared"
|
|
||||||
modules="no"
|
modules="no"
|
||||||
module_upgrades="no"
|
module_upgrades="no"
|
||||||
prefix="/usr/local"
|
prefix="/usr/local"
|
||||||
@ -864,7 +862,6 @@ Darwin)
|
|||||||
darwin="yes"
|
darwin="yes"
|
||||||
hax="yes"
|
hax="yes"
|
||||||
hvf="yes"
|
hvf="yes"
|
||||||
LDFLAGS_SHARED="-bundle -undefined dynamic_lookup"
|
|
||||||
if [ "$cpu" = "x86_64" ] ; then
|
if [ "$cpu" = "x86_64" ] ; then
|
||||||
QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
|
QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
|
||||||
QEMU_LDFLAGS="-arch x86_64 $QEMU_LDFLAGS"
|
QEMU_LDFLAGS="-arch x86_64 $QEMU_LDFLAGS"
|
||||||
@ -4947,7 +4944,7 @@ elif compile_prog "" "$pthread_lib -lrt" ; then
|
|||||||
LIBS="$LIBS -lrt"
|
LIBS="$LIBS -lrt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check whether we need to link libutil for openpty()
|
# Check whether we have openpty() in either libc or libutil
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
extern int openpty(int *am, int *as, char *name, void *termp, void *winp);
|
extern int openpty(int *am, int *as, char *name, void *termp, void *winp);
|
||||||
int main(void) { return openpty(0, 0, 0, 0, 0); }
|
int main(void) { return openpty(0, 0, 0, 0, 0); }
|
||||||
@ -4958,7 +4955,6 @@ if compile_prog "" "" ; then
|
|||||||
have_openpty="yes"
|
have_openpty="yes"
|
||||||
else
|
else
|
||||||
if compile_prog "" "-lutil" ; then
|
if compile_prog "" "-lutil" ; then
|
||||||
libs_tools="-lutil $libs_tools"
|
|
||||||
have_openpty="yes"
|
have_openpty="yes"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -6506,12 +6502,6 @@ else
|
|||||||
cxx=
|
cxx=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo_version() {
|
|
||||||
if test "$1" = "yes" ; then
|
|
||||||
echo "($2)"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
config_host_mak="config-host.mak"
|
config_host_mak="config-host.mak"
|
||||||
|
|
||||||
echo "# Automatically generated by configure - do not modify" > $config_host_mak
|
echo "# Automatically generated by configure - do not modify" > $config_host_mak
|
||||||
@ -7432,7 +7422,6 @@ echo "NM=$nm" >> $config_host_mak
|
|||||||
echo "PKG_CONFIG=$pkg_config_exe" >> $config_host_mak
|
echo "PKG_CONFIG=$pkg_config_exe" >> $config_host_mak
|
||||||
echo "WINDRES=$windres" >> $config_host_mak
|
echo "WINDRES=$windres" >> $config_host_mak
|
||||||
echo "CFLAGS=$CFLAGS" >> $config_host_mak
|
echo "CFLAGS=$CFLAGS" >> $config_host_mak
|
||||||
echo "CXXFLAGS=$CXXFLAGS" >> $config_host_mak
|
|
||||||
echo "CFLAGS_NOPIE=$CFLAGS_NOPIE" >> $config_host_mak
|
echo "CFLAGS_NOPIE=$CFLAGS_NOPIE" >> $config_host_mak
|
||||||
echo "QEMU_CFLAGS=$QEMU_CFLAGS" >> $config_host_mak
|
echo "QEMU_CFLAGS=$QEMU_CFLAGS" >> $config_host_mak
|
||||||
echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak
|
echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak
|
||||||
@ -7444,13 +7433,10 @@ if test "$sparse" = "yes" ; then
|
|||||||
fi
|
fi
|
||||||
echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak
|
echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak
|
||||||
echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak
|
echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak
|
||||||
echo "LD_REL_FLAGS=$LD_REL_FLAGS" >> $config_host_mak
|
|
||||||
echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak
|
echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak
|
||||||
echo "LIBS_TOOLS+=$libs_tools" >> $config_host_mak
|
|
||||||
echo "PTHREAD_LIB=$PTHREAD_LIB" >> $config_host_mak
|
echo "PTHREAD_LIB=$PTHREAD_LIB" >> $config_host_mak
|
||||||
echo "EXESUF=$EXESUF" >> $config_host_mak
|
echo "EXESUF=$EXESUF" >> $config_host_mak
|
||||||
echo "HOST_DSOSUF=$HOST_DSOSUF" >> $config_host_mak
|
echo "HOST_DSOSUF=$HOST_DSOSUF" >> $config_host_mak
|
||||||
echo "LDFLAGS_SHARED=$LDFLAGS_SHARED" >> $config_host_mak
|
|
||||||
echo "LIBS_QGA=$libs_qga" >> $config_host_mak
|
echo "LIBS_QGA=$libs_qga" >> $config_host_mak
|
||||||
echo "TASN1_LIBS=$tasn1_libs" >> $config_host_mak
|
echo "TASN1_LIBS=$tasn1_libs" >> $config_host_mak
|
||||||
echo "TASN1_CFLAGS=$tasn1_cflags" >> $config_host_mak
|
echo "TASN1_CFLAGS=$tasn1_cflags" >> $config_host_mak
|
||||||
|
Loading…
Reference in New Issue
Block a user