NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / getusershell
index 8b64506..26f99e5 100644 (file)
@@ -6,15 +6,22 @@ lib/getusershell.c
 m4/getusershell.m4
 
 Depends-on:
-fopen-safer
-xalloc
+unistd
+extensions
+fopen-safer     [test $HAVE_GETUSERSHELL = 0]
+xalloc          [test $HAVE_GETUSERSHELL = 0]
 
 configure.ac:
 gl_FUNC_GETUSERSHELL
+if test $HAVE_GETUSERSHELL = 0; then
+  AC_LIBOBJ([getusershell])
+fi
+gl_UNISTD_MODULE_INDICATOR([getusershell])
 
 Makefile.am:
 
 Include:
+<unistd.h>
 
 License:
 GPL