summaryrefslogtreecommitdiffstats
path: root/build/linux/configure.ac
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-08-28 15:55:39 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-09-25 14:10:11 +0200
commitb629db207bb263495bfff2e61ce189ccac27b4b9 (patch)
tree260310b16d624261bb80f82979af27750022259b /build/linux/configure.ac
parent64729b45a73cd17c85c57cd71dc277ae84a4b471 (diff)
downloadastra-b629db207bb263495bfff2e61ce189ccac27b4b9.tar.gz
astra-b629db207bb263495bfff2e61ce189ccac27b4b9.tar.bz2
astra-b629db207bb263495bfff2e61ce189ccac27b4b9.tar.xz
astra-b629db207bb263495bfff2e61ce189ccac27b4b9.zip
Skip boost/cuda check if cuda is not found
Diffstat (limited to 'build/linux/configure.ac')
-rw-r--r--build/linux/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac
index c992516..bb4d113 100644
--- a/build/linux/configure.ac
+++ b/build/linux/configure.ac
@@ -120,7 +120,9 @@ if test x"$HAVECUDA" = xyes; then
AC_MSG_CHECKING([if nvcc works])
ASTRA_CHECK_NVCC(HAVECUDA,NVCCFLAGS_EXTRA)
AC_MSG_RESULT($HAVECUDA)
+fi
+if test x"$HAVECUDA" = xyes; then
AC_MSG_CHECKING([if boost and CUDA versions are compatible])
ASTRA_CHECK_CUDA_BOOST(AC_MSG_RESULT([yes]),[
AC_MSG_RESULT([no])