From: Derk-Jan Hartman Date: Thu, 7 Aug 2008 19:32:10 +0000 (+0200) Subject: poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10.5 is good enough... X-Git-Tag: 0.9.0~540 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=baa0d1d8affa49fdf1546e8e9ed5d0382a7c96cf;p=vlc poll() : Define HAVE_POLL on darwin. native poll() on 10.4 and 10.5 is good enough for usage in VLC. I tested both the rc interface and the SAP module on a G4 with Mac OS X 10.4 --- diff --git a/configure.ac b/configure.ac index 718f0e5394..a810c616b1 100644 --- a/configure.ac +++ b/configure.ac @@ -810,10 +810,8 @@ AC_CHECK_TYPE(ssize_t,, [ AC_DEFINE(ssize_t, int) ]) -dnl don't attemp to use poll on darwin, it can't poll a tty. select will do a better job. -if test "${SYS}" != "darwin"; then - AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])]) -fi +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().])]) dnl Check for dirent need_dirent=false