build: check for python-config in configure
build: check for python-config in configure

Currently, configure succeeds when python is installed without its
development components, i.e. python-config and headers. The subsequent
make will fail when gcc cannot locate Python.h.

This patch fixes that behavior by throwing an error at configure-time if
python-config cannot be found.

Signed-off-by: Joel Savitz <643af1b3647e64b5e622e4abe536a915e902255d@gmail.com>
Signed-off-by: Bartosz Golaszewski <e5d45fddd9040473413b909b802f629a971ad04c@baylibre.com>

brgl/libgpiod,brgl/libgpiod,brgl/libgpiod,brgl/libgpiod