Skip to content
Snippets Groups Projects
Commit 8ae95f12 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build: always define HAVE_PIP macro

parent db5cac45
No related branches found
No related tags found
No related merge requests found
...@@ -28,15 +28,12 @@ AS_IF([test "x$enable_python" != "xno"], [ ...@@ -28,15 +28,12 @@ AS_IF([test "x$enable_python" != "xno"], [
AS_IF([test -n "$PYTHON"],[ AS_IF([test -n "$PYTHON"],[
AC_CHECK_PROGS([CYTHON], [cython]) AC_CHECK_PROGS([CYTHON], [cython])
AS_IF([test -z "$CYTHON"],[AC_MSG_WARN([Cython not found - continuing without python support])]) AS_IF([test -z "$CYTHON"],[AC_MSG_WARN([Cython not found - continuing without python support])])
AC_CHECK_PROGS([PIP], [pip3])
AS_IF([test -z "$PIP"],[AC_MSG_WARN([pip not found - continuing without python uninstall support])])
]) ])
]) ])
AM_CONDITIONAL([USE_CYTHON], [test -n "$CYTHON"]) AM_CONDITIONAL([USE_CYTHON], [test -n "$CYTHON"])
dnl Check for pip support (uninstall) AM_CONDITIONAL([HAVE_PIP], [test -n "$PIP"])
AS_IF([test -n "$PYTHON"],[
AC_CHECK_PROGS([PIP], [pip3])
AS_IF([test -z "$PIP"],[AC_MSG_WARN([pip not found - continuing without python uninstall support])])
AM_CONDITIONAL([HAVE_PIP], [test -n "$PIP"])
])
case "${host_os}" in case "${host_os}" in
"") "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment