summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-11-15 13:19:58 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-11-15 13:19:58 +0100
commitd606437f65d3b22d91a0e94a5e1e74eaba459aec (patch)
tree054e74a181df5c53a0e4e185bd5dfa4f1f4abcca /m4
parentdeec62c9b66c45705918bf659ce1d2107dbc6831 (diff)
m4: remove saving of CFLAGS
Since we don't modify cflags, no need to save them.
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_threads.m44
1 files changed, 0 insertions, 4 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index 29277f6..04b3e64 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -50,7 +50,6 @@ dnl check if the compiler supports POSIX threads
50if test "x${_efl_have_posix_threads}" = "xyes" ; then 50if 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}
78fi 76fi
79 77
@@ -102,7 +100,6 @@ efl_have_posix_threads_spinlock="no"
102 100
103if test "x${_efl_have_posix_threads}" = "xyes" ; then 101if 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
123fi 119fi