complete process of automatically generating a configure script (packages m4, automake, autoconf needed):
aclocal automake autoconf
build from configure script:
./configure make make install