gnulib-tool: fix portability problem with MacOS sed
[gnulib.git] / modules / getlogin_r
index 13c287f..c0fb4a6 100644 (file)
@@ -6,8 +6,9 @@ lib/getlogin_r.c
 m4/getlogin_r.m4
 
 Depends-on:
-extensions
 unistd
+extensions
+memchr          [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1]
 
 configure.ac:
 gl_FUNC_GETLOGIN_R