aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/asdf.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-15 09:09:07 +0200
committerThomas White <taw@physics.org>2015-07-15 09:09:07 +0200
commitb74d1a6848e8228671c8b22c37bfdce5092f68a1 (patch)
treed72fd95b390fc0a3d2be59f3396240c0cf3463b1 /libcrystfel/src/asdf.h
parent9aab5e7033a9015d7d34de353642a8f61f530b86 (diff)
Add warnings for asdf when compiled without FFTW
Diffstat (limited to 'libcrystfel/src/asdf.h')
-rw-r--r--libcrystfel/src/asdf.h4
1 files changed, 4 insertions, 0 deletions
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;
}