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.
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)