freeswitch: don't check for distutils
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 6 Nov 2021 11:25:54 +0000 (12:25 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 6 Nov 2021 11:25:56 +0000 (12:25 +0100)
We're not using distutils, so don't check for it. This fixes #704.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch/patches/460-remove-python-configure-checks.patch

index ccbeddaf7a3f10b0983db462d64c595e096c449f..79f8e267044a61ce70efcec1bd9e8cfcb88d4356 100644 (file)
@@ -1,6 +1,25 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1865,24 +1865,12 @@ then
+@@ -1853,36 +1853,24 @@ then
+               fi
+               AC_MSG_RESULT([$PYTHON3_VER])
+-              AC_MSG_CHECKING([for python3 distutils])
+-              python3_result="`$PYTHON3 -c 'import distutils;' 2>&1`"
+-              if test -z "$python3_result" ; then
++              #AC_MSG_CHECKING([for python3 distutils])
++              #python3_result="`$PYTHON3 -c 'import distutils;' 2>&1`"
++              #if test -z "$python3_result" ; then
+                       python3_has_distutils="yes"
+-              else
+-                      python3_has_distutils="no"
+-              fi
+-              AC_MSG_RESULT([$python3_has_distutils])
++              #else
++              #       python3_has_distutils="no"
++              #fi
++              #AC_MSG_RESULT([$python3_has_distutils])
                if test "$python3_has_distutils" != "no" ; then
                        AC_MSG_CHECKING([location of python3 site-packages])