[44/81] Fold VNC_SASL_LIBS into libs_softmmu
diff mbox

Message ID ae4133f0406ae0bdbb85680dd0e9e64464dc4705.1249301360.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 3, 2009, 12:46 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    4 ----
 configure       |    3 +--
 2 files changed, 1 insertions(+), 6 deletions(-)

Patch
diff mbox

diff --git a/Makefile.target b/Makefile.target
index b5500e4..3253c23 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -239,11 +239,7 @@  sound-obj-$(CONFIG_CS4231A) += cs4231a.o
 adlib.o fmopl.o: QEMU_CFLAGS := ${QEMU_CFLAGS} -DBUILD_Y8950=0

 QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
-
-ifdef CONFIG_VNC_SASL
 QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
-LIBS += $(VNC_SASL_LIBS)
-endif

 ifdef CONFIG_BLUEZ
 LIBS += $(BLUEZ_LIBS)
diff --git a/configure b/configure
index 2226695..059be1a 100755
--- a/configure
+++ b/configure
@@ -922,7 +922,7 @@  EOF
     vnc_sasl_cflags=""
     vnc_sasl_libs="-lsasl2"
     if compile_prog "$vnc_sasl_cflags" "$vnc_sasl_libs" ; then
-	:
+	libs_softmmu="$vnc_sasl_libs $libs_softmmu"
     else
 	vnc_sasl="no"
     fi
@@ -1632,7 +1632,6 @@  fi
 if test "$vnc_sasl" = "yes" ; then
   echo "CONFIG_VNC_SASL=y" >> $config_host_mak
   echo "VNC_SASL_CFLAGS=$vnc_sasl_cflags" >> $config_host_mak
-  echo "VNC_SASL_LIBS=$vnc_sasl_libs" >> $config_host_mak
 fi
 if test "$fnmatch" = "yes" ; then
   echo "CONFIG_FNMATCH=y" >> $config_host_mak