aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/libcrystfel-config.h.cmake.in
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-27 13:12:09 +0200
committerThomas White <taw@physics.org>2021-04-27 13:18:32 +0200
commitc66781ed4d8beb611a1155be540cffb3df7ce146 (patch)
tree2e1a724e711ed1446bde872bab9761be66fbf7a2 /libcrystfel/libcrystfel-config.h.cmake.in
parent7424f7d7190d221e5dedcdeadc2809ec8166292e (diff)
Rename libcrystfel's config.h to libcrystfel-config.h
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2.
Diffstat (limited to 'libcrystfel/libcrystfel-config.h.cmake.in')
-rw-r--r--libcrystfel/libcrystfel-config.h.cmake.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/libcrystfel/libcrystfel-config.h.cmake.in b/libcrystfel/libcrystfel-config.h.cmake.in
new file mode 100644
index 00000000..1a81ffde
--- /dev/null
+++ b/libcrystfel/libcrystfel-config.h.cmake.in
@@ -0,0 +1,17 @@
+/* config.h for libcrystfel */
+
+#cmakedefine HAVE_CLOCK_GETTIME
+#cmakedefine HAVE_FFTW
+#cmakedefine HAVE_XGANDALF
+#cmakedefine HAVE_PINKINDEXER
+#cmakedefine HAVE_FDIP
+#cmakedefine HAVE_CURSES
+#cmakedefine HAVE_GZBUFFER
+#cmakedefine HAVE_GDKPIXBUF
+#cmakedefine HAVE_LIBCCP4
+#cmakedefine HAVE_MSGPACK
+
+#cmakedefine HAVE_FORKPTY_PTY_H
+#cmakedefine HAVE_FORKPTY_UTIL_H
+
+#define CRYSTFEL_VERSIONSTRING "${CRYSTFEL_VERSION}"