summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2016-08-23 17:42:57 +0200
committerJean Guyomarc'h <jean.guyomarch@gmail.com>2016-08-23 21:15:25 +0200
commitd2e9704ea85f6d501c7a6f1f5b0c992efc0b0b59 (patch)
tree9f39b61b51cd0a9b92630c243db962aba05c22a3 /m4
parent180b24f2a0dbf4476e1baf2fc535ebd422a5abce (diff)
autotools: remove win32 threads artifacts
Commit 2cb0c1cadc46e1d89fea4e27399b36ce9f1526ff removed the use _efl_have_win32_threads, but some traces of it were left.
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_threads.m415
1 files changed, 1 insertions, 14 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index 52631f7c1a..0c25e2c2df 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -18,7 +18,6 @@ EFL_PTHREAD_CFLAGS="-D_REENTRANT"
EFL_PTHREAD_LIBS=""
_efl_have_posix_threads="no"
-_efl_have_win32_threads="no"
dnl Use generic infrastructure for pthread detection (What a hell of a mess !)
gl_LOCK
@@ -89,18 +88,6 @@ fi
AC_MSG_CHECKING([which threads API is used])
if test "x${_efl_have_posix_threads}" = "xyes" ; then
efl_have_threads="POSIX"
-else
- if test "x${_efl_have_win32_threads}" = "xyes" ; then
- efl_have_threads="Windows"
- efl_have_pthread_affinity="no"
- efl_have_pthread_barrier="no"
- efl_have_pthread_setname="no"
- else
- efl_have_threads="no"
- efl_have_pthread_affinity="no"
- efl_have_pthread_barrier="no"
- efl_have_pthread_setname="no"
- fi
fi
AC_MSG_RESULT([${efl_have_threads}])
@@ -167,7 +154,7 @@ fi
-AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"],
+AS_IF([test "x$_efl_have_posix_threads" = "xyes"],
[$1],
[m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])])