Re: Strategy to specify major, minor, and patch versions

2014-08-28 Thread
On 08/27/2014 04:10 PM, Eric Blake wrote: That took the 'AC_INIT is canonical, derive everything else from it' approach. Yeah, that approach is sub-optimal. I was thinking of a way to specify the major/minor/patch version numbers beforehand, and then pass them off to AC_INIT. I tried doing

Re: Strategy to specify major, minor, and patch versions

2014-08-28 Thread Eric Blake
On 08/28/2014 02:05 AM, Zé wrote: >> It should also be possible to do the reverse: declare m4 >> macros and shell variables up front for major/minor/patch, then generate >> AC_INIT by calling those macros rather than open-coding the version. > > That would be preferable. Is there any way to pull