summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-09 19:38:42 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-25 08:38:29 +0100
commite4796d5ed8e08be7f3767e12753389b18a2ce9f0 (patch)
tree7eed094d964d601a7cd1d6b79849c51ccf39b684 /src/external
parent03e9d9d6c1d8768a6f70217bababd82de29bc770 (diff)
downloadsssd-e4796d5ed8e08be7f3767e12753389b18a2ce9f0.tar.gz
sssd-e4796d5ed8e08be7f3767e12753389b18a2ce9f0.tar.xz
sssd-e4796d5ed8e08be7f3767e12753389b18a2ce9f0.zip
UTIL: Remove python wrapper sss_python_unicode_from_string
The function PyUnicode_FromString is available in python >= 2.6 Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/external')
-rw-r--r--src/external/python.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/src/external/python.m4 b/src/external/python.m4
index ac427268d..d59233aa0 100644
--- a/src/external/python.m4
+++ b/src/external/python.m4
@@ -54,7 +54,7 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
dnl Checks for a couple of functions we use that may not be defined
-dnl in some older python versions used e.g. on RHEL5
+dnl in some older python (< 2.6) versions used e.g. on RHEL6
AC_DEFUN([AM_CHECK_PYTHON_COMPAT],
[AC_REQUIRE([AM_CHECK_PYTHON_HEADERS])
save_CPPFLAGS="$CPPFLAGS"
@@ -63,7 +63,6 @@ AC_DEFUN([AM_CHECK_PYTHON_COMPAT],
LIBS="$LIBS $PYTHON_LIBS"
AC_CHECK_FUNCS([PyErr_NewExceptionWithDoc])
- AC_CHECK_DECLS([PyUnicode_FromString], [], [], [[#include <Python.h>]])
CPPFLAGS="$save_CPPFLAGS"
LIBS="$save_LIBS"