m4: remove saving of CFLAGS

Since we don't modify cflags, no need to save them.
This commit is contained in:
Sebastian Dransfeld 2013-11-15 13:19:58 +01:00
parent deec62c9b6
commit d606437f65
1 changed files with 0 additions and 4 deletions

View File

@ -50,7 +50,6 @@ dnl check if the compiler supports POSIX threads
if test "x${_efl_have_posix_threads}" = "xyes" ; then if test "x${_efl_have_posix_threads}" = "xyes" ; then
SAVE_LIBS=${LIBS} SAVE_LIBS=${LIBS}
SAVE_CFLAGS=${CFLAGS}
LIBS="${LIBS} ${LIBMULTITHREAD}" LIBS="${LIBS} ${LIBMULTITHREAD}"
AC_LINK_IFELSE( AC_LINK_IFELSE(
[AC_LANG_PROGRAM([[ [AC_LANG_PROGRAM([[
@ -73,7 +72,6 @@ pthread_attr_setaffinity_np(NULL, 0, NULL);
]])], ]])],
[efl_have_setaffinity="yes"], [efl_have_setaffinity="yes"],
[efl_have_setaffinity="no"]) [efl_have_setaffinity="no"])
CFLAGS=${SAVE_CFLAGS}
LIBS=${SAVE_LIBS} LIBS=${SAVE_LIBS}
fi fi
@ -102,7 +100,6 @@ efl_have_posix_threads_spinlock="no"
if test "x${_efl_have_posix_threads}" = "xyes" ; then if test "x${_efl_have_posix_threads}" = "xyes" ; then
SAVE_LIBS=${LIBS} SAVE_LIBS=${LIBS}
SAVE_CFLAGS=${CFLAGS}
LIBS="${LIBS} ${LIBMULTITHREAD}" LIBS="${LIBS} ${LIBMULTITHREAD}"
AC_LINK_IFELSE( AC_LINK_IFELSE(
[AC_LANG_PROGRAM([[ [AC_LANG_PROGRAM([[
@ -117,7 +114,6 @@ sched_yield();
]])], ]])],
[efl_have_posix_threads_spinlock="yes"], [efl_have_posix_threads_spinlock="yes"],
[efl_have_posix_threads_spinlock="no"]) [efl_have_posix_threads_spinlock="no"])
CFLAGS=${SAVE_CFLAGS}
LIBS=${SAVE_LIBS} LIBS=${SAVE_LIBS}
fi fi