config/debug/dmalloc.in
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
parent 1844 4d6a56579d9d
permissions -rw-r--r--
libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)

Upstream SVN is currently broken:
http://www.eglibc.org/svn/branches/eglibc-2_15/libc/

LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4.
This patch fix the configure script.

Once upstream branch will be fixed this patch could be reverted.

Related patch (committed to eglibc trunk):
Use autoconf macro for testing compiler options with empty input
http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>

diff -r 1f6c8e4b2b92 -r d10afc5bcc25
patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
     1 # dmalloc debug facility
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## help dmalloc helps tracking memory allocation mis-usage
     6 ## help such as double-free, use-after-free...
     7 
     8 choice
     9     bool
    10     prompt "dmalloc version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config DMALLOC_V_5_5_2
    15     bool
    16     prompt "5.5.2"
    17 
    18 endchoice
    19 
    20 config DMALLOC_VERSION
    21     string
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_STRING_BELOW
    24     default "5.5.2" if DMALLOC_V_5_5_2