summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-03-30 13:25:57 +0100
committerArthur de Jong <arthur@arthurdejong.org>2013-03-30 13:25:57 +0100
commit6ceb1dfc17001a4fcda2875a06e2321121e98f41 (patch)
treee8864d9bb05553739e74fe19ea7f3d5a8b904077
parenta47b20f14284beab2239d5ddfb1fdf870f68fcdc (diff)
Give an error when the Python interpreter is missing
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4106968..6fdd386 100644
--- a/configure.ac
+++ b/configure.ac
@@ -801,7 +801,7 @@ fi
if test "x$enable_pynslcd" = "xyes" || test "x$enable_utils" = "xyes"
then
# check Python interpreter
- AM_PATH_PYTHON(2.5)
+ AM_PATH_PYTHON(2.5,, AC_MSG_ERROR([Python is required]))
fi
AM_CONDITIONAL([NSS_FLAVOUR_GLIBC], [test "x${with_nss_flavour}" = xglibc])