mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
Remove mcheck.h support
When was the last time anyone used this? That's what I thought. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
53e525c4f3
commit
9934052b54
@ -295,8 +295,6 @@ AC_MSG_CHECKING(for debug mode request)
|
||||
if test "x$debug" = "xyes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE([PACMAN_DEBUG], , [Enable debug code])
|
||||
# Check for mcheck
|
||||
AC_CHECK_HEADERS([mcheck.h])
|
||||
# Check for -fstack-protector availability
|
||||
GCC_STACK_PROTECT_LIB
|
||||
GCC_STACK_PROTECT_CC
|
||||
|
@ -39,9 +39,6 @@
|
||||
#include <sys/utsname.h> /* uname */
|
||||
#include <locale.h> /* setlocale */
|
||||
#include <errno.h>
|
||||
#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H)
|
||||
#include <mcheck.h> /* debug tracing (mtrace) */
|
||||
#endif
|
||||
|
||||
/* alpm */
|
||||
#include <alpm.h>
|
||||
@ -769,11 +766,6 @@ int main(int argc, char *argv[])
|
||||
uid_t myuid = geteuid();
|
||||
#endif
|
||||
|
||||
#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H)
|
||||
/*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/
|
||||
mtrace();
|
||||
#endif
|
||||
|
||||
/* Set signal handlers */
|
||||
/* Set up the structure to specify the new action. */
|
||||
new_action.sa_handler = handler;
|
||||
|
Loading…
x
Reference in New Issue
Block a user