From e4796d5ed8e08be7f3767e12753389b18a2ce9f0 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 9 Feb 2015 19:38:42 +0100 Subject: UTIL: Remove python wrapper sss_python_unicode_from_string The function PyUnicode_FromString is available in python >= 2.6 Reviewed-by: Stephen Gallagher --- src/external/python.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/external/python.m4') 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 ]]) CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" -- cgit