Eina : configure.ac : improve shm_open detection

* Do not use spaces around '=' in configure scripts
 * formatting
 * put -lrt in EINA_LIBS instead of LIBS


SVN revision: 61357
This commit is contained in:
Vincent Torri 2011-07-14 06:58:59 +00:00
parent 25e3fb0162
commit f9fe039a95
1 changed files with 9 additions and 9 deletions

View File

@ -589,7 +589,7 @@ AC_CHECK_FUNCS([fpathconf], [AC_DEFINE(HAVE_FPATHCONF)], [])
have_shmopen=no
AC_MSG_CHECKING(for shm_open availability)
LIBS_save = "${LIBS}"
LIBS_save="${LIBS}"
LIBS="${LIBS} -lrt"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
@ -612,7 +612,7 @@ AC_MSG_RESULT([${have_shmopen}])
if test "x${have_shmopen}" = "xyes"; then
AC_DEFINE(HAVE_SHMOPEN, 1, [Does your system provide shm_open])
LIBS="${LIBS} -lrt"
EINA_LIBS="${EINA_LIBS} -lrt"
fi
### Modules