John Bellone
John Bellone

Reputation: 1371

Refactoring build system to use Autotools

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.

Upvotes: 4

Views: 567

Answers (4)

William Pursell
William Pursell

Reputation: 212158

When I read this, I was already pretty well familiar with the autotools, but it seems like a pretty good introduction: link text

Upvotes: 0

qrdl
qrdl

Reputation: 34948

Here is a starter's guide to autoconf: http://amjith.blogspot.com/2009/04/autoconf-and-automake-tutorial.html

Upvotes: 2

ovanes
ovanes

Reputation: 5673

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

Upvotes: 4

Aiden Bell
Aiden Bell

Reputation: 28386

Here are a few I found that don't look to bad:

  1. http://www.lrde.epita.fr/~adl/autotools.html
  2. http://www.developingprogrammers.com/index.php/2006/01/05/autotools-tutorial/
  3. http://sources.redhat.com/autobook/

The last one is a free book

Good Luck

Upvotes: 2

Related Questions