diff options
author | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2001-05-28 14:54:06 +0000 |
---|---|---|
committer | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2001-05-28 14:54:06 +0000 |
commit | 9998175a255bb531f21e081f3d8c111e659aac90 (patch) | |
tree | 5a6fcdebe0cfcd3377e3c39aba11357832f705ea /src/make.configuration.defn | |
parent | 5a56bd45c50b74c6ebf15efdfea5f0f7a3d9aa05 (diff) |
Check for availability of isnan(3) at configure time. Exit immediately
with an appropriate error message if it's not there.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@13 ff385933-4943-42dc-877b-ffc776028de6
Diffstat (limited to 'src/make.configuration.defn')
-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 |