aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-07-08 08:53:57 +0200
committerNRK <nrk@disroot.org>2023-07-08 08:53:57 +0200
commit9b122c82fac0f27f8fbde22b818cfa8befaaf405 (patch)
treee1b9abf70e6f0b6e946b4960bcd78e7eb43799c4 /image.c
parentbfab3a76a420eada64d8fcddea7f5ead4819408f (diff)
downloadnsxiv-9b122c82fac0f27f8fbde22b818cfa8befaaf405.tar.zst
add compiled features into --version output (#462)
a lot of application which allow selecting features at build time seem to output the build config with `--version` or similar (e.g ffmpeg). aside from giving the user information about the feature set the binary was compiled with (in case the user didn't compile it themselves, e.g on a binary distro) it can also (possibly) help when submitting bug reports. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/462 Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
Diffstat (limited to 'image.c')
-rw-r--r--image.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/image.c b/image.c
index 426a05a..e7e4455 100644
--- a/image.c
+++ b/image.c
@@ -33,15 +33,6 @@
#include <libexif/exif-data.h>
#endif
-#ifdef IMLIB2_VERSION
- #if IMLIB2_VERSION >= IMLIB2_VERSION_(1, 8, 0)
- #define HAVE_IMLIB2_MULTI_FRAME 1
- #endif
-#endif
-#ifndef HAVE_IMLIB2_MULTI_FRAME
- #define HAVE_IMLIB2_MULTI_FRAME 0
-#endif
-
#if HAVE_LIBGIF && !HAVE_IMLIB2_MULTI_FRAME
#include <gif_lib.h>
enum { DEF_GIF_DELAY = 75 };