aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-08-20 07:43:41 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-09-02 07:34:50 +0200
commit496aff5a7954111ddf3b64d1dde664164f344e40 (patch)
tree525db45f8519ec00409304f61652eaa3f9ac68e1 /configure.ac
parenta52c89800c9826634bcae3a635b71feb905b3641 (diff)
Add implementation of analog TV signal generator (PAL so far)
Quick and dirty Howto: make && tv/osmotv --sdr-soapy --sdr-tx-gain 60 -r 15000000 -c 21 tx-fubk --sdr-tune-args "OFFSET=-3000000"
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac39
1 files changed, 37 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2f27783..1ffd2ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,39 @@ AC_CHECK_LIB([pthread], [main])
PKG_CHECK_MODULES(ALSA, alsa >= 1.0)
+# disabled due to problems with api compatibilty with imagemagick
+#AC_ARG_ENABLE(graphicsmagick,
+# [AS_HELP_STRING(
+# [--disable-graphicsmagick],
+# [Disable building graphicsmagick]
+# )],
+# [enable_graphicsmagick=$enableval], [enable_graphicsmagick="yes"])
+#if test x"$enable_graphicsmagick" = x"yes"
+#then
+# PKG_CHECK_MODULES(GRAPHICSMAGICK, GraphicsMagick >= 1.3.16, , enable_graphicsmagick=no)
+#fi
+#if test x"$enable_graphicsmagick" = x"yes"
+#then
+# somethingmagick=yes
+#fi
+
+AC_ARG_ENABLE(imagemagick,
+ [AS_HELP_STRING(
+ [--disable-imagemagick],
+ [Disable building imagemagick]
+ )],
+ [enable_imagemagick=$enableval], [enable_imagemagick="yes"])
+if test x"$enable_imagemagick" = x"yes"
+then
+ PKG_CHECK_MODULES(IMAGEMAGICK, ImageMagick >= 6.0.0, , enable_imagemagick=no)
+fi
+if test x"$enable_imagemagick" = x"yes"
+then
+ somethingmagick=yes
+fi
+
+AM_CONDITIONAL(ENABLE_MAGICK, test x"$somethingmagick" = x"yes")
+
with_sdr=no
AC_ARG_WITH([uhd], [AS_HELP_STRING([--with-uhd], [compile with UHD driver @<:@default=check@:>@]) ], [], [with_uhd="check"])
AC_ARG_WITH([soapy], [AS_HELP_STRING([--with-soapy], [compile with SoapySDR driver @<:@default=check@:>@]) ], [], [with_soapy="check"])
@@ -37,8 +70,9 @@ AS_IF([test "x$with_soapy" != xno], [PKG_CHECK_MODULES(SOAPY, SoapySDR >= 0.6.0,
AM_CONDITIONAL(HAVE_UHD, test "x$with_uhd" == "xyes" )
AM_CONDITIONAL(HAVE_SOAPY, test "x$with_soapy" == "xyes" )
AM_CONDITIONAL(HAVE_SDR, test "x$with_sdr" == "xyes" )
-AS_IF([test "x$with_uhd" == "xyes"],[AC_MSG_NOTICE( Compiling with UHD SDR support )], [AC_MSG_NOTICE( UHD SDR not support )])
-AS_IF([test "x$with_soapy" == "xyes"],[AC_MSG_NOTICE( Compiling with SoapySDR support )], [AC_MSG_NOTICE( SoapySDR not support )])
+AS_IF([test "x$with_uhd" == "xyes"],[AC_MSG_NOTICE( Compiling with UHD SDR support )], [AC_MSG_NOTICE( UHD SDR not supported )])
+AS_IF([test "x$with_soapy" == "xyes"],[AC_MSG_NOTICE( Compiling with SoapySDR support )], [AC_MSG_NOTICE( SoapySDR not supported )])
+AS_IF([test "x$somethingmagick" == "xyes"],[AC_MSG_NOTICE( Compiling with ImageMagick )],[AC_MSG_NOTICE( ImageMagick not supported )])
AC_OUTPUT(
src/common/Makefile
@@ -50,6 +84,7 @@ AC_OUTPUT(
src/tacs/Makefile
src/jtacs/Makefile
src/r2000/Makefile
+ src/tv/Makefile
src/test/Makefile
src/Makefile
sim/Makefile