| |
@@ -39,23 +39,6 @@
|
| |
CPPFLAGS="$save_CPPFLAGS"
|
| |
])
|
| |
|
| |
-
|
| |
- dnl Checks for a couple of functions we use that may not be defined
|
| |
- 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"
|
| |
- save_LIBS="$LIBS"
|
| |
- CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
|
| |
- LIBS="$LIBS $PYTHON_LIBS"
|
| |
-
|
| |
- AC_CHECK_FUNCS([PyErr_NewExceptionWithDoc])
|
| |
-
|
| |
- CPPFLAGS="$save_CPPFLAGS"
|
| |
- LIBS="$save_LIBS"
|
| |
- ])
|
| |
-
|
| |
dnl Clean variables after detection of python
|
| |
AC_DEFUN([SSS_CLEAN_PYTHON_VARIABLES],
|
| |
[
|
| |
Function PyErr_NewExceptionWithDoc was added in python 2.7.0
and we use fallback implementation for older versions of python.
Previously, we used detection of PyErr_NewExceptionWithDoc at configure
time; but it does not work well in case of python2.6 and python3.x
Resolves:
https://pagure.io/SSSD/sssd/issue/3656