summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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"