aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-11-26 11:37:54 -0800
committerDiego Biurrun <diego@biurrun.de>2013-11-26 13:49:06 -0800
commit92f0abb27fe26efdf33bec51d1f583e46036ac74 (patch)
treebcf22d0f361912810320b0297a9bc803b48c1ab7
parent4da3f410d176dd1a55d7cbe5d2e2ead342027f13 (diff)
downloadffmpeg-92f0abb27fe26efdf33bec51d1f583e46036ac74.tar.gz
build: Check for pod2man instead of perl for manual page generation
Some systems provide Perl without pod2man.
-rwxr-xr-xconfigure6
-rw-r--r--doc/Makefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 450c572f9a..eddf40b9b1 100755
--- a/configure
+++ b/configure
@@ -1124,7 +1124,7 @@ CONFIG_LIST="
memalign_hack
network
nonfree
- perl
+ pod2man
pic
rdft
runtime_cpudetect
@@ -1974,7 +1974,7 @@ avserver_select="ffm_muxer rtp_protocol rtsp_demuxer"
avserver_extralibs='$ldl'
# documentation
-perl_deps="doc"
+pod2man_deps="doc"
texi2html_deps="doc"
# default parameters
@@ -3881,7 +3881,7 @@ if check_pkg_config sdl SDL_events.h SDL_PollEvent; then
enable sdl
fi
-perl -v > /dev/null 2>&1 && enable perl || disable perl
+pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
check_header linux/fb.h
diff --git a/doc/Makefile b/doc/Makefile
index 58fef0b798..fb15896fac 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -11,7 +11,7 @@ HTMLPAGES = $(AVPROGS-yes:%=doc/%.html) \
doc/nut.html \
doc/platform.html \
-DOCS-$(CONFIG_PERL) += $(MANPAGES) $(PODPAGES)
+DOCS-$(CONFIG_POD2MAN) += $(MANPAGES) $(PODPAGES)
DOCS-$(CONFIG_TEXI2HTML) += $(HTMLPAGES)
DOCS = $(DOCS-yes)
@@ -59,7 +59,7 @@ OBJDIRS += doc/examples
doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
$(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
-install-progs-$(CONFIG_PERL): install-man
+install-progs-$(CONFIG_POD2MAN): install-man
install-progs-$(CONFIG_TEXI2HTML): install-doc
install-doc: $(HTMLPAGES)