From b74d1a6848e8228671c8b22c37bfdce5092f68a1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 15 Jul 2015 09:09:07 +0200 Subject: Add warnings for asdf when compiled without FFTW --- libcrystfel/src/asdf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcrystfel/src/asdf.h') diff --git a/libcrystfel/src/asdf.h b/libcrystfel/src/asdf.h index 2c070d79..1e492a6f 100644 --- a/libcrystfel/src/asdf.h +++ b/libcrystfel/src/asdf.h @@ -55,6 +55,8 @@ extern void asdf_cleanup(IndexingPrivate *pp); int run_asdf(struct image *image, IndexingPrivate *ipriv) { + ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); + return 0; } @@ -62,6 +64,8 @@ IndexingPrivate *asdf_prepare(IndexingMethod *indm, UnitCell *cell, struct detector *det, float *ltl) { + ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); + ERROR("To use asdf indexing, recompile with FFTW.\n"); return NULL; } -- cgit v1.2.3