Bug 545133 - Remove MOZ_VALGRIND from comm-central; (Bv1) Just remove it.
authorSerge Gautherie <sgautherie.bz@free.fr>
Thu, 11 Feb 2010 23:59:31 +0100
changeset 4895 ae2bc3f38c4a3463027814f0edfacae01c3913e3
parent 4894 d1962420da41649c216c076074707f91ed063c55
child 4896 9eabf6d6258882b5d9413cf47653e682b64141c3
push id3815
push usersgautherie.bz@free.fr
push dateThu, 11 Feb 2010 22:59:45 +0000
treeherdercomm-central@9eabf6d62588 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs545133
Bug 545133 - Remove MOZ_VALGRIND from comm-central; (Bv1) Just remove it. r=Callek.
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5985,24 +5985,16 @@ if test "$MOZ_MEMORY"; then
     dnl Also pass this to NSPR/NSS
     DLLFLAGS="$DLLFLAGS $MOZ_MEMORY_LDFLAGS"
     export DLLFLAGS
     ;;
   *)
     AC_MSG_ERROR([--enable-jemalloc not supported on ${target}])
     ;;
   esac
-
-  AC_ARG_WITH([valgrind],
-    [  --with-valgrind         Enable valgrind integration hooks],
-    [enable_valgrind="yes"], [enable_valgrind="no"])
-  AC_CHECK_HEADER([valgrind/valgrind.h], [], [enable_valgrind="no"])
-  if test "x$enable_valgrind" = "xyes" ; then
-    AC_DEFINE(MOZ_VALGRIND)
-  fi
 fi
 AC_SUBST(MOZ_MEMORY)
 AC_SUBST(MOZ_MEMORY_LDFLAGS)
 AC_SUBST(WIN32_CRT_SRC_DIR)
 dnl Need to set this for make because NSS doesn't have configure
 AC_SUBST(DLLFLAGS)
 
 dnl ========================================================