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:
Takashi Iwai 2007-08-22 11:41:58 +02:00
parent 9749c31fa7
commit 679ae1c7f2

View file

@ -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
fi
echo "Python components are disabled in this build."
build_python="no"
else
PYTHON_LIBS="$pythonlibs"
fi
fi
AC_SUBST(PYTHON_LIBS)