[Top][All Lists]

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

[patch #9042] AX_CODE_COVERAGE: Avoid GNU Make extensions

From: anonymous
Subject: [patch #9042] AX_CODE_COVERAGE: Avoid GNU Make extensions
Date: Wed, 6 Jul 2016 18:27:18 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0


                 Summary: AX_CODE_COVERAGE: Avoid GNU Make extensions
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Wed 06 Jul 2016 06:27:15 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any



AX_CODE_COVERAGE currently uses ifeq/ifneq in its generated make rules.  These
are a GNU Make extension which doesn't work with BSD Make and others,
resulting in errors such as:

    Missing dependency operator
    Need an operator
    warning: duplicate script for target "ifeq" ignored

This patch moves the conditionals into the configure script and builds the
rules using string concatenation before AC_SUBST.  Although it would be
preferable to use the Automake conditionals (AM_CONDITIONAL) in the make
rules, this does not appear to be possible within AC_SUBST content.  (If it
is, or you'd prefer another construct, do let me know.)



File Attachments:

Date: Wed 06 Jul 2016 06:27:15 PM UTC  Name:
ax_code_coverage-avoid-GNU-Make-extensions.patch  Size: 6kB   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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