maint.mk: relax the default _gl_TS_function_match regexp
[gnulib.git] / modules / select
index 299d105..5969a4e 100644 (file)
@@ -6,11 +6,15 @@ lib/select.c
 m4/select.m4
 
 Depends-on:
-alloca
 sys_select
+alloca          [test $REPLACE_SELECT = 1]
+sockets         [test $REPLACE_SELECT = 1]
 
 configure.ac:
 gl_FUNC_SELECT
+if test $REPLACE_SELECT = 1; then
+  AC_LIBOBJ([select])
+fi
 gl_SYS_SELECT_MODULE_INDICATOR([select])
 
 Makefile.am:
@@ -18,6 +22,9 @@ Makefile.am:
 Include:
 <sys/select.h>
 
+Link:
+$(LIBSOCKET)
+
 License:
 LGPLv2+