anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0049-build-sys-restore-detection-of-sphinx.patch

a4b143
From 2127292995c93c4324cc15a8034e009fb78eb5a5 Mon Sep 17 00:00:00 2001
a4b143
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
a4b143
Date: Fri, 27 Sep 2013 08:24:00 +0200
a4b143
Subject: [PATCH] build-sys: restore detection of sphinx
a4b143
a4b143
---
a4b143
 configure.ac | 2 ++
a4b143
 1 file changed, 2 insertions(+)
a4b143
a4b143
diff --git a/configure.ac b/configure.ac
a4b143
index d3f853f..c7f4f1b 100644
a4b143
--- a/configure.ac
a4b143
+++ b/configure.ac
a4b143
@@ -185,6 +185,7 @@ AS_IF([test "x$enable_python_devel" != "xno"], [
a4b143
                   [have_python_devel=no])])
a4b143
       AS_IF([test "x$have_python_devel" = xno -a "x$enable_python_devel" = xyes],
a4b143
             [AC_MSG_ERROR([*** python-devel support requested but libraries not found])])
a4b143
+      AC_PATH_PROGS(SPHINX_BUILD, sphinx-build-${PYTHON_VERSION} sphinx-build)
a4b143
 ])
a4b143
 AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
a4b143
 
a4b143
@@ -1051,6 +1052,7 @@ AC_MSG_RESULT([
a4b143
         SysV rc?.d directories:  ${SYSTEM_SYSVRCND_PATH}
a4b143
         Build Python:            ${PYTHON}
a4b143
         Installation Python:     ${PYTHON_BINARY}
a4b143
+        sphinx binary:           ${SPHINX_BUILD}
a4b143
         firmware path:           ${FIRMWARE_PATH}
a4b143
         PAM modules dir:         ${with_pamlibdir}
a4b143
         PAM configuration dir:   ${with_pamconfdir}