projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freopen-safer: Move AC_LIBOBJ invocations to module description.
[pspp]
/
modules
/
getusershell
diff --git
a/modules/getusershell
b/modules/getusershell
index 4baf102f4a7f74681d20002f84e0c05bd99b1386..26f99e58cadecc1839668e717ad446327f9dbf58 100644
(file)
--- a/
modules/getusershell
+++ b/
modules/getusershell
@@
-6,16
+6,22
@@
lib/getusershell.c
m4/getusershell.m4
Depends-on:
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
configure.ac:
gl_FUNC_GETUSERSHELL
+if test $HAVE_GETUSERSHELL = 0; then
+ AC_LIBOBJ([getusershell])
+fi
+gl_UNISTD_MODULE_INDICATOR([getusershell])
Makefile.am:
Makefile.am:
-EXTRA_DIST += getusershell.c
Include:
Include:
+<unistd.h>
License:
GPL
License:
GPL