[vlc-devel] commit: configure: fix broken poll() test (Pierre Ynard )

git version control git at videolan.org
Thu Aug 27 11:45:34 CEST 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Aug 27 11:43:13 2009 +0200| [41a095a6fdb40414a2e51d51143ea2d51d866621] | committer: Pierre Ynard 

configure: fix broken poll() test

Oops.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41a095a6fdb40414a2e51d51143ea2d51d866621
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ea357c3..748bb21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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




More information about the vlc-devel mailing list