tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: autoconf + gm4 + Linux = huge amount of failures



On Sun, Jul 19, 2009 at 09:37:58PM +0300, Aleksey Cheusov wrote:
> Under Linux with GNU m4 in /usr/bin/m4
> huge amount of packages fail like this
> 
>    cd /tmp/obj_pkgsrc/security/policykit/work/PolicyKit-0.9 && autoconf
>    autom4te: need GNU m4 1.4 or later: /usr/bin/m4
>    *** Error code 1
> 
> In total more than 1000 packages.

Comment out the following lines in "pkgsrc/mk/tools/tools.Linux.mk":

        .if exists(/usr/bin/m4)
        TOOLS_PLATFORM.gm4?=            /usr/bin/m4
        .endif

The correct fix to detect whether the provided "m4" is too old.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index