-elif test "x$withval" = "xsrvx" ; then
- AC_MSG_RESULT(srvx)
- AC_DEFINE(WITH_MALLOC_SRVX, 1, [Define if using the srvx internal debug allocator])
- MODULE_OBJS="$MODULE_OBJS alloc-srvx.\$(OBJEXT)"
+elif test "x$withval" = "xx3" ; then
+ AC_MSG_RESULT(x3)
+ AC_DEFINE(WITH_MALLOC_X3, 1, [Define if using the x3 internal debug allocator])
+ MODULE_OBJS="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
+elif test "x$withval" = "xslab" ; then
+ AC_MSG_RESULT(slab)
+ AC_DEFINE(WITH_MALLOC_SLAB, 1, [Define if using the slab internal debug allocator])
+ MODULE_OBJS="$MODULE_OBJS alloc-slab.\$(OBJEXT)"