summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1995-06-20 19:07:24 +0000
committerTom Yu <tlyu@mit.edu>1995-06-20 19:07:24 +0000
commit2369d45fed8f93749934e3d0f553c3acbe7f892d (patch)
tree0956af53743762a65902cd72863ed4520f794e75 /src
parent5576c833a5faffb66c7dc4d48f231a30d99de091 (diff)
* externs.h: NO_STRING_H -> HAVE_STRING_H
* configure.in: add test for string.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6102 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/appl/telnet/telnet/ChangeLog6
-rw-r--r--src/appl/telnet/telnet/configure.in1
-rw-r--r--src/appl/telnet/telnet/externs.h6
3 files changed, 10 insertions, 3 deletions
diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog
index d2ed26b24..589c388b9 100644
--- a/src/appl/telnet/telnet/ChangeLog
+++ b/src/appl/telnet/telnet/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jun 20 14:10:26 1995 Tom Yu (tlyu@dragons-lair)
+
+ * externs.h: NO_STRING_H -> HAVE_STRING_H
+
+ * configure.in: add test for string.h
+
Fri Jun 16 09:18:42 1995 Tom Yu (tlyu@dragons-lair)
* Makefile.in: "install::" to shut up gmake
diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in
index 3bfbe660f..e3ba0cc52 100644
--- a/src/appl/telnet/telnet/configure.in
+++ b/src/appl/telnet/telnet/configure.in
@@ -2,6 +2,7 @@ AC_INIT(telnet.c)
CONFIG_RULES
AC_PROG_INSTALL
AC_VFORK
+AC_CHECK_HEADERS(string.h)
AC_HAVE_HEADERS(unistd.h sys/select.h stdlib.h)
AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP)
LIBS="$LIBS -ltermcap")
diff --git a/src/appl/telnet/telnet/externs.h b/src/appl/telnet/telnet/externs.h
index 8e66fdf6e..3ebf1dd16 100644
--- a/src/appl/telnet/telnet/externs.h
+++ b/src/appl/telnet/telnet/externs.h
@@ -92,10 +92,10 @@ typedef unsigned char cc_t;
extern char *malloc(), *calloc(), *realloc();
#endif
-#ifndef NO_STRING_H
-#include <string.h>
-#else
+#ifndef HAVE_STRING_H
#include <strings.h>
+#else
+#include <string.h>
#endif
#ifndef _POSIX_VDISABLE