From 72d14feb074d8cf9b1bae894f32674a1ba39e57b Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Tue, 6 Mar 2012 19:55:14 +0000 Subject: [PATCH] Emotion: fix typo on emotion_check.m4 And also remove an unused var. SVN revision: 68846 --- legacy/emotion/m4/emotion_check.m4 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/legacy/emotion/m4/emotion_check.m4 b/legacy/emotion/m4/emotion_check.m4 index f70a2c3bcf..a1d93ac7c8 100644 --- a/legacy/emotion/m4/emotion_check.m4 +++ b/legacy/emotion/m4/emotion_check.m4 @@ -181,8 +181,7 @@ AC_COMPILE_IFELSE( #include ]], [[ -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