GNU autotools tip

When you create a program or library for Linux you may need GNU auto tools (automake, libtool, configure etc) to detect environment settings. These tools may become a pain in the ass when you start with them (and probably later too). Something I recommend that has worked for me is to create a script like this:

libtoolize --force --copy
automake -f --copy --add-missing

The –force –copy for libtoolize and -f –copy –add-missing for automake will help you to not depend on symbolic links that are created by libtoolize and automake and that may not be present on the target machine where your code will be built.

I suppose there is a valid reason to not use those options, but for me, that saved me a lot of hassle.

This entry was posted in linux. Bookmark the permalink.

1 Response to GNU autotools tip

  1. Pingback: Twitter Trackbacks for Moy Blog » Blog Archive » GNU autotools tip [] on

Leave a Reply

Your email address will not be published. Required fields are marked *