diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/make.configuration.defn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn new file mode 100644 index 0000000..0440568 --- /dev/null +++ b/src/make.configuration.defn @@ -0,0 +1,14 @@ +# make.configuration.defn for NaNChecker + +# make sure that isnan(3) is available on this architecture + +HAVE_ISNAN := $(shell grep HAVE_ISNAN $(CONFIG)/cctk_Config.h) + +ifneq (define, $(findstring define,$(HAVE_ISNAN))) +$(NAME): MissingIsNaN +.pseudo: MissingIsNaN +MissingIsNaN: + @echo "Thorn NaNChecker requires isnan(3) which is not available on this architecture." + @echo "Please remove NaNChecker from your ThornList !" + exit 2 +endif |