From: Tomek Mrugalski Date: Thu, 15 Aug 2019 14:15:00 +0000 (+0200) Subject: [#721,!480] --with-site-packages must be specified with parameters. X-Git-Tag: Kea-1.6.0~41^2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66332000ff618fbb41656981c7bbf3bb940066fe;p=thirdparty%2Fkea.git [#721,!480] --with-site-packages must be specified with parameters. --- 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"