On Wed, Oct 10, 2012 at 10:40 PM, Enlightenment SVN <[email protected]> wrote: > Log: > efl: remove option to debug threads, now enabled based on build profile. > > If --with-profile=dev, we enable threads debug.
again, add a description in README Vincent > > > > Author: barbieri > Date: 2012-10-10 13:40:34 -0700 (Wed, 10 Oct 2012) > New Revision: 77806 > Trac: http://trac.enlightenment.org/e/changeset/77806 > > Modified: > trunk/efl/configure.ac trunk/efl/m4/efl_threads.m4 > > Modified: trunk/efl/configure.ac > =================================================================== > --- trunk/efl/configure.ac 2012-10-10 20:32:35 UTC (rev 77805) > +++ trunk/efl/configure.ac 2012-10-10 20:40:34 UTC (rev 77806) > @@ -539,11 +539,11 @@ > EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS" > AC_SUBST(EINA_CONFIGURE_HAVE_THREADS) > > -if test "x${efl_have_debug_threads}" = "xyes"; then > +if test "$build_profile" = "dev"; then > EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS" > + AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call > eina_threads_init]) > fi > AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS) > -AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = > "xyes"]) > > ### Modules > EINA_CHECK_MODULE([chained-pool], [static], [chained pool]) > @@ -866,7 +866,6 @@ > echo " Thread Support.......: ${efl_have_threads}" > if test "${efl_have_threads}" = "POSIX" ; then > echo " spinlock...........: ${efl_have_posix_threads_spinlock}" > -echo " debug usage........: ${efl_have_debug_threads}" > fi > echo > echo "Compilation............: make (or gmake)" > > Modified: trunk/efl/m4/efl_threads.m4 > =================================================================== > --- trunk/efl/m4/efl_threads.m4 2012-10-10 20:32:35 UTC (rev 77805) > +++ trunk/efl/m4/efl_threads.m4 2012-10-10 20:40:34 UTC (rev 77806) > @@ -117,19 +117,6 @@ > AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that > POSIX threads spinlocks are supported]) > fi > > -dnl Check debug threads > - > -_efl_enable_debug_threads="no" > -AC_ARG_ENABLE([debug-threads], > - [AC_HELP_STRING([--enable-debug-threads], [disable assert when you forgot > to call eina_threads_init])], > - [_efl_enable_debug_threads="${enableval}"]) > - > -efl_have_debug_threads="no" > -if test "x${_efl_have_posix_threads}" = "xyes" && test > "x${_efl_enable_debug_threads}" = "xyes"; then > - efl_have_debug_threads="yes" > - AC_DEFINE([EFL_DEBUG_THREADS], [1], [Assert when forgot to call > eina_threads_init]) > -fi > - > AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test > "x$_efl_have_win32_threads" = "xyes"], > [$1], > [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])]) > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
