autotools build system should always run %{autogen}

So in case we have to modify the configure-commands, it should be:

config:
  configure-commands:
  - '%{autogen}'
  - '%{configure} --enable-foo'

instead only

config:
  configure-commands:
  - '%{configure} --enable-foo'

See https://buildstream.gitlab.io/buildstream/elements/autotools.html#module-elements.autotools

Edited by Javier Jardón