Commit f0bcadf CONFIGURE: drop unused check

2 files Authored by lslebodn a month ago , Committed by jhrozek a month ago ,
CONFIGURE: drop unused check

Related to: https://pagure.io/SSSD/sssd/issue/3656

Reviewed-by: Sumit Bose <sbose@redhat.com>

    
 1 @@ -329,7 +329,6 @@
 2       AM_PYTHON_CONFIG([python2])
 3       AM_CHECK_PYTHON_HEADERS([],
 4                               AC_MSG_ERROR([Could not find python2 headers]))
 5 -     AM_CHECK_PYTHON_COMPAT
 6   
 7       AC_SUBST([py2execdir], [$pyexecdir])
 8       AC_SUBST([python2dir], [$pythondir])
 9 @@ -356,7 +355,6 @@
10       AM_PYTHON_CONFIG([python3])
11       AM_CHECK_PYTHON_HEADERS([],
12                               AC_MSG_ERROR([Could not find python3 headers]))
13 -     AM_CHECK_PYTHON_COMPAT
14   
15       AC_SUBST([py3execdir], [$pyexecdir])
16       AC_SUBST([python3dir], [$pythondir])
 1 @@ -39,23 +39,6 @@
 2       CPPFLAGS="$save_CPPFLAGS"
 3   ])
 4   
 5 - 
 6 - dnl Checks for a couple of functions we use that may not be defined
 7 - dnl in some older python (< 2.6) versions used e.g. on RHEL6
 8 - AC_DEFUN([AM_CHECK_PYTHON_COMPAT],
 9 - [
10 -     AC_REQUIRE([AM_CHECK_PYTHON_HEADERS])
11 -     save_CPPFLAGS="$CPPFLAGS"
12 -     save_LIBS="$LIBS"
13 -     CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14 -     LIBS="$LIBS $PYTHON_LIBS"
15 - 
16 -     AC_CHECK_FUNCS([PyErr_NewExceptionWithDoc])
17 - 
18 -     CPPFLAGS="$save_CPPFLAGS"
19 -     LIBS="$save_LIBS"
20 - ])
21 - 
22   dnl Clean variables after detection of python
23   AC_DEFUN([SSS_CLEAN_PYTHON_VARIABLES],
24   [