liblog4c-localtime: fix build issue on uClibc with --enable-debug
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Oct 2014 11:17:29 +0000 (12:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Oct 2014 11:33:54 +0000 (12:33 +0100)
commitf97702e8f42bdd8fd30e1ef53fe195887c3670c7
tree35440d33b7d53e7843a6b45a73c2cec20dc7972b
parent84a9c4b72fb53abe4865a2202536c737aac29238
liblog4c-localtime: fix build issue on uClibc with --enable-debug

When --enable-debug is used, liblog4c-localtime wants to use
<mcheck.h> if __GLIBC__ is defined. Unfortunately, uClibc defines
__GLIBC__ but does not provides mcheck.h. Therefore, this commit
introduces a patch (0003) that checks if mcheck.h is available or not.

However, this patch requires autoreconfiguring the package, which is
currently broken. Therefore, the two other patches (0004 and 0005) are
meant to fix autoreconfiguration of the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch [new file with mode: 0644]
package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch [new file with mode: 0644]
package/liblog4c-localtime/0005-Fix-C-support.patch [new file with mode: 0644]
package/liblog4c-localtime/liblog4c-localtime.mk