diff options
author | Thomas White <taw@physics.org> | 2018-11-09 10:33:30 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-11-09 10:48:15 +0100 |
commit | d643b45921d20b8a63292e7f47e36bba8a8c42a5 (patch) | |
tree | 24924ba30320012977cfd60b7524822c604888a3 /src/geoptimiser.c | |
parent | 8db6816f50cde83c5ad9bb8a763a8b2350571d38 (diff) |
geoptimiser: Fix ifdefs
Diffstat (limited to 'src/geoptimiser.c')
-rw-r--r-- | src/geoptimiser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geoptimiser.c b/src/geoptimiser.c index aacb7302..f66ac709 100644 --- a/src/geoptimiser.c +++ b/src/geoptimiser.c @@ -2535,7 +2535,7 @@ int optimize_geometry(struct geoptimiser_params *gparams, if ( gparams->stretch_map ) { -#ifdef HAVE_SAVE_TO_PNG +#ifdef CAN_SAVE_TO_PNG STATUS("Saving stretch map - for out-of-plane rotations.\n"); @@ -2548,12 +2548,12 @@ int optimize_geometry(struct geoptimiser_params *gparams, return 1; } -#else /* HAVE_SAVE_TO_PNG */ +#else /* CAN_SAVE_TO_PNG */ STATUS("ERROR: geoptimiser was compiled without GTK and " "cairo support.\n Stretch map will not be saved.\n"); -#endif /* HAVE_SAVE_TO_PNG */ +#endif /* CAN_SAVE_TO_PNG */ } @@ -2822,7 +2822,7 @@ int main(int argc, char *argv[]) strcat(command_line, buffer); } -#ifdef HAVE_SAVE_TO_PNG +#ifdef CAN_SAVE_TO_PNG #if !GLIB_CHECK_VERSION(2,36,0) g_type_init(); #endif |