summaryrefslogtreecommitdiff
path: root/m4/efl_threads.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/efl_threads.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 '')
-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"
18EFL_PTHREAD_LIBS="" 18EFL_PTHREAD_LIBS=""
19 19
20_efl_have_posix_threads="no" 20_efl_have_posix_threads="no"
21_efl_have_win32_threads="no"
22 21
23dnl Use generic infrastructure for pthread detection (What a hell of a mess !) 22dnl Use generic infrastructure for pthread detection (What a hell of a mess !)
24gl_LOCK 23gl_LOCK
@@ -89,18 +88,6 @@ fi
89AC_MSG_CHECKING([which threads API is used]) 88AC_MSG_CHECKING([which threads API is used])
90if test "x${_efl_have_posix_threads}" = "xyes" ; then 89if test "x${_efl_have_posix_threads}" = "xyes" ; then
91 efl_have_threads="POSIX" 90 efl_have_threads="POSIX"
92else
93 if test "x${_efl_have_win32_threads}" = "xyes" ; then
94 efl_have_threads="Windows"
95 efl_have_pthread_affinity="no"
96 efl_have_pthread_barrier="no"
97 efl_have_pthread_setname="no"
98 else
99 efl_have_threads="no"
100 efl_have_pthread_affinity="no"
101 efl_have_pthread_barrier="no"
102 efl_have_pthread_setname="no"
103 fi
104fi 91fi
105AC_MSG_RESULT([${efl_have_threads}]) 92AC_MSG_RESULT([${efl_have_threads}])
106 93
@@ -167,7 +154,7 @@ fi
167 154
168 155
169 156
170AS_IF([test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"], 157AS_IF([test "x$_efl_have_posix_threads" = "xyes"],
171 [$1], 158 [$1],
172 [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])]) 159 [m4_if([$2], [$2], [AC_MSG_ERROR([Threads are required.])])])
173 160