Run aclocal before configure.