diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-10-05 13:48:21 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-10-09 09:38:47 +0200 |
commit | f1b9bb49e1336cd16f063b756e222be2b064e08d (patch) | |
tree | b9c927523d4f5ace1074b89f4243e0096cf31170 | |
parent | 0211ab0e3082d88cc8b904d2669a5f500ca474f6 (diff) | |
download | profani-tty-f1b9bb49e1336cd16f063b756e222be2b064e08d.tar.gz |
configure: check for python3-config
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fa5838ed..2f92166e 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,8 @@ elif test "x$enable_python_plugins" != xno; then rm -f Python.framework ln -s $PYTHON_FRAMEWORK Python.framework ]) 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 AM_CONDITIONAL([BUILD_PYTHON_API], [true]) AC_DEFINE([HAVE_PYTHON], [1], [Python support]) |