How to prepare configure.ac

I got it to create the configure script using the following tools:
 
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure