From: Mark Eichin Date: Fri, 28 Apr 1995 06:02:45 +0000 (+0000) Subject: * kuserok.c: HAS_UNISTD_H instead of USE_. X-Git-Tag: krb5-1.0-beta5~155 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71d0ea9d03f829586c4047cfd0a785fb00a74e0e;p=krb5.git * kuserok.c: HAS_UNISTD_H instead of USE_. * configure.in: test for HAVE_STRSAVE (for kparse.c). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5597 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 2f730c3e4..03a9ebdf1 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 28 01:55:18 1995 Mark W. Eichin + + * kuserok.c: HAS_UNISTD_H instead of USE_. + * configure.in: test for HAVE_STRSAVE (for kparse.c). + Fri Apr 28 01:38:42 1995 Mark W. Eichin * configure.in: use AC_CHECK_SIZEOF(int) to set BITS16/BITS32. diff --git a/src/lib/krb4/configure.in b/src/lib/krb4/configure.in index de01bfd0b..2fe5a826b 100644 --- a/src/lib/krb4/configure.in +++ b/src/lib/krb4/configure.in @@ -37,6 +37,7 @@ if test $ac_cv_sizeof_int = 2; then else AC_DEFINE(BITS32) fi +AC_FUNC_CHECK(strsave,AC_DEFINE(HAVE_STRSAVE)) ET_RULES SubdirLibraryRule([$(OBJS)]) KRB_INCLUDE diff --git a/src/lib/krb4/kuserok.c b/src/lib/krb4/kuserok.c index ef22b4a47..f83550775 100644 --- a/src/lib/krb4/kuserok.c +++ b/src/lib/krb4/kuserok.c @@ -19,7 +19,7 @@ #include #include #include -#ifdef USE_UNISTD_H +#ifdef HAS_UNISTD_H #include #endif #ifdef __SCO__