autoconf-patches
[Top][All Lists]
Advanced

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

Quote macro names passed from autom4te to M4


From: Peter Breitenlohner
Subject: Quote macro names passed from autom4te to M4
Date: Tue, 27 Jan 2009 15:10:02 +0100 (CET)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

Hi,

I recently tried to define autoconf macros for a new language `Lang' using
        [AC_DEFUN([AC_LANG_COMPILER(Lang)], [AC_REQUIRE([AC_PROG_CLANG])])
but as a consequence aclocal failed:
        autom4te ... --trace='AC_LANG_COMPILER(Lang)' ...
        => /bin/sh /usr/bin/m4 ... --trace=AC_LANG_COMPILER(Lang) ...
        => /bin/sh failed with: syntax error at `(' or so.

The reason is, that the macro names passed from autom4te to M4 lack proper
shell quoting.

Attached is a small patch (against git as of today) fixing this problem,
together with a test case.

Regards
Peter Breitenlohner <address@hidden>

Attachment: 0001-Quote-traced-macros-passed-from-autom4te-to-M4.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]