+CFLAGS += -DWVTEST_CONFIGURED
+wvtest_SCRIPTS += negotiation.sh
test_PROGRAMS += negotiation
-negotiation_SOURCES = negotiation.c
+negotiation_SOURCES = negotiation.cc
+negotiation_LIBS = wvtest
test_PROGRAMS += spare_capacity
spare_capacity_SOURCES = spare_capacity.c