* configure.in: Add check for setluid()
authorTom Yu <tlyu@mit.edu>
Fri, 19 Feb 1999 03:32:15 +0000 (03:32 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 19 Feb 1999 03:32:15 +0000 (03:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11187 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ChangeLog
src/clients/configure.in

index 4a11e71dec634f63da7f89a6c23d3f4c0457e474..896ce647bd3496880bd7d3c8312d2a56a9c2d377 100644 (file)
@@ -1,3 +1,7 @@
+Thu Feb 18 22:31:56 1999  Tom Yu  <tlyu@mit.edu>
+
+       * configure.in: Add check for setluid().
+
 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * Makefile.in: Set the myfulldir and mydir variables (which are
index c2f6b02fe9775df3da1e4d19f14842a08d496a1a..d78039edf5947d523e117da92dbb73ef178482ea 100644 (file)
@@ -5,6 +5,15 @@ KRB5_BUILD_PROGRAM
 AC_HEADER_STDARG
 AC_CHECK_FUNCS(getusershell lstat )
 AC_CHECK_HEADERS(unistd.h pwd.h)
+case $krb5_cv_host in
+alpha-dec-osf*)
+       AC_CHECK_LIB(security,setluid,
+               AC_DEFINE(HAVE_SETLUID)
+               KSU_LIBS="$KSU_LIBS -lsecurity"
+       )
+       ;;
+esac
+AC_SUBST(KSU_LIBS)
 K5_GEN_MAKEFILE(.)
 K5_GEN_MAKEFILE(klist)
 K5_GEN_MAKEFILE(kinit)