From ef6fd93e79be3df2ee33085a8f399e616d624c9d Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 23 Nov 2012 12:29:06 -0500 Subject: 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 --- configure.ac | 25 +------------------------ 1 file changed, 1 insertion(+), 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 # ------------------------------------------------------------------------------ -- cgit v1.2.3-54-g00ecf