[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with vari
From: |
Adam Mercer |
Subject: |
Re: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value |
Date: |
Tue, 27 Feb 2018 22:07:07 -0600 |
On Mon, Feb 26, 2018 at 12:28 PM, Thomas Deutschmann <address@hidden> wrote:
> Hi,
>
> with automake-1.16, code like
>
>> AM_PATH_PYTHON([$PYTHON_VERSION])
>
> or
>
>> AM_PATH_PYTHON([$PYTHON_MIN_VERSION])
>
> as found in
>
> https://gitlab.com/cryptsetup/cryptsetup/blob/master/configure.ac#L506
> https://github.com/ImageMagick/PythonMagick/blob/master/configure.ac#L42
>
> doesn't work anymore:
>
>> ***** aclocal *****
>> ***** PWD: /var/tmp/portage/sys-fs/cryptsetup-2.0.1/work/cryptsetup-2.0.1
>> ***** aclocal -I m4
>>
>> /usr/bin/m4:configure.ac:506: bad expression in eval (bad input): ($+1) !=
>> (2)
>> /usr/bin/m4:configure.ac:506: bad expression in eval (bad input):
>> (0r36:PYTHON_+1) != (0*4)
>> autom4te-2.69: /usr/bin/m4 failed with exit status: 1
>> aclocal-1.16: error: echo failed with exit status: 1
I am running into this same problem in one of my projects.
Cheers
Adam