englebass pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d606437f65d3b22d91a0e94a5e1e74eaba459aec

commit d606437f65d3b22d91a0e94a5e1e74eaba459aec
Author: Sebastian Dransfeld <[email protected]>
Date:   Fri Nov 15 13:19:58 2013 +0100

    m4: remove saving of CFLAGS
    
    Since we don't modify cflags, no need to save them.
---
 m4/efl_threads.m4 | 4 ----
 1 file changed, 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
 if test "x${_efl_have_posix_threads}" = "xyes" ; then
 
    SAVE_LIBS=${LIBS}
-   SAVE_CFLAGS=${CFLAGS}
    LIBS="${LIBS} ${LIBMULTITHREAD}"
    AC_LINK_IFELSE(
       [AC_LANG_PROGRAM([[
@@ -73,7 +72,6 @@ pthread_attr_setaffinity_np(NULL, 0, NULL);
                        ]])],
       [efl_have_setaffinity="yes"],
       [efl_have_setaffinity="no"])
-   CFLAGS=${SAVE_CFLAGS}
    LIBS=${SAVE_LIBS}
 fi
 
@@ -102,7 +100,6 @@ efl_have_posix_threads_spinlock="no"
 
 if test "x${_efl_have_posix_threads}" = "xyes" ; then
    SAVE_LIBS=${LIBS}
-   SAVE_CFLAGS=${CFLAGS}
    LIBS="${LIBS} ${LIBMULTITHREAD}"
    AC_LINK_IFELSE(
       [AC_LANG_PROGRAM([[
@@ -117,7 +114,6 @@ sched_yield();
                        ]])],
       [efl_have_posix_threads_spinlock="yes"],
       [efl_have_posix_threads_spinlock="no"])
-   CFLAGS=${SAVE_CFLAGS}
    LIBS=${SAVE_LIBS}
 
 fi

-- 


Reply via email to