"Marco Franzen" <[EMAIL PROTECTED]> writes:
| On a new SCO box (i686-UnixWare7.1.0-sysv5), configure fails to find the
| library for passwd shadowing.
| It then configures as if there were no shadowing, and `su' fails to verify
| passwords.
|
| The correct link option is `-lgen'. Have configure check for it like this:
|
| --- configure~ Thu Mar  9 11:03:03 2000
| +++ configure Thu Mar  9 11:03:36 2000
...

Thanks.
I've fixed it for the next release.
The actual change is to the following file from which
the affected part of configure is generated.

Index: m4/lib-check.m4
===================================================================
RCS file: /fetish/shellutils/m4/lib-check.m4,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- m4/lib-check.m4     2000/02/09 11:57:55     1.5
+++ m4/lib-check.m4     2000/03/10 09:08:53     1.6
@@ -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))

Reply via email to