]> arthur.barton.de Git - ngircd-alex.git/blobdiff - configure.in
Enable GNU libc "memory tracing" when compiled with debug code.
[ngircd-alex.git] / configure.in
index 7cbc80ac13653164754515de97dfc19be398122f..36f0bc28afb18e27f728af621bd2bb739774156f 100644 (file)
@@ -457,6 +457,7 @@ AC_ARG_ENABLE(debug,
 if test "$x_debug_on" = "yes"; then
        AC_DEFINE(DEBUG, 1)
        test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
+       AC_CHECK_FUNCS(mtrace)
 fi
 
 # enable "strict RFC rules"?