diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-12 16:30:30 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-12 16:30:30 +0100 |
commit | 96b4dc4efca1b164f79a7f7394449866f034ac31 (patch) | |
tree | 101b796f40fee444c8193ccc3e13cf5644c83d5f /configure.ac | |
parent | 5132756f09c7a0dafe4644db92718ee3d1a58d6c (diff) | |
parent | fedab89cd4625617b3e481f1f59ba0fc97b7305b (diff) | |
download | dabmux-96b4dc4efca1b164f79a7f7394449866f034ac31.tar.gz dabmux-96b4dc4efca1b164f79a7f7394449866f034ac31.tar.bz2 dabmux-96b4dc4efca1b164f79a7f7394449866f034ac31.zip |
Merge branch 'next' into servicelinking
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 103 |
1 files changed, 4 insertions, 99 deletions
diff --git a/configure.ac b/configure.ac index 6297365..34abe67 100644 --- a/configure.ac +++ b/configure.ac @@ -101,33 +101,6 @@ AC_FUNC_VPRINTF AC_CHECK_FUNCS([bzero gethostbyname gettimeofday inet_ntoa memchr memmove memset socket strchr strdup strerror strrchr strstr strtol strtoul]) # Options -# Inputs -# FIFO -AC_ARG_ENABLE([input_fifo], - [AS_HELP_STRING([--disable-input-fifo], [Disable FIFO input])], - [], [enable_input_fifo=yes]) -AS_IF([test "x$enable_input_fifo" = "xyes"], - [AC_DEFINE(HAVE_INPUT_FIFO, [1], [Define if FIFO input is enabled])]) -# FILE -AC_ARG_ENABLE([input_file], - [AS_HELP_STRING([--disable-input-file], [Disable FILE input])], - [], [enable_input_file=yes]) -AS_IF([test "x$enable_input_file" = "xyes"], - [AC_DEFINE(HAVE_INPUT_FILE, [1], [Define if FILE input is enabled])]) - -# TEST -AC_ARG_ENABLE([input_test], - [AS_HELP_STRING([--enable-input-test], [Enable TEST input])], - [], [enable_input_test=no]) -AS_IF([test "x$enable_input_test" = "xyes"], - [AC_DEFINE(HAVE_INPUT_TEST, [1], [Define if TEST input is enabled])]) -# UDP -AC_ARG_ENABLE([input_udp], - [AS_HELP_STRING([--enable-input-udp], [Enable UDP input])], - [], [enable_input_udp=no]) -AS_IF([test "x$enable_input_udp" = "xyes"], - [AC_DEFINE(HAVE_INPUT_UDP, [1], [Define if UDP input is enabled])]) - # Outputs # FILE AC_ARG_ENABLE([output_file], @@ -190,51 +163,6 @@ AM_CONDITIONAL([HAVE_CURL_TEST], AM_CONDITIONAL([HAVE_OUTPUT_RAW_TEST], [test "x$enable_output_raw" = "xyes"]) - -# Formats -# RAW -AC_ARG_ENABLE([format_raw], - [AS_HELP_STRING([--disable-format-raw], [Disable RAW format])], - [], [enable_format_raw=yes]) -AS_IF([test "x$enable_format_raw" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_RAW, [1], [Define if RAW format is enabled])]) -# BRIDGE -AC_ARG_ENABLE([format_bridge], - [AS_HELP_STRING([--enable-format-bridge], [Enable BRIDGE format])], - [], [enable_format_bridge=no]) -AS_IF([test "x$enable_format_bridge" = "xno"], - [AC_DEFINE(HAVE_FORMAT_BRIDGE, [1], [Define if BRIDGE format is enabled])]) -# MPEG -AC_ARG_ENABLE([format_mpeg], - [AS_HELP_STRING([--disable-format-mpeg], [Disable MPEG format])], - [], [enable_format_mpeg=yes]) -AS_IF([test "x$enable_format_mpeg" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_MPEG, [1], [Define if MPEG format is enabled])]) -# PACKET -AC_ARG_ENABLE([format_packet], - [AS_HELP_STRING([--disable-format-packet], [Disable PACKET format])], - [], [enable_format_packet=yes]) -AS_IF([test "x$enable_format_packet" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_PACKET, [1], [Define if PACKET format is enabled])]) -# DABPLUS -AC_ARG_ENABLE([format_dabplus], - [AS_HELP_STRING([--disable-format-dabplus], [Disable DABPLUS format])], - [], [enable_format_dabplus=yes]) -AS_IF([test "x$enable_format_dabplus" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_DABPLUS, [1], [Define if DABPLUS format is enabled])]) -# DMB -AC_ARG_ENABLE([format_dmb], - [AS_HELP_STRING([--disable-format-dmb], [Disable DMB format])], - [], [enable_format_dmb=yes]) -AS_IF([test "x$enable_format_dmb" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_DMB, [1], [Define if DMB format is enabled])]) -# EPM -AC_ARG_ENABLE([format_epm], - [AS_HELP_STRING([--disable-format-epm], [Disable EPM format])], - [], [enable_format_epm=yes]) -AS_IF([test "x$enable_format_epm" = "xyes"], - [AC_DEFINE(HAVE_FORMAT_EPM, [1], [Define if EPM format is enabled])]) - AM_CONDITIONAL([IS_GIT_REPO], [test -d '.git']) AC_CONFIG_FILES([Makefile @@ -247,34 +175,11 @@ AC_OUTPUT echo echo "***********************************************" echo -echo ZeroMQ input, output and management server enabled. +echo "ZeroMQ management server enabled." echo -echo "Inputs:" -enabled="" -disabled="" -for output in prbs test udp fifo file -do - eval var=\$enable_input_$output - AS_IF([test "x$var" = "xyes"], - [enabled="$enabled $output"], - [disabled="$disabled $output"]) -done -echo " Enabled: $enabled" -echo " Disabled: $disabled" - +echo "Inputs: prbs udp zmq fifo file" echo -echo "Formats:" -enabled="" -disabled="" -for format in raw bridge mpeg packet dabplus dmb epm -do - eval var=\$enable_format_$format - AS_IF([test "x$var" = "xyes"], - [enabled="$enabled $format"], - [disabled="$disabled $format"]) -done -echo " Enabled: $enabled" -echo " Disabled: $disabled" +echo "Formats: raw mpeg packet dabplus dmb epm" echo echo "Outputs:" @@ -287,7 +192,7 @@ do [enabled="$enabled $output"], [disabled="$disabled $output"]) done -echo " Enabled: $enabled" +echo " Enabled: $enabled zmq" echo " Disabled: $disabled" echo |