Re: Computed version number in configure.ac

2002-03-14 Thread Guillaume Chazarain
>> Well, I couldn't make esyscmd([head -n 1 NEWS]) work in an AC_INIT arg. > > Works here. What's happening in your case? -- > If I were you, I would not try to do that, but that's only my opinion, > no flamewar needed. > > /tmp % cat configure.ac

Re: Computed version number in configure.ac

2002-03-14 Thread Peter Eisentraut
Guillaume Chazarain writes: > Well, I couldn't make esyscmd([head -n 1 NEWS]) work in an AC_INIT arg. Works here. What's happening in your case? -- Peter Eisentraut [EMAIL PROTECTED]

Re: Computed version number in configure.ac

2002-03-14 Thread Akim Demaille
-n 1 NEWS)]) | | autoconf complains the version arg is not a litteral. | | So here is my question : | How to use a computed version number in configure.ac ? If I were you, I would not try to do that, but that's only my opinion, no flamewar needed. /tmp % cat conf

Re: Computed version number in configure.ac

2002-03-14 Thread Guillaume Chazarain
>> AC_INIT([gliv], [$(head -n 1 NEWS)]) >> >> autoconf complains the version arg is not a litteral. > >Try something like > >AC_INIT([gliv], [esyscmd([head -n 1 NEWS])]) Well, I couldn't make esyscmd([head -n 1 NEWS]) work in an AC_INIT arg.

Re: Computed version number in configure.ac

2002-03-13 Thread Peter Eisentraut
Guillaume Chazarain writes: > AC_INIT([gliv], [$(head -n 1 NEWS)]) > > autoconf complains the version arg is not a litteral. Try something like AC_INIT([gliv], [esyscmd([head -n 1 NEWS])]) -- Peter Eisentraut [EMAIL PROTECTED]

Computed version number in configure.ac

2002-03-13 Thread Guillaume Chazarain
onf complains the version arg is not a litteral. So here is my question : How to use a computed version number in configure.ac ? Regargds, Guillaume