From 8d303eddfcf979371b693d3bc418211b484d9a19 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 6 Mar 2016 10:48:49 +0100 Subject: Fix odr-zmq2farsync compilation with RAW disabled --- src/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 1ecaf16..2d3ee24 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,11 @@ FEC_FLAGS = FEC_LIBS =-lfec if HAVE_ZEROMQ_TEST -bin_PROGRAMS=odr-dabmux odr-bridgetest zmqinput-keygen odr-zmq2farsync +bin_PROGRAMS=odr-dabmux odr-bridgetest zmqinput-keygen + +if HAVE_OUTPUT_RAW_TEST +bin_PROGRAMS+=odr-zmq2farsync +endif ZMQ_LIBS =-lzmq else @@ -119,7 +123,6 @@ zmqinput_keygen_SOURCES = zmqinput-keygen.c zmqinput_keygen_LDADD = $(ZMQ_LIBS) zmqinput_keygen_CFLAGS = -Wall $(GITVERSION_FLAGS) -if HAVE_OUTPUT_RAW_TEST odr_zmq2farsync_SOURCES = zmq2farsync/zmq2farsync.cpp \ dabOutput/dabOutput.h \ dabOutput/dabOutputRaw.cpp \ @@ -128,4 +131,3 @@ odr_zmq2farsync_SOURCES = zmq2farsync/zmq2farsync.cpp \ odr_zmq2farsync_LDADD = $(ZMQ_LIBS) odr_zmq2farsync_CFLAGS = -Wall $(GITVERSION_FLAGS) -I$(FARSYNC_DIR) odr_zmq2farsync_CXXFLAGS = -Wall $(GITVERSION_FLAGS) -I$(FARSYNC_DIR) -endif -- cgit v1.2.3