mirror of
https://github.com/OISF/suricata.git
synced 2026-10-12 02:07:10 +00:00
autoconf/python: check for distutils
Require distutils to install the Python tools. Update the logic to only install suricatactl (and suricatasc) if Python and distutils are found. Suricata-Update will only be installed if bundled, and python-distutils and python-yaml are found.
This commit is contained in:
@@ -4,6 +4,7 @@ EXTRA_DIST = setup.py \
|
||||
suricatasc
|
||||
|
||||
if HAVE_PYTHON
|
||||
if HAVE_PYTHON_DISTUTILS
|
||||
all-local:
|
||||
cd $(srcdir) && \
|
||||
$(HAVE_PYTHON) setup.py build --build-base $(abs_builddir)
|
||||
@@ -30,3 +31,4 @@ clean-local:
|
||||
distclean-local:
|
||||
rm -f version
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user