mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 03:13:42 +08:00
Clean up some kludgy old shadow password tests.
This commit is contained in:
parent
744efcce69
commit
fd3817b9dc
@ -1,4 +1,4 @@
|
|||||||
#serial 1
|
#serial 2
|
||||||
|
|
||||||
dnl Misc lib-related macros for fileutils, sh-utils, textutils.
|
dnl Misc lib-related macros for fileutils, sh-utils, textutils.
|
||||||
|
|
||||||
@ -42,8 +42,10 @@ AC_DEFUN(jm_LIB_CHECK,
|
|||||||
# shadow passwords.
|
# shadow passwords.
|
||||||
AC_SEARCH_LIBS(getspnam, [shadow sec])
|
AC_SEARCH_LIBS(getspnam, [shadow sec])
|
||||||
|
|
||||||
AC_EGREP_HEADER(sp_pwdp, shadow.h,
|
# Requirements for su.c.
|
||||||
AC_CHECK_FUNC(getspnam, AC_DEFINE(HAVE_SHADOW_H)))
|
AC_CHECK_MEMBERS(struct passwd.sp_pwdp)
|
||||||
|
AC_CHECK_FUNCS(getspnam)
|
||||||
|
AC_CHECK_HEADERS(shadow.h)
|
||||||
|
|
||||||
# SCO-ODT-3.0 is reported to need -lufc for crypt.
|
# SCO-ODT-3.0 is reported to need -lufc for crypt.
|
||||||
# NetBSD needs -lcrypt for crypt.
|
# NetBSD needs -lcrypt for crypt.
|
||||||
|
Loading…
Reference in New Issue
Block a user