Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas
Modified Files:
configure.in
Log Message:
patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2
===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -3 -r1.158 -r1.159
--- configure.in 19 May 2006 09:27:33 -0000 1.158
+++ configure.in 7 Jun 2006 23:30:14 -0000 1.159
@@ -1694,31 +1694,31 @@
# Setting have_valgrind to "no" seems pointless, but we just need to
# put something in as the 4th parameter, so configure doesn't abort
# when valgrind.pc isn't found.
-#have_valgrind="no"
-#PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes,
have_valgrind=no)
-#AC_ARG_ENABLE(valgrind,
-# [ --enable-valgrind enable valgrind fixes to stop false
reports], [
-# if test x"$enableval" = x"yes" ; then
-# have_valgrind="yes"
-# else
-# have_valgrind="no"
-# VALGRIND_CFLAGS=""
-# VALGRIND_LIBS=""
-# fi
-# ], [
-# have_valgrind=$have_valgrind
-# ]
-#)
+have_valgrind="no"
+PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes,
have_valgrind=no)
+VALGRIND_LIBS="" # dont use LIBS
-#if test x$have_valgrind = "xyes"; then
-# AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support])
-#fi
+AC_ARG_ENABLE(valgrind,
+ [ --enable-valgrind enable valgrind fixes to stop false
reports], [
+ if test x"$enableval" = x"yes" ; then
+ have_valgrind="yes"
+ else
+ have_valgrind="no"
+ VALGRIND_CFLAGS=""
+ fi
+ ], [
+ have_valgrind=$have_valgrind
+ ]
+)
+
+if test x$have_valgrind = "xyes"; then
+ AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support])
+fi
#####################################################################
## Fill in flags
AC_SUBST(VALGRIND_CFLAGS)
-AC_SUBST(VALGRIND_LIBS)
AC_SUBST(x_cflags)
AC_SUBST(x_libs)
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs