forked from enlightenment/efl
efl: remove EINA_HAVE_ON_OFF_THREADS support.
it's still in the code, but not configurable anymore. We may remove it later if not really needed. SVN revision: 77802
This commit is contained in:
parent
7ecec0f3fb
commit
3acb5dde8b
|
@ -545,12 +545,6 @@ fi
|
||||||
AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS)
|
AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS)
|
||||||
AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = "xyes"])
|
AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = "xyes"])
|
||||||
|
|
||||||
if ! test "x${efl_have_on_off_threads}" = "xno"; then
|
|
||||||
EINA_CONFIGURE_HAVE_ON_OFF_THREADS="#define EINA_HAVE_ON_OFF_THREADS"
|
|
||||||
fi
|
|
||||||
AC_SUBST(EINA_CONFIGURE_HAVE_ON_OFF_THREADS)
|
|
||||||
AM_CONDITIONAL([EINA_ON_OFF_THREADS], [! test "x${efl_have_on_off_threads}" = "xno"])
|
|
||||||
|
|
||||||
### Modules
|
### Modules
|
||||||
EINA_CHECK_MODULE([chained-pool], [static], [chained pool])
|
EINA_CHECK_MODULE([chained-pool], [static], [chained pool])
|
||||||
EINA_CHECK_MODULE([pass-through], [static], [pass through])
|
EINA_CHECK_MODULE([pass-through], [static], [pass through])
|
||||||
|
@ -873,7 +867,6 @@ echo " Thread Support.......: ${efl_have_threads}"
|
||||||
if test "${efl_have_threads}" = "POSIX" ; then
|
if test "${efl_have_threads}" = "POSIX" ; then
|
||||||
echo " spinlock...........: ${efl_have_posix_threads_spinlock}"
|
echo " spinlock...........: ${efl_have_posix_threads_spinlock}"
|
||||||
echo " debug usage........: ${efl_have_debug_threads}"
|
echo " debug usage........: ${efl_have_debug_threads}"
|
||||||
echo " on/off support.....: ${efl_have_on_off_threads}"
|
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo "Compilation............: make (or gmake)"
|
echo "Compilation............: make (or gmake)"
|
||||||
|
|
|
@ -117,21 +117,6 @@ if test "x${efl_have_posix_threads_spinlock}" = "xyes" ; then
|
||||||
AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported])
|
AC_DEFINE([EFL_HAVE_POSIX_THREADS_SPINLOCK], [1], [Define to mention that POSIX threads spinlocks are supported])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check ON-OFF threads
|
|
||||||
|
|
||||||
_efl_enable_on_off_threads="no"
|
|
||||||
AC_ARG_ENABLE([on-off-threads],
|
|
||||||
[AC_HELP_STRING([--enable-on-off-threads], [only turn this on if you know what you are doing, and do not complain if the world freeze])],
|
|
||||||
[_efl_enable_on_off_threads="${enableval}"])
|
|
||||||
|
|
||||||
efl_have_on_off_threads="no"
|
|
||||||
if test "x${_efl_have_posix_threads}" = "xyes" && test "x${_efl_enable_on_off_threads}" = "xyes"; then
|
|
||||||
efl_have_on_off_threads="yes"
|
|
||||||
AC_DEFINE([EFL_ON_OFF_THREADS], [1], [make it possible to disable all locks])
|
|
||||||
fi
|
|
||||||
AC_MSG_CHECKING([whether to turn on/off threads lock on demand])
|
|
||||||
AC_MSG_RESULT([${efl_have_on_off_threads}])
|
|
||||||
|
|
||||||
dnl Check debug threads
|
dnl Check debug threads
|
||||||
|
|
||||||
_efl_enable_debug_threads="no"
|
_efl_enable_debug_threads="no"
|
||||||
|
|
|
@ -68,11 +68,6 @@
|
||||||
#endif
|
#endif
|
||||||
#define EINA_SIZEOF_WCHAR_T @EINA_SIZEOF_WCHAR_T@
|
#define EINA_SIZEOF_WCHAR_T @EINA_SIZEOF_WCHAR_T@
|
||||||
|
|
||||||
#ifdef EINA_HAVE_ON_OFF_THREADS
|
|
||||||
# undef EINA_HAVE_ON_OFF_THREADS
|
|
||||||
#endif
|
|
||||||
@EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
|
|
||||||
|
|
||||||
#ifdef EINA_CONFIGURE_HAVE_DIRENT_H
|
#ifdef EINA_CONFIGURE_HAVE_DIRENT_H
|
||||||
# undef EINA_CONFIGURE_HAVE_DIRENT_H
|
# undef EINA_CONFIGURE_HAVE_DIRENT_H
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue