В Gentoo это работает:
$ phpize $ aclocal && libtoolize --force && autoreconf $ ./configure bbbb#again
Может работать и в Ubuntu.