Refactoring build system to use Autotools
Question
Over the past couple of days I have been reading into using autotools to build my project instead of the Makefiles I have pieced together over the past couple of months. Unfortunately I have not found an example that gave me enough insight towards how my project structure is currently.
I have three libraries that are included in the application code of my project. I am looking for the best way to use a single configure script to make (and install) the application, and libraries.
Solution
Here are a few I found that don't look to bad:
- http://www.lrde.epita.fr/~adl/autotools.html
- http://www.developingprogrammers.com/index.php/2006/01/05/autotools-tutorial/
- http://sources.redhat.com/autobook/
The last one is a free book
Good Luck
OTHER TIPS
Sorry for offtopic.
I did similar thing now, but I was able to choose between Autotools and CMake. I am happy to have choosen the second.
Might be worth looking at, including CDash, CTest and CPack. http://www.cmake.org/
Best Regards,
Ovanes
Here is a starter's guide to autoconf: http://amjith.blogspot.com/2009/04/autoconf-and-automake-tutorial.html
When I read this, I was already pretty well familiar with the autotools, but it seems like a pretty good introduction: link text