]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#721,!480] --with-site-packages must be specified with parameters.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 15 Aug 2019 14:15:00 +0000 (16:15 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 15 Aug 2019 14:15:00 +0000 (16:15 +0200)
configure.ac

index 3812194afd7566ad8842c9516ce745f674d679c9..9b78585611d11e2e4492ea343ac65a70f7ca6d85 100644 (file)
@@ -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"