aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/asdf.h
diff options
context:
space:
mode:
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;
}