From a2ac59c14503515b327ee5065a06a45f76706d5e Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Thu, 24 Oct 2019 13:58:16 +0200 Subject: [PATCH] Check if disable-vec is given with the chemistry --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 725c516801..d658b98dde 100644 --- a/configure.ac +++ b/configure.ac @@ -1799,8 +1799,10 @@ esac if test "$with_chemistry" != "none"; then if test "$enable_hand_vec" == "yes"; then - if test "$with_hydro" == "gadget2"; then - AC_MSG_ERROR([Cannot run with hand vectorisation and chemistry yet. Please use --disable-hand-vec]) + if test "$enable_vec" == "yes"; then + if test "$with_hydro" == "gadget2"; then + AC_MSG_ERROR([Cannot run with hand vectorisation and chemistry yet. Please use --disable-hand-vec]) + fi fi fi fi -- GitLab