diff --git a/configure.ac b/configure.ac index 0626a16f58..fbd9392623 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,9 +1340,12 @@ if test "x$enable_pfring" = "xyes"; then AM_CONDITIONAL([BUILD_PFRING], [true]) + pfring_comment="" else AM_CONDITIONAL([BUILD_PFRING], [false]) + pfring_comment="#" fi + AC_SUBST([pfring_comment]) # AF_PACKET support AC_ARG_ENABLE(af-packet, diff --git a/suricata.yaml.in b/suricata.yaml.in index d0e4bcd3c9..de46b1f253 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -80,7 +80,8 @@ stats: # Plugins -- Experimental -- specify the filename for each plugin shared object plugins: -# - /path/to/plugin.so + @pfring_comment@- @prefix@/lib/@PACKAGE_NAME@/pfring.so +# - /path/to/plugin.so # Configure the type of alert (and other) logging you would like. outputs: