autotools: Fix the manpages flag in configure.ac

Running ./configure --disable-man-pages is invalid, despite being
reported as valid by the configure script. The actual flag should
be --disable-manpages. This commit corrects this behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=707452
This commit is contained in:
Ikey Doherty 2013-09-04 13:00:29 +01:00 committed by Stef Walter
parent cbc8e6965e
commit 43997c1cfd

View File

@ -75,7 +75,7 @@ AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
# Manual pages
AC_ARG_ENABLE(manpages,
AC_HELP_STRING([--disable-man-pages], [Build manual pages]))
AC_HELP_STRING([--disable-manpages], [Build manual pages]))
if test "$enable_manpages" != "no"; then
enable_manpages="yes"
AC_PATH_PROG([XSLTPROC], [xsltproc])