aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b4d4f75..3ec9ccf 100644
--- a/Makefile
+++ b/Makefile
@@ -11,12 +11,12 @@ LIBS := -lImlib2 -lX11 -lXft
# optional dependencies:
# giflib: gif animations
-ifeq ($(WITH_GIFLIB), 1)
+ifndef NO_GIFLIB
CPPFLAGS += -DHAVE_GIFLIB
LIBS += -lgif
endif
# libexif: jpeg auto-orientation, exif thumbnails
-ifeq ($(WITH_LIBEXIF), 1)
+ifndef NO_LIBEXIF
CPPFLAGS += -DHAVE_LIBEXIF
LIBS += -lexif
endif