summaryrefslogtreecommitdiff
path: root/legacy/eet/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-06-23 15:50:19 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-06-23 15:50:19 +0000
commite10320096362d4193e239ef6a3e259289ecd1eaa (patch)
treee18d1e578bec2777481bfebfaf056d37d9507b89 /legacy/eet/m4
parent04222ac61175c1909671eed74471b0fcdc6642de (diff)
fix linking with mingw
SVN revision: 49818
Diffstat (limited to 'legacy/eet/m4')
-rw-r--r--legacy/eet/m4/efl_pthread.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/legacy/eet/m4/efl_pthread.m4 b/legacy/eet/m4/efl_pthread.m4
index 1894ad7c89..b90a045618 100644
--- a/legacy/eet/m4/efl_pthread.m4
+++ b/legacy/eet/m4/efl_pthread.m4
@@ -51,8 +51,8 @@ if test "x${_efl_enable_pthread}" = "xyes" || test "x${_efl_enable_pthread}" = "
51 51
52 SAVE_CFLAGS=${CFLAGS} 52 SAVE_CFLAGS=${CFLAGS}
53 CFLAGS="${CFLAGS} ${_efl_pthread_cflags}" 53 CFLAGS="${CFLAGS} ${_efl_pthread_cflags}"
54 SAVE_LDFLAGS=${LDFLAGS} 54 SAVE_LIBS=${LIBS}
55 LDFLAGS="${LDFLAGS} ${_efl_pthread_libs}" 55 LIBS="${LIBS} ${_efl_pthread_libs}"
56 AC_LINK_IFELSE( 56 AC_LINK_IFELSE(
57 [AC_LANG_PROGRAM([[ 57 [AC_LANG_PROGRAM([[
58#include <pthread.h> 58#include <pthread.h>
@@ -64,7 +64,7 @@ id = pthread_self();
64 [_efl_have_pthread="yes"], 64 [_efl_have_pthread="yes"],
65 [_efl_have_pthread="no"]) 65 [_efl_have_pthread="no"])
66 CFLAGS=${SAVE_CFLAGS} 66 CFLAGS=${SAVE_CFLAGS}
67 LDFLAGS=${SAVE_LDFLAGS} 67 LIBS=${SAVE_LIBS}
68 68
69fi 69fi
70 70
@@ -96,8 +96,8 @@ if test "x${_efl_have_pthread}" = "xyes" && test "x$1" = "xyes" ; then
96 96
97 SAVE_CFLAGS=${CFLAGS} 97 SAVE_CFLAGS=${CFLAGS}
98 CFLAGS="${CFLAGS} ${EFL_PTHREAD_CFLAGS}" 98 CFLAGS="${CFLAGS} ${EFL_PTHREAD_CFLAGS}"
99 SAVE_LDFLAGS=${LDFLAGS} 99 SAVE_LIBS=${LIBS}
100 LDFLAGS="${LDFLAGS} ${EFL_PTHREAD_LIBS}" 100 LIBS="${LIBS} ${EFL_PTHREAD_LIBS}"
101 AC_LINK_IFELSE( 101 AC_LINK_IFELSE(
102 [AC_LANG_PROGRAM([[ 102 [AC_LANG_PROGRAM([[
103#include <pthread.h> 103#include <pthread.h>
@@ -110,7 +110,7 @@ res = pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE);
110 [_efl_have_pthread_spinlock="yes"], 110 [_efl_have_pthread_spinlock="yes"],
111 [_efl_have_pthread_spinlock="no"]) 111 [_efl_have_pthread_spinlock="no"])
112 CFLAGS=${SAVE_CFLAGS} 112 CFLAGS=${SAVE_CFLAGS}
113 LDFLAGS=${SAVE_LDFLAGS} 113 LIBS=${SAVE_LIBS}
114 114
115fi 115fi
116 116