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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user