mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Continue build even if python-config doesn't exist
It's annoying that the configure script stops with an error if python-config doesn't exist. It's no fatal error, so the configure should disable the python components and continue.
This commit is contained in:
parent
9749c31fa7
commit
679ae1c7f2
1 changed files with 4 additions and 2 deletions
|
|
@ -348,9 +348,11 @@ if test "$build_python" = "yes"; then
|
|||
if test -z "$pythonlibs" ; then
|
||||
echo "Unable to determine python libraries! Probably python-config is not"
|
||||
echo "available on this system. Please, use --with-pythonlibs options."
|
||||
exit 1
|
||||
echo "Python components are disabled in this build."
|
||||
build_python="no"
|
||||
else
|
||||
PYTHON_LIBS="$pythonlibs"
|
||||
fi
|
||||
PYTHON_LIBS="$pythonlibs"
|
||||
fi
|
||||
AC_SUBST(PYTHON_LIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue