Commit cbec7b15 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Show exif flag in manpage / --version

parent 4252f6eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -57,6 +57,9 @@ endif
ifeq (${exif},1)
	CFLAGS += -DHAVE_LIBEXIF
	LDLIBS += -lexif
	MAN_EXIF = enabled
else
	MAN_EXIF = disabled
endif


+1 −0
Original line number Diff line number Diff line
@@ -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} > $@

+1 −1
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -792,6 +792,10 @@ static void show_version(void)
		"debug "
#endif

#ifdef HAVE_LIBEXIF
		"exif "
#endif

#if _FILE_OFFSET_BITS == 64
		"stat64 "
#endif