The default for --enable-dynamic is now auto, meaning yes if --enable-modules and no otherwise.
-enable-dynamic
auto
yes
--enable-modules
no