changeset 2346:577179b11fe9

Look for getspnam in -lgen, too.
author Jim Meyering <jim@meyering.net>
date Fri, 10 Mar 2000 09:08:53 +0000
parents 93d6633849d6
children 19edf49307cd
files m4/lib-check.m4
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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_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))