aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-11-15 00:40:17 +0000
committerRob Austein <sra@hactrn.net>2012-11-15 00:40:17 +0000
commitd1e6cbb3d3c16ba84f2c6c0ce0bf647805186bc2 (patch)
tree36aa70120ff22f1d6516dbe2d436e97a26fadae0
parent508b655a6eb079e1d10cd40a326f38268fb2955b (diff)
Reorder tests to make sure user gets right warnings. See #348.
svn path=/trunk/; revision=4870
-rw-r--r--configure.ac11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index dda48308..ab35a2b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,15 +347,18 @@ case $enable_ca_tools in
ok=no
AC_MSG_WARN([The RPKI CA GUI requires the Python vobject module])
fi
- if test $ok = no
- then
- AC_MSG_WARN([If you do not wish to install the RPKI CA tools, please specify --disable-ca-tools as an argument to this configure script.])
- fi
if test $have_acceptable_django_south = no
then
ok=no
AC_MSG_WARN([The RPKI CA tools require Django South 0.7.6 or higher.])
fi
+ #
+ # This should be the last test in this group, so that failures get the --disable-ca-tools warning.
+ #
+ if test $ok = no
+ then
+ AC_MSG_WARN([If you do not wish to install the RPKI CA tools, please specify --disable-ca-tools as an argument to this configure script.])
+ fi
;;
no) build_ca_tools=no
;;