diff options
-rw-r--r-- | config.mk | 3 | ||||
-rw-r--r-- | man/Makefile | 1 | ||||
-rw-r--r-- | man/feh.pre | 2 | ||||
-rw-r--r-- | src/options.c | 4 |
4 files changed, 9 insertions, 1 deletions
@@ -57,6 +57,9 @@ endif ifeq (${exif},1) CFLAGS += -DHAVE_LIBEXIF LDLIBS += -lexif + MAN_EXIF = enabled +else + MAN_EXIF = disabled endif diff --git a/man/Makefile b/man/Makefile index f03b9d7..1927963 100644 --- a/man/Makefile +++ b/man/Makefile @@ -11,6 +11,7 @@ all: ${TARGETS} -e 's/\$$DATE\$$/'"$$(date '+%B %d, %Y')"/g \ -e 's/\$$MAN_CURL\$$/${MAN_CURL}/' \ -e 's/\$$MAN_DEBUG\$$/${MAN_DEBUG}/' \ + -e 's/\$$MAN_EXIF\$$/${MAN_EXIF}/' \ -e 's/\$$MAN_XINERAMA\$$/${MAN_XINERAMA}/' \ < ${@:.1=.pre} > $@ diff --git a/man/feh.pre b/man/feh.pre index 42c6caa..08a151f 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -25,7 +25,7 @@ $VERSION$ .Pp . Compile-time switches: libcurl support $MAN_CURL$, Xinerama support -$MAN_XINERAMA$$MAN_DEBUG$ +$MAN_XINERAMA$, builtin EXIF support $MAN_EXIF$$MAN_DEBUG$ . . .Sh DESCRIPTION diff --git a/src/options.c b/src/options.c index 4c0ad5d..5f94a64 100644 --- a/src/options.c +++ b/src/options.c @@ -792,6 +792,10 @@ static void show_version(void) "debug " #endif +#ifdef HAVE_LIBEXIF + "exif " +#endif + #if _FILE_OFFSET_BITS == 64 "stat64 " #endif |