--- configure.ac (Asterisk 13.20) +++ configure.ac (working copy) @@ -260 +260 @@ -AC_PATH_PROG([PYTHON], [python], :) +AC_PATH_PROGS([PYTHON], [python2.7 python], :) @@ -2251 +2251,4 @@ -AST_PKG_CONFIG_CHECK([PYTHONDEV], [python]) +AST_PKG_CONFIG_CHECK([PYTHONDEV], [python-2.7]) +if test "${PBX_PYTHONDEV}" != 1; then + AST_PKG_CONFIG_CHECK([PYTHONDEV], [python]) +fi