aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: 044056885c7c5e2730c87543280964898637b76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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