aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-02-12 11:31:33 +0100
committerThomas White <taw@physics.org>2015-02-12 11:47:06 +0100
commit8f20d56f91e70ea3b6a56d20be66913b15a1ebca (patch)
tree0dd054fc3c407ab8d38beaf4edf9bb439d9c437c
parent587c1ef949cce26be9e528414b8b377a6598cb04 (diff)
Show warning if CrystFEL was compiled without ncurses
-rw-r--r--libcrystfel/src/integration.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 4a743c63..affe65b4 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -412,6 +412,9 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx,
endwin();
if ( results_pipe != 0 ) write(results_pipe, "RELEASE\n", 8);
+#else
+ STATUS("Not showing peak box because CrystFEL was compiled without "
+ "ncurses.\n");
#endif
}