Emotion: fix typo on emotion_check.m4

And also remove an unused var.


SVN revision: 68846
This commit is contained in:
Bruno Dilly 2012-03-06 19:55:14 +00:00
parent 9816cfd263
commit 72d14feb07
1 changed files with 2 additions and 3 deletions

View File

@ -181,8 +181,7 @@ AC_COMPILE_IFELSE(
#include <fcntl.h>
]],
[[
int fd;
fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
shm_unlink("/");
]])],
[
@ -196,7 +195,7 @@ AC_SUBST(SHM_OPEN_LIBS)
AC_MSG_CHECKING([shm_open])
AC_MSG_RESULT([${have_shm_open}])
if test "x{have_shm_open)" != "xyes"; then
if test "x${have_shm_open}" != "xyes"; then
enable_generic="no"
fi