./configure;make;make install

To do anything more advanced, read the Autoconf (configure) documentation.
