]> git.sesse.net Git - vlc/commitdiff
configure: fix broken poll() test
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 27 Aug 2009 09:43:13 +0000 (11:43 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Thu, 27 Aug 2009 09:43:13 +0000 (11:43 +0200)
Oops.

configure.ac

index ea357c319a89befeb7e4775660264a5df1fa524d..748bb21f32d616d4173f5a4e212786d0f3ed2717 100644 (file)
@@ -877,7 +877,7 @@ AC_CHECK_TYPE(ssize_t,, [
 
 dnl Check for poll
 AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])], [
-if test ${SYS} != "mingw32" -a test ${SYS} != "mingwce"
+if test ${SYS} != "mingw32" -a ${SYS} != "mingwce"
 then
     AC_MSG_WARN([Your platform does not support poll(). VLC has it's own poll() implementation, but it is only intended to be used on Windows. VLC might crash or be insecure when you see this message. Either switch to an OS with a proper poll() implementation, or implement one for your OS in VLC])
 fi