build: use AC_CHECK_PROG() instead of AC_CHECK_FILE() for python3-config
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 25 Nov 2019 08:41:08 +0000 (09:41 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 26 Nov 2019 10:01:08 +0000 (11:01 +0100)
commit384a22464c4338cc15adad166721686313193a38
tree4afc3f5fa2214817c4009957ca2d5ad9bb35fcaf
parent296444104b8bff2667a8c9093cb4a0e98641fa10
build: use AC_CHECK_PROG() instead of AC_CHECK_FILE() for python3-config

Commit 9ed02fc793b3 ("build: check for python-config in configure")
breaks cross-compilation because AC_CHECK_FILE() only checks the host
machine. Use AC_CHECK_PROG() instead.

Cc: Joel Savitz <joelsavitz@gmail.com>
Fixes: 9ed02fc793b3 ("build: check for python-config in configure")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configure.ac