1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

getusershell: Move AC_LIBOBJ invocations to module description.

* m4/getusershell.m4 (gl_FUNC_GETUSERSHELL): Set HAVE_GETUSERSHELL.
Move AC_LIBOBJ invocation from here...
* modules/getusershell (configure.ac): ... to here.
(Depends-on): Update condition.
This commit is contained in:
Bruno Haible
2011-05-08 18:21:24 +02:00
parent 7f0c29413f
commit 04e7654144
3 changed files with 16 additions and 4 deletions

View File

@@ -8,11 +8,14 @@ m4/getusershell.m4
Depends-on:
unistd
extensions
fopen-safer [test $ac_cv_func_getusershell = no]
xalloc [test $ac_cv_func_getusershell = no]
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: