All you should really know about Autoconf and Automake

Tagged:  •    •  

So, here is the shortest possible tutorial on the autotools.

The problem with autotools is that it is used for complicated things, and people cut-and-paste complicated things even when they ought to be simple. 99% of people just need a way to access .pc files and generate juicy Makefiles; the portability part is taken care by glib, sdl and so on.

You can use then the following basic autotools setup, which is just 9 lines. You can start from here and add more stuff (including libtool).


AC_INIT([package], [version])
AM_INIT_AUTOMAKE([foreign subdir-objects])

Syndicate content

User login