diff options
Diffstat (limited to '')
-rw-r--r-- | m4/efl_threads.m4 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4 index 29277f68e3..04b3e64c3a 100644 --- a/m4/efl_threads.m4 +++ b/m4/efl_threads.m4 | |||
@@ -50,7 +50,6 @@ dnl check if the compiler supports POSIX threads | |||
50 | if test "x${_efl_have_posix_threads}" = "xyes" ; then | 50 | if test "x${_efl_have_posix_threads}" = "xyes" ; then |
51 | 51 | ||
52 | SAVE_LIBS=${LIBS} | 52 | SAVE_LIBS=${LIBS} |
53 | SAVE_CFLAGS=${CFLAGS} | ||
54 | LIBS="${LIBS} ${LIBMULTITHREAD}" | 53 | LIBS="${LIBS} ${LIBMULTITHREAD}" |
55 | AC_LINK_IFELSE( | 54 | AC_LINK_IFELSE( |
56 | [AC_LANG_PROGRAM([[ | 55 | [AC_LANG_PROGRAM([[ |
@@ -73,7 +72,6 @@ pthread_attr_setaffinity_np(NULL, 0, NULL); | |||
73 | ]])], | 72 | ]])], |
74 | [efl_have_setaffinity="yes"], | 73 | [efl_have_setaffinity="yes"], |
75 | [efl_have_setaffinity="no"]) | 74 | [efl_have_setaffinity="no"]) |
76 | CFLAGS=${SAVE_CFLAGS} | ||
77 | LIBS=${SAVE_LIBS} | 75 | LIBS=${SAVE_LIBS} |
78 | fi | 76 | fi |
79 | 77 | ||
@@ -102,7 +100,6 @@ efl_have_posix_threads_spinlock="no" | |||
102 | 100 | ||
103 | if test "x${_efl_have_posix_threads}" = "xyes" ; then | 101 | if test "x${_efl_have_posix_threads}" = "xyes" ; then |
104 | SAVE_LIBS=${LIBS} | 102 | SAVE_LIBS=${LIBS} |
105 | SAVE_CFLAGS=${CFLAGS} | ||
106 | LIBS="${LIBS} ${LIBMULTITHREAD}" | 103 | LIBS="${LIBS} ${LIBMULTITHREAD}" |
107 | AC_LINK_IFELSE( | 104 | AC_LINK_IFELSE( |
108 | [AC_LANG_PROGRAM([[ | 105 | [AC_LANG_PROGRAM([[ |
@@ -117,7 +114,6 @@ sched_yield(); | |||
117 | ]])], | 114 | ]])], |
118 | [efl_have_posix_threads_spinlock="yes"], | 115 | [efl_have_posix_threads_spinlock="yes"], |
119 | [efl_have_posix_threads_spinlock="no"]) | 116 | [efl_have_posix_threads_spinlock="no"]) |
120 | CFLAGS=${SAVE_CFLAGS} | ||
121 | LIBS=${SAVE_LIBS} | 117 | LIBS=${SAVE_LIBS} |
122 | 118 | ||
123 | fi | 119 | fi |