diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-22 01:27:09 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-22 01:27:15 +0100 |
commit | 13f2ea125bf1a8eab649fec7a657b3ec98b61e63 (patch) | |
tree | c26d9623c08506f70e7c321761fa857cf3623f87 /configure.ac | |
parent | a44ccd8d6419ae1abed753a48125cc57d9d9bb6d (diff) | |
download | dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.gz dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.bz2 dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.zip |
Make EDI input optional
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f32c9d8..5c357ce 100644 --- a/configure.ac +++ b/configure.ac @@ -65,11 +65,14 @@ AC_ARG_ENABLE([trace], [AS_HELP_STRING([--enable-trace], [Enable trace output])], [], [enable_trace=no]) -# ZeroMQ message queue input AC_ARG_ENABLE([zeromq], [AS_HELP_STRING([--disable-zeromq], [Disable ZeroMQ input, output and remote control])], [], [enable_zeromq=yes]) +AC_ARG_ENABLE([edi], + [AS_HELP_STRING([--enable-edi], [Enable EDI input])], + [], [enable_edi=no]) + AC_ARG_ENABLE([native], [AS_HELP_STRING([--disable-native], [Do not compile with -march=native])], [], [enable_native=yes]) @@ -137,6 +140,11 @@ AS_IF([test "x$enable_output_uhd" = "xyes"], AS_IF([test "x$enable_soapysdr" = "xyes"], [AC_DEFINE(HAVE_SOAPYSDR, [1], [Define if SoapySDR output is enabled])]) +AS_IF([test "x$enable_edi" = "xyes"], + [AC_DEFINE(HAVE_EDI, [1], [Define if EDI input is enabled]) ]) + +AM_CONDITIONAL([COMPILE_EDI], [test "x$enable_edi" = "xyes"]) + AX_BOOST_BASE([1.54.0], [], AC_MSG_ERROR([BOOST 1.54 or later is required])) AX_BOOST_SYSTEM AX_BOOST_THREAD @@ -231,7 +239,7 @@ echo "***********************************************" echo enabled="" disabled="" -for feat in debug prof trace output_uhd zeromq soapysdr +for feat in edi debug prof trace output_uhd zeromq soapysdr do eval var=\$enable_$feat AS_IF([test "x$var" = "xyes"], |