aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-05-07 22:50:58 +0000
committerRob Austein <sra@hactrn.net>2013-05-07 22:50:58 +0000
commit61f1084510d3999d864a181e2d39e894458025bc (patch)
treeb0f1d5a1d2485ef7cefdbf73e149ba3ebb61873a /configure
parenta757c5f251a71c414ddbe8975e04414cb3de104a (diff)
Check for argparse.
svn path=/trunk/; revision=5330
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure b/configure
index 91d00863..d8b93fd5 100755
--- a/configure
+++ b/configure
@@ -4588,6 +4588,7 @@ have_pyyaml=no
have_vobject=no
have_django_south=no
have_acceptable_django_south=no
+have_argparse=no
if test "x$PYTHON" != "x"
then
@@ -4686,6 +4687,15 @@ $as_echo_n "checking for Django South 0.7.5 or later... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_acceptable_django_south" >&5
$as_echo "$have_acceptable_django_south" >&6; }
fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for argparse" >&5
+$as_echo_n "checking for argparse... " >&6; }
+ if $PYTHON -c 'import argparse' 2>/dev/null
+ then
+ have_argparse=yes
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_argparse" >&5
+$as_echo "$have_argparse" >&6; }
fi
ok=yes
@@ -4730,8 +4740,8 @@ $as_echo "$as_me: WARNING: The RPKI CA tools require Django 1.3.7 or higher." >&
if test $have_vobject = no
then
ok=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The RPKI CA GUI requires the Python vobject module" >&5
-$as_echo "$as_me: WARNING: The RPKI CA GUI requires the Python vobject module" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The RPKI CA GUI requires the Python vobject module." >&5
+$as_echo "$as_me: WARNING: The RPKI CA GUI requires the Python vobject module." >&2;}
fi
if test $have_acceptable_django_south = no
then
@@ -4739,6 +4749,12 @@ $as_echo "$as_me: WARNING: The RPKI CA GUI requires the Python vobject module" >
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The RPKI CA tools require Django South 0.7.5 or higher." >&5
$as_echo "$as_me: WARNING: The RPKI CA tools require Django South 0.7.5 or higher." >&2;}
fi
+ if test $have_argparse = no
+ then
+ ok=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The RPKI CA tools require the Python argparse module." >&5
+$as_echo "$as_me: WARNING: The RPKI CA tools require the Python argparse module." >&2;}
+ fi
#
# This should be the last test in this group, so that failures get the --disable-ca-tools warning.
#