From: Tobias Brunner Date: Fri, 28 Feb 2020 09:39:15 +0000 (+0100) Subject: configure: Make sure Python is available for static builds X-Git-Tag: 5.8.3rc1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1966f4332b8a44e7cb6b430cc04d97e9578b460f;p=thirdparty%2Fstrongswan.git configure: Make sure Python is available for static builds We need Python to create files that reference the plugin constructors. Without it, empty files are created and plugins can't be loaded. Fixes #3349. --- diff --git a/configure.ac b/configure.ac index 2836a500e7..caaf667a04 100644 --- a/configure.ac +++ b/configure.ac @@ -1379,6 +1379,9 @@ AC_CACHE_CHECK( ) if test "x$ss_cv_static_plugin_constructors" = xyes; then static_plugin_constructors=true + if test "$PYTHON" = ":"; then + AC_MSG_FAILURE([Python is required to resolve plugin constructors statically]) + fi fi # ===============================================