>> 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
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]
-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
>> 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.
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]
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