summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1997-09-26 02:41:57 +0000
committerTom Yu <tlyu@mit.edu>1997-09-26 02:41:57 +0000
commitc5ce7f14592f60ba76fc8abef70a69e8634e5c30 (patch)
treeb6b32cd2e072f2034da8e0140c2de45181d7f7a5 /src/include
parentce33c8103370305cc7c67b49928338f9b5106fd6 (diff)
downloadkrb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.gz
krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.xz
krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.zip
Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replace
with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog6
-rw-r--r--src/include/k5-int.h2
-rw-r--r--src/include/krb5/ChangeLog4
-rw-r--r--src/include/krb5/configure.in8
-rw-r--r--src/include/win-mac.h2
5 files changed, 15 insertions, 7 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 2dd4e5af5d..a82c21bc4b 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,9 @@
+Thu Sep 25 21:10:37 1997 Tom Yu <tlyu@mit.edu>
+
+ * win-mac.h: Replace KRB5_USE_INET with something more sane.
+
+ * k5-int.h: Replace HAS_UNISTD_H with something more sane.
+
Thu Sep 18 17:52:59 1997 Tom Yu <tlyu@mit.edu>
* win-mac.h: Replace USE_STRING_H with something more sane.
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 47edbce03f..acb0fca197 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -375,7 +375,7 @@ extern char *getenv();
extern char *strdup KRB5_PROTOTYPE((const char *));
#endif
-#ifdef HAS_UNISTD_H
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 9226e5efec..826e96773c 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 25 21:50:44 1997 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Replace KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF.
+
Thu Sep 18 20:42:03 1997 Tom Yu <tlyu@mit.edu>
* configure.in: Replace USE_STRING_H, HAS_STRDUP, HAS_LABS
diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in
index 2e6dcd8eb5..f197553267 100644
--- a/src/include/krb5/configure.in
+++ b/src/include/krb5/configure.in
@@ -4,7 +4,7 @@ AC_CONFIG_HEADER(autoconf.h)
AC_PROG_LEX
AC_PROG_INSTALL
HAVE_YYLINENO
-AC_CHECK_FUNCS(strdup labs)
+AC_CHECK_FUNCS(strdup labs setvbuf)
CHECK_DIRENT
CHECK_WAIT_TYPE
AC_TYPE_UID_T
@@ -20,12 +20,11 @@ KRB5_SIGTYPE
dnl
dnl
-AC_CHECK_HEADERS(string.h)
+AC_CHECK_HEADERS(string.h unistd.h)
AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H),AC_DEFINE(NO_STDLIB_H))
AC_CHECK_HEADERS(sys/types.h sys/file.h sys/param.h sys/stat.h macsock.h stddef.h xom.h dbm.h ndbm.h)
AC_HEADER_STDARG
-AC_FUNC_CHECK([setvbuf],AC_DEFINE(HAS_SETVBUF))
dnl check for ANSI stdio, esp "b" option to fopen(). This (unfortunately)
dnl requires a run check...
AC_C_CROSS
@@ -86,8 +85,7 @@ dnl then from osconf.h, we have
AC_TIME_WITH_SYS_TIME
AC_CHECK_HEADERS(sys/time.h)
-AC_HEADER_CHECK(netinet/in.h,AC_DEFINE(KRB5_USE_INET))
-AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H))
+AC_CHECK_HEADERS(netinet/in.h)
AC_CHECK_LIB(ndbm,main)
AC_CHECK_LIB(dbm,main)
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index 516c719979..cd787d0c71 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -96,7 +96,7 @@ typedef unsigned char u_char;
#define MAXHOSTNAMELEN 512
#define MAXPATHLEN 256 /* Also for Windows temp files */
-#define KRB5_USE_INET
+#define HAVE_NETINET_IN_H
#define MSDOS_FILESYSTEM
#define HAVE_STRING_H
#define HAVE_SRAND