summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-20 09:20:35 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-28 20:04:17 -0500
commit603c0b7b14a6b59a87ede20b2fdb6765e773c0ed (patch)
tree82da52b91df3e23ce5b615d86624fa326e039302 /configure.ac
parent2c07646764384545e5303222729d5ff93dec4347 (diff)
build-sys: make sphinx support uncoditional
It needs to be invoked explicitly, so there's no need to check explicitly.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 5737c65257..397ce82e20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,23 +176,11 @@ AS_IF([test "x$with_python" != "xno"], [
PYTHON_LIBS="`$PYTHON_CONFIG --ldflags`"
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
+ AC_PATH_PROGS(SPHINX_BUILD, sphinx-build-${PYTHON_VERSION} sphinx-build)
])
])
AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
-AC_ARG_ENABLE(sphinx, AS_HELP_STRING([--enable-sphinx],
- [use sphinx to build documentation for python-systemd]))
-AS_IF([test "x$enable_sphinx" = "xyes"], [
- AC_PATH_PROGS(SPHINX_BUILD, sphinx-build-${PYTHON_VERSION} sphinx-build)
- AS_IF([test -z "$SPHINX_BUILD"], [
- AC_MSG_ERROR([*** sphinx build requested, but sphinx-build not found])
- ])
- AS_IF([test "x$have_python_devel" != "xyes"], [
- AC_MSG_ERROR([*** sphinx build requested, but python support not enabled])
- ])
-])
-AM_CONDITIONAL(ENABLE_SPHINX, [test "x$enable_sphinx" = "xyes"])
-
# ------------------------------------------------------------------------------
AC_SEARCH_LIBS([mq_open], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
@@ -915,7 +903,6 @@ AC_MSG_RESULT([
Python Headers: ${have_python_devel}
man pages: ${have_manpages}
gtk-doc: ${enable_gtk_doc}
- sphinx documentation: ${enable_sphinx}
Split /usr: ${enable_split_usr}
SysV compatibility: ${SYSTEM_SYSV_COMPAT}