diff options
author | Thomas White <taw@physics.org> | 2020-07-27 15:44:40 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 55df542018664cb519e846b4db63281867be24a0 (patch) | |
tree | fb2ad88c854aed521618afc676fe35ead4231f39 /libcrystfel/src/asdf.h | |
parent | 7680ae24a77a48ae8ebe025a9f6fc3564aa744a7 (diff) |
Remove config.h from libcrystfel headers
Same reason as removing them from tests. Also, libcrystfel might be
used in projects which have HAVE_CONFIG_H defined.
Diffstat (limited to 'libcrystfel/src/asdf.h')
-rw-r--r-- | libcrystfel/src/asdf.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libcrystfel/src/asdf.h b/libcrystfel/src/asdf.h index d900c192..b3ccffcc 100644 --- a/libcrystfel/src/asdf.h +++ b/libcrystfel/src/asdf.h @@ -31,10 +31,6 @@ #ifndef ASDF_H #define ASDF_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "index.h" #ifdef __cplusplus @@ -46,8 +42,6 @@ extern "C" { * The ASDF indexing algorithm. */ -#ifdef HAVE_FFTW - extern int run_asdf(struct image *image, void *ipriv); extern void *asdf_prepare(IndexingMethod *indm, UnitCell *cell); @@ -55,37 +49,6 @@ extern const char *asdf_probe(UnitCell *cell); extern void asdf_cleanup(void *pp); -#else /* HAVE_FFTW */ - -int run_asdf(struct image *image, void *ipriv) -{ - ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); - return 0; -} - - -void *asdf_prepare(IndexingMethod *indm, UnitCell *cell) -{ - ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); - ERROR("To use asdf indexing, recompile with FFTW.\n"); - return NULL; -} - - -const char *asdf_probe(UnitCell *cell) -{ - return NULL; -} - - -void asdf_cleanup(void *pp) -{ -} - - -#endif /* HAVE_FFTW */ - - #ifdef __cplusplus } #endif |