From f03cdc66b1a883d163b108406d7868ebadd1f59f Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 19 Feb 1999 03:32:15 +0000 Subject: [PATCH] * configure.in: Add check for setluid() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11187 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ChangeLog | 4 ++++ src/clients/configure.in | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/src/clients/ChangeLog b/src/clients/ChangeLog index 4a11e71de..896ce647b 100644 --- a/src/clients/ChangeLog +++ b/src/clients/ChangeLog @@ -1,3 +1,7 @@ +Thu Feb 18 22:31:56 1999 Tom Yu + + * configure.in: Add check for setluid(). + 1998-11-13 Theodore Ts'o * Makefile.in: Set the myfulldir and mydir variables (which are diff --git a/src/clients/configure.in b/src/clients/configure.in index c2f6b02fe..d78039edf 100644 --- a/src/clients/configure.in +++ b/src/clients/configure.in @@ -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) -- 2.26.2