mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
configure: check for python3-config
This commit is contained in:
parent
0211ab0e30
commit
f1b9bb49e1
@ -82,7 +82,8 @@ elif test "x$enable_python_plugins" != xno; then
|
|||||||
rm -f Python.framework
|
rm -f Python.framework
|
||||||
ln -s $PYTHON_FRAMEWORK Python.framework ])
|
ln -s $PYTHON_FRAMEWORK Python.framework ])
|
||||||
AC_CHECK_PROG(PYTHON_CONFIG_EXISTS, python-config, yes, no)
|
AC_CHECK_PROG(PYTHON_CONFIG_EXISTS, python-config, yes, no)
|
||||||
if test "$PYTHON_CONFIG_EXISTS" = "yes"; then
|
AC_CHECK_PROG(PYTHON3_CONFIG_EXISTS, python3-config, yes, no)
|
||||||
|
if test "$PYTHON_CONFIG_EXISTS" = "yes" || test "$PYTHON3_CONFIG_EXISTS" = "yes"; then
|
||||||
AX_PYTHON_DEVEL
|
AX_PYTHON_DEVEL
|
||||||
AM_CONDITIONAL([BUILD_PYTHON_API], [true])
|
AM_CONDITIONAL([BUILD_PYTHON_API], [true])
|
||||||
AC_DEFINE([HAVE_PYTHON], [1], [Python support])
|
AC_DEFINE([HAVE_PYTHON], [1], [Python support])
|
||||||
|
Loading…
Reference in New Issue
Block a user