From 66332000ff618fbb41656981c7bbf3bb940066fe Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Thu, 15 Aug 2019 16:15:00 +0200 Subject: [PATCH] [#721,!480] --with-site-packages must be specified with parameters. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 3812194afd..9b78585611 100644 --- a/configure.ac +++ b/configure.ac @@ -1428,6 +1428,9 @@ if test "x$enable_shell" != xno -o "x$enable_generate_docs" != xno; then [place to install Kea Python module]), [pythondir=$withval; pkgpythondir=${pythondir}/$PACKAGE_NAME]) + if test "$pythondir" = "yes"; then + AC_MSG_ERROR([If enabled, site-packages must be specified explicitly, e.g. --site-packages=/usr/lib/python3/dist-packages]) + fi # pkgpythondir needs to be expanded saved_prefix="$prefix" -- 2.47.2