diff --git a/configure b/configure index cf42dd7fde5..60c005db61a 100755 --- a/configure +++ b/configure @@ -6145,8 +6145,6 @@ for engine in $_sorted_engines; do # main engine cat >> engines/engines.mk << EOF -MODULES += engines/$engine/detection - ifdef ENABLE_$j DEFINES += -DENABLE_$j=\$(ENABLE_$j) MODULES += engines/$engine @@ -6168,31 +6166,22 @@ EOF fi done -if [ "${_detection_features_static}" == "false" ]; then - cat >> engines/engines.mk << EOF - -# This build was configured to use detection as a dynamic plugin. -MODULES += detection -EOF -fi - # Name which is suffixed to each detection plugin detectId="_DETECTION" -echo "Creating detection/detection_table.h" -cat > detection/detection_table.h << EOF +echo "Creating engines/detection_table.h" +cat > engines/detection_table.h << EOF /* This file is automatically generated by configure */ /* DO NOT EDIT MANUALLY */ -// This file is being included by "detection/detection.cpp" and "base/plugins.cpp" +// This file is being included by "base/plugins.cpp" EOF for engine in $_sorted_engines; do if test "`get_engine_sub $engine`" = "no" ; then j=`echo $engine | tr '[:lower:]' '[:upper:]'` detectEngine="${j}${detectId}" - cat >> detection/detection_table.h << EOF + cat >> engines/detection_table.h << EOF LINK_PLUGIN($detectEngine) - EOF fi done