[patch #9042] AX_CODE_COVERAGE: Avoid GNU Make extensions

anonymous <[email protected]> Wed, 6 Jul 2016 18:27:18 +0000 (UTC)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?9042>

                 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: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.)

Best,
Kevin



    _______________________________________________________

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

<http://savannah.gnu.org/patch/download.php?file_id=37734>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9042>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/