[erlang-questions] Erlang support in autoconf broken
Sun May 17 03:54:42 CEST 2009
There is a version 2.63b version which includes the fix, cf.
If you don't want to install this version, and patch your local installation
(e.g. in /usr/share/autoconf/autoconf/):
- fix the bug, by replacing "#!/bin/sh" with "[#]!/bin/sh", in erlang.m4, cf.
- rebuild Autoconf's "frozen" archive:
autom4te --language=autoconf --freeze --output=autoconf.m4f
You can't unfortunately just put the patched erlang.m4 file into your
project's directory, since the names of macros that must be used for test
language support (like in erlang.m4, c.m4, etc.) contain parentheses, which
crashes aclocal when generating the configure script. So one can define those
macros only in Autoconf's frozen file.
Those macro names are apparently better (no more parentheses) in the upcoming
On Sunday 17 May 2009 04:40:19 Vance Shipley wrote:
> It seems that the Erlang support in autoconf no longer works.
> According to what I see here there was a regression in v2.61a
> which has been corrected in v2.64:
> However v2.63 is the latest release. :(
> I've been trying to patch around this with no success yet.
> Has anyone got it working?
More information about the erlang-questions