* kuserok.c: HAS_UNISTD_H instead of USE_.
authorMark Eichin <eichin@mit.edu>
Fri, 28 Apr 1995 06:02:45 +0000 (06:02 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 28 Apr 1995 06:02:45 +0000 (06:02 +0000)
* configure.in: test for HAVE_STRSAVE (for kparse.c).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5597 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/configure.in
src/lib/krb4/kuserok.c

index 2f730c3e48726b39aa61c5e75fe3c05752b23415..03a9ebdf18a1e40c1db816b0c9bfe2ebee7435c4 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 28 01:55:18 1995  Mark W. Eichin  <eichin@cygnus.com>
+
+       * 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  <eichin@cygnus.com>
 
        * configure.in: use AC_CHECK_SIZEOF(int) to set BITS16/BITS32.
index de01bfd0b6d5600617523ee4048b379cadc3b78f..2fe5a826bc98f909928677a85860786b84a53727 100644 (file)
@@ -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
index ef22b4a47bf3cd95cc7c95d3f49aa6843124de49..f83550775edadbc18d2d710433e51ced9680dfcb 100644 (file)
@@ -19,7 +19,7 @@
 #include <sys/stat.h>
 #include <sys/file.h>
 #include <string.h>
-#ifdef USE_UNISTD_H
+#ifdef HAS_UNISTD_H
 #include <unistd.h>
 #endif
 #ifdef __SCO__