[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 07/20] fold VNC_TLS_CFLAGS into CPPCFLAGS
From: |
quintela |
Subject: |
[Qemu-devel] [PATCH 07/20] fold VNC_TLS_CFLAGS into CPPCFLAGS |
Date: |
Tue, 21 Jul 2009 00:13:17 +0200 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile | 2 --
Makefile.target | 4 ----
configure | 7 +++----
3 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index bdbb87c..098f972 100644
--- a/Makefile
+++ b/Makefile
@@ -137,8 +137,6 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h
keymaps.h
vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
-vnc.o: CFLAGS += $(VNC_TLS_CFLAGS)
-
vnc-tls.o: vnc-tls.c vnc.h
vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
diff --git a/Makefile.target b/Makefile.target
index 8621c76..7c81a27 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -414,10 +414,6 @@ ifdef CONFIG_ADLIB
adlib.o fmopl.o: CFLAGS := ${CFLAGS} -DBUILD_Y8950=0
endif
-ifdef CONFIG_VNC_TLS
-CPPFLAGS += $(VNC_TLS_CFLAGS)
-endif
-
ifdef CONFIG_VNC_SASL
CPPFLAGS += $(VNC_SASL_CFLAGS)
endif
diff --git a/configure b/configure
index 90bc793..bd4436d 100755
--- a/configure
+++ b/configure
@@ -967,9 +967,10 @@ EOF
vnc_tls_libs=`pkg-config --libs gnutls 2> /dev/null`
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $vnc_tls_cflags $TMPC \
$vnc_tls_libs > /dev/null 2> /dev/null ; then
- :
+ CPPFLAGS="$CPPFLAGS $vnc_tls_cflags"
+ LIBS="$LIBS $vnc_tls_libs"
else
- vnc_tls="no"
+ vnc_tls="no"
fi
fi
@@ -1654,9 +1655,7 @@ if test "$mixemu" = "yes" ; then
fi
if test "$vnc_tls" = "yes" ; then
echo "CONFIG_VNC_TLS=y" >> $config_host_mak
- echo "VNC_TLS_CFLAGS=$vnc_tls_cflags" >> $config_host_mak
echo "#define CONFIG_VNC_TLS 1" >> $config_host_h
- LIBS="$LIBS $vnc_tls_libs"
fi
if test "$vnc_sasl" = "yes" ; then
echo "CONFIG_VNC_SASL=y" >> $config_host_mak
--
1.6.2.5
- [Qemu-devel] [PATCH 00/20] More configure/Makefile cleanups, quintela, 2009/07/20
- [Qemu-devel] [PATCH 01/20] add coreaudio libs at the same place that the rest of the audior drivers, quintela, 2009/07/20
- [Qemu-devel] [PATCH 02/20] move the decision of using threads or not in audio from Makefile to configure, quintela, 2009/07/20
- [Qemu-devel] [PATCH 04/20] Use CONFIG_NOWIN32 previus define to simplify Makefile, quintela, 2009/07/20
- [Qemu-devel] [PATCH 03/20] Add CONFIG_NOWIN32, quintela, 2009/07/20
- [Qemu-devel] [PATCH 05/20] add $fmod_inc to CPPFLAGS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 06/20] add SLIRP directory to include list in case it is needed, quintela, 2009/07/20
- [Qemu-devel] [PATCH 08/20] fold VNC_SASL_CFLAGS into CPPCFLAGS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 07/20] fold VNC_TLS_CFLAGS into CPPCFLAGS,
quintela <=
- [Qemu-devel] [PATCH 10/20] -lz is needed for all binaries, move it to LIBS, quintela, 2009/07/20
- [Qemu-devel] [PATCH 09/20] put together uses of -lvdeplug, quintela, 2009/07/20
- [Qemu-devel] [PATCH 11/20] put together uses of xen libraries, quintela, 2009/07/20
- [Qemu-devel] [PATCH 12/20] the else part of this test is obsolete We are testing for sdl = yes inside the else part of the test if sdl = yes, quintela, 2009/07/20
- [Qemu-devel] [PATCH 13/20] sdl_config var is never changed from sdl-config value, quintela, 2009/07/20
- [Qemu-devel] [PATCH 15/20] define SDL_CFLAGS value when we test for SDL, quintela, 2009/07/20
- [Qemu-devel] [PATCH 14/20] remove old sdl config code that was commented, quintela, 2009/07/20
- [Qemu-devel] [PATCH 17/20] use sdl_{cflags, libs} insteaf of calling sdl-config, quintela, 2009/07/20
- [Qemu-devel] [PATCH 18/20] Add -lX11 to sdl_libs when needed, and remove sdl_x11 variable, quintela, 2009/07/20
- [Qemu-devel] [PATCH 19/20] move SDL mingw32 hack to SDL detection, quintela, 2009/07/20