aboutsummaryrefslogtreecommitdiff
path: root/src/gui_export.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-12 12:40:50 +0100
committerThomas White <taw@physics.org>2021-02-12 17:27:44 +0100
commit5ceed23ffdae85bb42b4d2f01a7a02485dd8c954 (patch)
tree785c77b19e1f9746b044409591f6f00ff7021730 /src/gui_export.c
parenta9334fdf379923d737bf3be504c42a901f5b8009 (diff)
GUI: Add CCP4 libraries and hide MTZ export options if not found
Diffstat (limited to 'src/gui_export.c')
-rw-r--r--src/gui_export.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_export.c b/src/gui_export.c
index 0daf8ae5..4f300594 100644
--- a/src/gui_export.c
+++ b/src/gui_export.c
@@ -350,10 +350,12 @@ gint export_sig(GtkWidget *widget, struct crystfelproject *proj)
win->format = gtk_combo_box_text_new();
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(win->format),
FALSE, FALSE, 4.0);
+#ifdef HAVE_LIBCCP4
gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(win->format), "mtz",
"MTZ, plain");
gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(win->format), "mtz-bij",
"MTZ, Bijvoet pairs together");
+#endif
gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(win->format), "xds",
"XDS ASCII");
gtk_combo_box_set_active(GTK_COMBO_BOX(win->format), 0);