[PATCH 1/3] configure: No longer use libpoll.

Huw Davies huw at codeweavers.com
Mon Oct 4 09:40:12 CDT 2021


This became unnecessary after macOS 10.5.

Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 configure.ac                 | 6 ------
 dlls/ws2_32/Makefile.in      | 1 -
 programs/winedbg/Makefile.in | 1 -
 server/Makefile.in           | 2 +-
 4 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 913692c828a..7e85e46b87b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2166,12 +2166,6 @@ dnl Check for -ldl
 AC_SEARCH_LIBS(dlopen, dl)
 WINE_CHECK_LIB_FUNCS(dladdr dlinfo,[$DL_LIBS])
 
-dnl Check for -lpoll for Mac OS X/Darwin
-if test "$ac_cv_func_poll" = no
-then
-    AC_CHECK_LIB(poll,poll,[AC_DEFINE(HAVE_POLL,1) AC_SUBST(POLL_LIBS,"-lpoll")])
-fi
-
 dnl Check for -lnsl for Solaris
 AC_SEARCH_LIBS(gethostbyname, nsl)
 
diff --git a/dlls/ws2_32/Makefile.in b/dlls/ws2_32/Makefile.in
index bf9018260a4..232ce7f31fd 100644
--- a/dlls/ws2_32/Makefile.in
+++ b/dlls/ws2_32/Makefile.in
@@ -2,7 +2,6 @@ MODULE    = ws2_32.dll
 UNIXLIB   = ws2_32.so
 IMPORTLIB = ws2_32
 DELAYIMPORTS = advapi32 iphlpapi user32
-EXTRALIBS = $(POLL_LIBS)
 
 C_SRCS = \
 	async.c \
diff --git a/programs/winedbg/Makefile.in b/programs/winedbg/Makefile.in
index bf036fc9b01..620b70bdf40 100644
--- a/programs/winedbg/Makefile.in
+++ b/programs/winedbg/Makefile.in
@@ -1,7 +1,6 @@
 MODULE    = winedbg.exe
 IMPORTS   = dbghelp advapi32
 DELAYIMPORTS = comdlg32 shell32 comctl32 user32 gdi32
-EXTRALIBS = $(POLL_LIBS)
 
 EXTRADLLFLAGS = -mconsole -mcygwin
 
diff --git a/server/Makefile.in b/server/Makefile.in
index 4264e3db108..b6197cffec3 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -49,6 +49,6 @@ MANPAGES = \
 	wineserver.fr.UTF-8.man.in \
 	wineserver.man.in
 
-EXTRALIBS = $(LDEXECFLAGS) $(POLL_LIBS) $(RT_LIBS) $(INOTIFY_LIBS)
+EXTRALIBS = $(LDEXECFLAGS) $(RT_LIBS) $(INOTIFY_LIBS)
 
 unicode_EXTRADEFS = -DNLSDIR="\"${nlsdir}\"" -DBIN_TO_NLSDIR=\"`$(MAKEDEP) -R ${bindir} ${nlsdir}`\"
-- 
2.23.0




More information about the wine-devel mailing list