aboutsummaryrefslogtreecommitdiffstats
path: root/m4/empathy-valgrind.m4
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-12-29 23:49:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-12-29 23:49:47 +0800
commitb8607414ea0e41c44a09d31ebcd0437a3c867a24 (patch)
tree0004eceb52b4bb3a4da1275057e46ea80e840a05 /m4/empathy-valgrind.m4
parent736ff5bf9f668528f1a1db1c8c135a8165a1b044 (diff)
downloadgsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.gz
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.bz2
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.lz
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.xz
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.zst
gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.zip
merge git work
svn path=/trunk/; revision=518
Diffstat (limited to 'm4/empathy-valgrind.m4')
-rw-r--r--m4/empathy-valgrind.m431
1 files changed, 0 insertions, 31 deletions
diff --git a/m4/empathy-valgrind.m4 b/m4/empathy-valgrind.m4
deleted file mode 100644
index 7a44e103f..000000000
--- a/m4/empathy-valgrind.m4
+++ /dev/null
@@ -1,31 +0,0 @@
-dnl Detect Valgrind location and flags
-
-AC_DEFUN([EMPATHY_VALGRIND],
-[
- enable=$1
- if test -n "$2"; then
- valgrind_req=$2
- else
- valgrind_req="2.1"
- fi
-
- PKG_CHECK_MODULES(VALGRIND, valgrind > "$valgrind_req",
- have_valgrind_runtime="yes", have_valgrind_runtime="no")
-
- AC_PATH_PROG(VALGRIND_PATH, valgrind)
-
- # Compile the instrumentation for valgrind only if the valgrind
- # libraries are installed and the valgrind executable is found
- if test "x$enable" = xyes &&
- test "$have_valgrind_runtime" = yes &&
- test -n "$VALGRIND_PATH" ;
- then
- AC_DEFINE(HAVE_VALGRIND, 1, [Define if valgrind should be used])
- AC_MSG_NOTICE(using compile-time instrumentation for valgrind)
- fi
-
- AC_SUBST(VALGRIND_CFLAGS)
- AC_SUBST(VALGRIND_LIBS)
-
- AM_CONDITIONAL(HAVE_VALGRIND, test -n "$VALGRIND_PATH")
-])