summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-30 13:30:13 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-30 13:30:13 +0000
commit8ce53b64dad3d74241c4780b208beeab34cee8d8 (patch)
tree601b1a5a9f26b669adeed5bf67905033e791d53c /configure.ac
parentb316f6a1a9117799c4e08af25548374111cf54b8 (diff)
efl: fix valgrind build.
weird enough to build with memcheck.h you just need valgrind's CFLAGS, not its libraries as they are not supposed to be used like that, throwing many bgPlain_ errors (vgPlain_tl_pre_clo_init, vgPlain_free...) from libcoregrind-x86-linux.a SVN revision: 81901
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 06f52a7774..aa8582dc0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -849,7 +849,7 @@ case "${build_profile}" in
849 dev) 849 dev)
850 with_max_log_level="" 850 with_max_log_level=""
851 have_stringshare_usage="no" 851 have_stringshare_usage="no"
852 want_valgrind="no" # TODO: "yes" is not working: relocation R_X86_64_32S against `vgPlain_interim_stack' can not be used when making a shared object; recompile with -fPIC 852 want_valgrind="yes"
853 want_debug_malloc="no" 853 want_debug_malloc="no"
854 want_debug_threads="no" 854 want_debug_threads="no"
855 want_default_mempool="no" 855 want_default_mempool="no"
@@ -858,7 +858,7 @@ case "${build_profile}" in
858 debug) 858 debug)
859 with_max_log_level="" 859 with_max_log_level=""
860 have_stringshare_usage="yes" 860 have_stringshare_usage="yes"
861 want_valgrind="no" # TODO: "yes" is not working: relocation R_X86_64_32S against `vgPlain_interim_stack' can not be used when making a shared object; recompile with -fPIC 861 want_valgrind="yes"
862 want_debug_malloc="yes" 862 want_debug_malloc="yes"
863 want_debug_threads="yes" 863 want_debug_threads="yes"
864 want_default_mempool="yes" 864 want_default_mempool="yes"
@@ -899,11 +899,11 @@ requirements_pc_eina="${requirements_pc_eina} ${platform_pc}"
899## Options 899## Options
900 900
901# Valgrind 901# Valgrind
902
903EFL_OPTIONAL_DEPEND_PKG([eina], [${want_valgrind}],
904 [VALGRIND], [valgrind >= 2.4.0])
905if test "x${have_valgrind}" = "xno"; then 902if test "x${have_valgrind}" = "xno"; then
906 AC_DEFINE([NVALGRIND], [1], [Valgrind support disabled]) 903 AC_DEFINE([NVALGRIND], [1], [Valgrind support disabled])
904else
905 PKG_CHECK_MODULES([VALGRIND], [valgrind >= 2.4.0])
906 AC_DEFINE([HAVE_VALGRIND], [1], [Valgrind support enabled])
907fi 907fi
908 908
909AC_DEFINE_IF([EINA_DEBUG_MALLOC], 909AC_DEFINE_IF([EINA_DEBUG_MALLOC],
@@ -1502,9 +1502,6 @@ requirements_pc_evas="eo >= ${PACKAGE_VERSION} eet >= ${PACKAGE_VERSION} eina >=
1502EFL_DEPEND_PKG([evas], [FREETYPE], [freetype2 >= 9.3.0]) 1502EFL_DEPEND_PKG([evas], [FREETYPE], [freetype2 >= 9.3.0])
1503 1503
1504## optional dependencies 1504## optional dependencies
1505# Valgrind
1506EFL_OPTIONAL_DEPEND_PKG([evas], [${want_valgrind}],
1507 [VALGRIND], [valgrind >= 2.4.0])
1508 1505
1509# FontConfig 1506# FontConfig
1510EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fontconfig}], 1507EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fontconfig}],