'Not needed usually, configure should be already there'

def autoreconf(self, spec, prefix):

    if os.path.exists(self.configure_abs_path):
        return
    autotools = ['m4', 'autoconf', 'automake', 'libtool']
    missing = [x for x in autotools if (x not in spec)]
    if missing:
        msg = 'Cannot    generate    configure:    missing    dependencies    {0}'
        raise RuntimeError(msg.format(missing))
    tty.msg('Configure    script    not    found:    trying    to    generate    it')
    tty.warn('*********************************************************')
    tty.warn('*    If    the    default    procedure    fails,    consider    implementing    *')
    tty.warn('*                                a    custom    AUTORECONF    phase    in    the    package                            *')
    tty.warn('*********************************************************')
    with working_dir(self.configure_directory):
        m = inspect.getmodule(self)
        m.libtoolize()
        m.aclocal()
        autoreconf_args = ['-ivf']
        if ('pkg-config' in spec):
            autoreconf_args += ['-I', join_path(spec['pkg-config'].prefix, 'share', 'aclocal')]
        autoreconf_args += self.autoreconf_extra_args
        m.autoreconf(*autoreconf_args)
