diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -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. # |