This is all not needed anymore. In particular, remove all configure switches except --enable-libavfilter.
--help