install -m 770 -d "$(DESTDIR)$(e_localstatedir)"
install-rules:
-if HAVE_SURICATA_UPDATE
+if INSTALL_SURICATA_UPDATE
LD_LIBRARY_PATH=$(libdir) $(DESTDIR)$(bindir)/suricata-update \
--suricata $(DESTDIR)$(bindir)/suricata \
--suricata-conf $(DESTDIR)$(sysconfdir)/suricata/suricata.yaml \
AC_CHECK_FILE([$srcdir/suricata-update/setup.py], [
have_suricata_update="yes"], [])
fi
- AM_CONDITIONAL([HAVE_SURICATA_UPDATE],
- [test "x$have_suricata_update" != "xno"])
if test "$have_suricata_update" = "yes"; then
if test "$have_python_yaml" != "yes"; then
install_suricata_update="yes"
fi
+ AM_CONDITIONAL([INSTALL_SURICATA_UPDATE],
+ [test "x$install_suricata_update" = "xyes"])
+
# libhtp
AC_ARG_ENABLE(non-bundled-htp,
AS_HELP_STRING([--enable-non-bundled-htp], [Enable the use of an already installed version of htp]),[enable_non_bundled_htp=$enableval],[enable_non_bundled_htp=no])