Hello,
In my configure.ac I get the version number from the NEWS file, this used
to work but does not anymore with autoconf-2.53.
I used :
AC_INIT([src/gliv.c])
read version < $srcdir/NEWS
AM_INIT_AUTOMAKE([gliv], [$version])
but now, with
AC_INIT([gliv], [$(head -n 1 NEWS)])
autoconf compla
>> 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.
>> 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