mirror of
https://github.com/paboyle/Grid.git
synced 2026-08-27 21:09:36 +01:00
Slate changes and warn suppression
This commit is contained in:
@@ -80,6 +80,13 @@ AC_CHECK_DECLS([be64toh],[], [], [[#include <arpa/inet.h>]])
|
||||
AC_CHECK_LIB([m],[cos])
|
||||
AC_CHECK_LIB([stdc++],[abort])
|
||||
|
||||
############## SLATE
|
||||
AC_ARG_WITH([slate],
|
||||
[AS_HELP_STRING([--with-slate=prefix],
|
||||
[try this for a non-standard install prefix of the SLATE library])],
|
||||
[AM_CXXFLAGS="-I$with_slate/include $AM_CXXFLAGS"]
|
||||
[AM_LDFLAGS="-L$with_slate/lib64 $AM_LDFLAGS"])
|
||||
|
||||
############### GMP and MPFR
|
||||
AC_ARG_WITH([gmp],
|
||||
[AS_HELP_STRING([--with-gmp=prefix],
|
||||
@@ -408,6 +415,12 @@ AC_SEARCH_LIBS([fftw_execute], [fftw3],
|
||||
[AC_DEFINE([HAVE_FFTW], [1], [Define to 1 if you have the `FFTW' library])]
|
||||
[have_fftw=true])
|
||||
|
||||
AC_SEARCH_LIBS([slate_init], [slate],
|
||||
[AC_SEARCH_LIBS([slate_init], [slate], [],
|
||||
[AC_MSG_ERROR("SLATE library not found")])]
|
||||
[AC_DEFINE([HAVE_SLATE], [1], [Define to 1 if you have the `SLATE' library])]
|
||||
[have_slate=true])
|
||||
|
||||
AC_SEARCH_LIBS([limeCreateReader], [lime],
|
||||
[AC_DEFINE([HAVE_LIME], [1], [Define to 1 if you have the `LIME' library])]
|
||||
[have_lime=true],
|
||||
|
||||
Reference in New Issue
Block a user