summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-16 10:35:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-16 10:35:56 +0200
commitc2e8251f2555aaeb6406353675624ddc0431d3da (patch)
tree53c0fb2a3dfdb698f9dacb65af119711fa85b775
parent5e08ec5d0d71857b21536221f6fda9c936afa7e0 (diff)
downloaddabmod-c2e8251f2555aaeb6406353675624ddc0431d3da.tar.gz
dabmod-c2e8251f2555aaeb6406353675624ddc0431d3da.tar.bz2
dabmod-c2e8251f2555aaeb6406353675624ddc0431d3da.zip
Remove FFTW dependency from easydabv3 build
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index da26c64..8691914 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,8 @@ AX_CHECK_COMPILE_FLAG(["-Wformat=2"], [CXXFLAGS="$CXXFLAGS -Wformat=2"], [], ["-
AC_LANG_POP([C++])
-PKG_CHECK_MODULES([FFTW], [fftw3f], [], [AC_MSG_ERROR([FFTW is required])])
+AS_IF([test "x$enable_easydabv3" = "xno"],
+ [PKG_CHECK_MODULES([FFTW], [fftw3f], [], [AC_MSG_ERROR([FFTW is required])])])
echo "Checking zeromq"
@@ -143,6 +144,7 @@ AS_IF([test "x$enable_easydabv3" = "xyes"],
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h limits.h memory.h netinet/in.h stdint.h stdlib.h string.h sys/time.h sys/timeb.h unistd.h])
+AC_MSG_CHECKING(for M_PIl existence)
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <math.h>]], [[double pi = M_PIl;]])],