eina: fix build when valgrind is not in a standard location.
authorcedric <cedric>
Fri, 16 Mar 2012 11:25:14 +0000 (11:25 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Mar 2012 11:25:14 +0000 (11:25 +0000)
Patch by Raphael Kubo da Costa <rakuco@freebsd.org>.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@69456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/Makefile.am
src/modules/mp/chained_pool/eina_chained_mempool.c
src/modules/mp/one_big/eina_one_big.c

index 4c58513..1237697 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2012-03-14  Cedric Bail
 
        * Fix a dead lock in Eina_File.
+
+2012-03-16  Raphael Kubo da Costa
+
+       * Adjust Valgrind's CFLAGS to fix the build when it is in a non-default location.
index 880f00b..5de2848 100644 (file)
@@ -6,7 +6,8 @@ AM_CPPFLAGS = \
 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-@EFL_EINA_BUILD@
+@EFL_EINA_BUILD@ \
+@VALGRIND_CFLAGS@
 
 base_sources = \
 eina_accessor.c \
index 020d0ad..e56df4c 100644 (file)
@@ -52,7 +52,7 @@
 #include "eina_private.h"
 
 #ifndef NVALGRIND
-# include <valgrind/memcheck.h>
+# include <memcheck.h>
 #endif
 
 #if defined DEBUG || defined EINA_DEBUG_MALLOC
index dadec65..1159378 100644 (file)
@@ -42,7 +42,7 @@
 #include "eina_lock.h"
 
 #ifndef NVALGRIND
-# include <valgrind/memcheck.h>
+# include <memcheck.h>
 #endif
 
 #include "eina_private.h"