build: use --enable-gtk-doc instead of our custom --with-docs

This commit is contained in:
Aleksander Morgado
2013-05-23 13:16:54 +02:00
parent 3ed1cb2e1d
commit e134a81a87
2 changed files with 2 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-udev-base-dir="$$dc_install_base" \
--with-systemdsystemunitdir="$$dc_install_base/$(SYSTEMD_UNIT_DIR)" \
--with-tests=yes \
--with-docs=yes
--enable-gtk-doc=yes
INTLTOOL_FILES = \
intltool-extract.in \

View File

@@ -24,18 +24,6 @@ LT_INIT
dnl
dnl Documentation
dnl
AC_ARG_WITH(docs, AS_HELP_STRING([--with-docs], [Build ModemManager documentation]))
AM_CONDITIONAL(WITH_DOCS, test "x$with_docs" = "xyes")
case $with_docs in
yes)
enable_gtk_doc=yes
;;
*)
with_docs=no
;;
esac
GTK_DOC_CHECK(1.0)
dnl
@@ -290,7 +278,7 @@ echo "
PPP-enabled tests: ${have_pppd_headers}
PolicyKit support: ${with_polkit}
Documentation: ${with_docs}
Documentation: ${enable_gtk_doc}
MBIM support: ${with_mbim}
QMI support: ${with_qmi}
Newest QMI commands: ${with_newest_qmi_commands}