mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
VeNCrypt basic TLS support, by Daniel P. Berrange.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3136 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@@ -405,6 +405,11 @@ SOUND_HW += fmopl.o adlib.o
|
||||
endif
|
||||
AUDIODRV+= wavcapture.o
|
||||
|
||||
ifdef CONFIG_VNC_TLS
|
||||
CPPFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
|
||||
LIBS += $(CONFIG_VNC_TLS_LIBS)
|
||||
endif
|
||||
|
||||
VL_OBJS += i2c.o smbus.o
|
||||
|
||||
# SCSI layer
|
||||
|
||||
@@ -89,6 +89,7 @@ alsa="no"
|
||||
fmod="no"
|
||||
fmod_lib=""
|
||||
fmod_inc=""
|
||||
vnc_tls="yes"
|
||||
bsd="no"
|
||||
linux="no"
|
||||
kqemu="no"
|
||||
@@ -252,6 +253,8 @@ for opt do
|
||||
;;
|
||||
--fmod-inc=*) fmod_inc="$optarg"
|
||||
;;
|
||||
--disable-vnc-tls) vnc_tls="no"
|
||||
;;
|
||||
--enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" ; linux_user="no"
|
||||
;;
|
||||
--disable-slirp) slirp="no"
|
||||
@@ -362,6 +365,7 @@ echo " --enable-coreaudio enable Coreaudio audio driver"
|
||||
echo " --enable-alsa enable ALSA audio driver"
|
||||
echo " --enable-fmod enable FMOD audio driver"
|
||||
echo " --enable-dsound enable DirectSound audio driver"
|
||||
echo " --disable-vnc-tls disable TLS encryption for VNC server"
|
||||
echo " --enable-system enable all system emulation targets"
|
||||
echo " --disable-system disable all system emulation targets"
|
||||
echo " --enable-linux-user enable all linux usermode emulation targets"
|
||||
@@ -588,6 +592,16 @@ else
|
||||
fi
|
||||
fi # -z $sdl
|
||||
|
||||
##########################################
|
||||
# VNC TLS detection
|
||||
if test "$vnc_tls" = "yes" ; then
|
||||
`pkg-config gnutls` || vnc_tls="no"
|
||||
fi
|
||||
if test "$vnc_tls" = "yes" ; then
|
||||
vnc_tls_cflags=`pkg-config --cflags gnutls`
|
||||
vnc_tls_libs=`pkg-config --libs gnutls`
|
||||
fi
|
||||
|
||||
##########################################
|
||||
# alsa sound support libraries
|
||||
|
||||
@@ -675,6 +689,11 @@ else
|
||||
fi
|
||||
echo "FMOD support $fmod $fmod_support"
|
||||
echo "OSS support $oss"
|
||||
echo "VNC TLS support $vnc_tls"
|
||||
if test "$vnc_tls" = "yes" ; then
|
||||
echo " TLS CFLAGS $vnc_tls_cflags"
|
||||
echo " TLS LIBS $vnc_tls_libs"
|
||||
fi
|
||||
if test -n "$sparc_cpu"; then
|
||||
echo "Target Sparc Arch $sparc_cpu"
|
||||
fi
|
||||
@@ -847,6 +866,12 @@ if test "$fmod" = "yes" ; then
|
||||
echo "CONFIG_FMOD_INC=$fmod_inc" >> $config_mak
|
||||
echo "#define CONFIG_FMOD 1" >> $config_h
|
||||
fi
|
||||
if test "$vnc_tls" = "yes" ; then
|
||||
echo "CONFIG_VNC_TLS=yes" >> $config_mak
|
||||
echo "CONFIG_VNC_TLS_CFLAGS=$vnc_tls_cflags" >> $config_mak
|
||||
echo "CONFIG_VNC_TLS_LIBS=$vnc_tls_libs" >> $config_mak
|
||||
echo "#define CONFIG_VNC_TLS 1" >> $config_h
|
||||
fi
|
||||
qemu_version=`head $source_path/VERSION`
|
||||
echo "VERSION=$qemu_version" >>$config_mak
|
||||
echo "#define QEMU_VERSION \"$qemu_version\"" >> $config_h
|
||||
|
||||
Reference in New Issue
Block a user