[Spice-devel] [PATCH] spice server tests: Makefile.am: use AM_LDFLAGS (not LDFLAGS)

Uri Lublin uril at redhat.com
Wed Jan 19 02:38:39 PST 2011


This enables configuration using autoreconf.
---
 server/tests/Makefile.am |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 11cc5f2..f93a4ad 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -7,24 +7,16 @@ INCLUDES =                          \
 	$(SPICE_NONPKGCONFIG_CFLAGS)    \
 	$(NULL)
 
-LDFLAGS = -L../.libs -lspice-server
+AM_LDFLAGS = -L../.libs -lspice-server
 
 noinst_PROGRAMS = test_just_sockets_no_ssl test_empty_success test_fail_on_null_core_interface test_display_no_ssl
 
 test_display_no_ssl_SOURCES = test_display_no_ssl.c basic_event_loop.c basic_event_loop.h test_util.h
 
-test_display_no_ssl_LDFLAGS = $(LDFLAGS)
-
 test_just_sockets_no_ssl_SOURCES = test_just_sockets_no_ssl.c basic_event_loop.c basic_event_loop.h test_util.h
 
-test_just_sockets_no_ssl_LDFLAGS = $(LDFLAGS)
-
 test_empty_success_SOURCES = test_empty_success.c
 
-test_empty_success_LDFLAGS = $(LDFLAGS)
-
 test_fail_on_null_core_interface_SOURCES = test_fail_on_null_core_interface.c
 
-test_fail_on_null_core_interface_LDFLAGS = $(LDFLAGS)
-
 
-- 
1.7.1



More information about the Spice-devel mailing list