X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_have_better_malloc.m4;h=c984cbaf915cdda73f63653abf5aeefdfa1f8650;hb=21f850c451cb7db8a0085ddcc892290ecac859eb;hp=18b474806331984b7818a96d8d6e66e970105920;hpb=25d9c6b0b915f46cc62d3aa72fe81e1274871cf4;p=awesomized%2Flibmemcached diff --git a/m4/pandora_have_better_malloc.m4 b/m4/pandora_have_better_malloc.m4 index 18b47480..c984cbaf 100644 --- a/m4/pandora_have_better_malloc.m4 +++ b/m4/pandora_have_better_malloc.m4 @@ -1,11 +1,9 @@ -dnl Copyright (C) 2009 Sun Microsystems -dnl This file is free software; Sun Microsystems +dnl Copyright (C) 2009 Sun Microsystems, Inc. +dnl This file is free software; Sun Microsystems, Inc. dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([PANDORA_HAVE_BETTER_MALLOC],[ - AC_REQUIRE([AC_FUNC_MALLOC]) - AC_REQUIRE([AC_FUNC_REALLOC]) AC_REQUIRE([AC_LIB_PREFIX]) AC_ARG_ENABLE([umem], @@ -60,3 +58,9 @@ AC_DEFUN([PANDORA_HAVE_BETTER_MALLOC],[ AC_SUBST([BETTER_MALLOC_LIBS]) ]) + +AC_DEFUN([PANDORA_USE_BETTER_MALLOC],[ + AC_REQUIRE([PANDORA_HAVE_BETTER_MALLOC]) + LIBS="${LIBS} ${BETTER_MALLOC_LIBS}" +]) +