aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2015-07-01 16:28:45 -0400
committerTom Yu <tlyu@mit.edu>2015-07-09 08:37:59 -0400
commitea62dd834f343b2dddea81c8295f2f8876c83090 (patch)
treea82a5f4a2e0e197b14313aa073a653b1dcd53de5 /src/configure.in
parentbe20a5f5cee8d6c4072d1b81712520dbf9f6eefd (diff)
downloadkrb5-ea62dd834f343b2dddea81c8295f2f8876c83090.zip
krb5-ea62dd834f343b2dddea81c8295f2f8876c83090.tar.gz
krb5-ea62dd834f343b2dddea81c8295f2f8876c83090.tar.bz2
Add test suite for KDB principal flags
Test kadmin.local reading of principal flag specifiers, kdc.conf setting of default_principal_flags, and kadm5.acl restrictions. Only really tests one flag at a time. Also start requiring Python 2.5 for the test suite. It's been around for long enough, and some syntax features such as conditional expressions are useful. ticket: 8215 (new) subject: Unify KDB principal flag specifiers target_version: 1.14
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index d3938fc..b2b1d70 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1110,7 +1110,8 @@ AC_CHECK_PROG(PYTHON,python,python)
HAVE_PYTHON=no
if test x"$PYTHON" != x; then
# k5test.py requires python 2.4 (for the subprocess module).
- vercheck="import sys;sys.exit((sys.hexversion < 0x2040000) and 1 or 0)"
+ # Some code needs python 2.5 (for syntax like conditional expressions).
+ vercheck="import sys;sys.exit((sys.hexversion < 0x2050000) and 1 or 0)"
if python -c "$vercheck"; then
HAVE_PYTHON=yes
fi