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
@@ -10212,6 +10212,7 @@


 # SysV needs -lsec, older versions of Linux need -lshadow for shadow
passwords.
+# UnixWare 7 needs -lgen.


   echo $ac_n "checking for library containing getspnam""... $ac_c" 1>&6
@@ -10243,7 +10244,7 @@
 fi
 rm -f conftest*
     if test "$ac_cv_search_getspnam" = "no"; then
-      for ac_lib in shadow sec; do
+      for ac_lib in shadow sec gen; do
  LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  cat > conftest.$ac_ext <<EOF
 #line 10250 "configure"


-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email 
is strictly prohibited.
If you have received this email in error, please notify the 
Thyron IT Administrator on +44 (0)1923 236 050 or 
send an email to [EMAIL PROTECTED]
Thank You

Reply via email to