diff options
author | Jim Meyering <jim@meyering.net> | 2000-03-10 09:08:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-03-10 09:08:53 +0000 |
commit | a63b8f03f46eeade970073eac822d1bbe3ffea3e (patch) | |
tree | 1bda6494944cd365465c5dd47335b02f552af903 /m4 | |
parent | ff1b77a70abbe0f72d1a1170db44d72e159a8641 (diff) | |
download | coreutils-a63b8f03f46eeade970073eac822d1bbe3ffea3e.tar.xz |
Look for getspnam in -lgen, too.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/lib-check.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/lib-check.m4 b/m4/lib-check.m4 index 559dbdd37..fe5895a38 100644 --- a/m4/lib-check.m4 +++ b/m4/lib-check.m4 @@ -1,4 +1,4 @@ -#serial 2 +#serial 3 dnl Misc lib-related macros for fileutils, sh-utils, textutils. @@ -39,8 +39,8 @@ AC_DEFUN(jm_LIB_CHECK, AC_SEARCH_LIBS(yp_match, [sun ypsec]) # SysV needs -lsec, older versions of Linux need -lshadow for - # shadow passwords. - AC_SEARCH_LIBS(getspnam, [shadow sec]) + # shadow passwords. UnixWare 7 needs -lgen. + AC_SEARCH_LIBS(getspnam, [shadow sec gen]) # Requirements for su.c. AC_CHECK_MEMBERS((struct spwd.sp_pwdp)) |