Clean up some kludgy old shadow password tests.

This commit is contained in:
Jim Meyering 2000-01-30 16:48:19 +00:00
parent 744efcce69
commit fd3817b9dc

View File

@ -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.