summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-23 12:29:06 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-23 12:29:06 -0500
commitef6fd93e79be3df2ee33085a8f399e616d624c9d (patch)
treec7c71f6dcc8c4198957147f5fd40f3f0b3162038 /configure.ac
parent71c86e677d8b6991ad360306ec574fedab737cb8 (diff)
configure.ac: remove unecessary check for python
The original checks for python were to build some man pages and for systemd-python. These checks are no longer relevant. There still is a dependency on python for tests but this is checked by test/rules-test.sh which tests for python or skips. Also, there is a dependency on perl for both tests and hwdb. These checks can be reintroduced at a future date when re revisit both. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac25
1 files changed, 1 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac
index 9da8ba733b..5b80a42804 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,30 +97,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX librt not fou
AC_SEARCH_LIBS([sqrt], [m], [], [AC_MSG_ERROR([*** POSIX libm not found])])
-# we use python to build the man page index, and for systemd-python
-have_python=no
-have_python_devel=no
-
-AC_ARG_WITH([python],
- [AS_HELP_STRING([--without-python], [Disable building the man page index and systemd-python (default: test)])])
-
-AS_IF([test "x$with_python" != "xno"], [
- AM_PATH_PYTHON(,, [:])
- AS_IF([test "$PYTHON" != :], [have_python=yes])
-])
-AM_CONDITIONAL([HAVE_PYTHON], [test "$have_python" = "yes"])
-
-AS_IF([test "x$with_python" != "xno"], [
- AC_PATH_PROG(PYTHON_CONFIG, python${PYTHON_VERSION}-config)
- AS_IF([test -n "$PYTHON_CONFIG"], [
- have_python_devel=yes
- PYTHON_CFLAGS="`$PYTHON_CONFIG --cflags`"
- PYTHON_LIBS="`$PYTHON_CONFIG --ldflags`"
- AC_SUBST(PYTHON_CFLAGS)
- AC_SUBST(PYTHON_LIBS)
- ])
-])
-AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
+# TODO: the old python checks are irrelevant, but we do need python and perl for tests
# ------------------------------------------------------------------------------