O'Reilly logo

Autotools by John Calcote

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Item 3: Using a Repository Revision Number in a Package Version

Version control is an important part of every project. Not only does it protect intellectual property, but it also allows the developer to back up and start again after a long series of mistakes. One advantage of version control systems like Subversion is that the system assigns a unique revision number to every change to a project's repository. This means that any distribution of the project's source code can be logically tied to a particular repository revision number. This item presents a technique you can use to automatically insert a repository revision number into your package's Autoconf version string.

Arguments to the Autoconf AC_INIT macro must be static text. That is, they ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required