build: check for python-config in configure
authorJoel Savitz <joelsavitz@gmail.com>
Fri, 4 Oct 2019 16:11:26 +0000 (12:11 -0400)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 9 Oct 2019 05:05:47 +0000 (07:05 +0200)
commit9ed02fc793b332773658f3ba09f45a058e75b0a8
treefc7e495e5ea9238d946167cce7caa5e095e44f88
parent1395cf9edfaaf10e505d002d937086d9008b3195
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 <joelsavitz@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configure.ac