[patch #8931] AX_VALGRIND_CHECK: fix logic around AC_CHECK_PROG

Olaf Mandel <[email protected]> Fri, 04 Mar 2016 19:31:17 +0000
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?8931>

                 Summary: AX_VALGRIND_CHECK: fix logic around AC_CHECK_PROG
                 Project: GNU Autoconf Archive
            Submitted by: olaf_mandel
            Submitted on: Fr 04 Mär 2016 19:31:16 GMT
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

There are two problems in the logic around the first AC_CHECK_PROG() call:

1. If AC_CHECK_PROG() fails to find valgrind, with neither configure option
--enable-valgrind nor --disable-valgrind, then the enable_valgrind variable
ends up being set incorrectly to yes.

2. If configure was started with --disable-valgrind, then there is no need to
run AC_CHECK_PROG() at all.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fr 04 Mär 2016 19:31:16 GMT  Name:
0002-AX_VALGRIND_CHECK-fix-logic-around-AC_CHECK_PROG.patch  Size: 2kB   By:
olaf_mandel

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/