From: Tom Yu Date: Tue, 20 Jun 1995 19:08:04 +0000 (+0000) Subject: * defs.h: NO_STRING_H -> HAVE_STRING_H X-Git-Tag: krb5-1.0-beta6~1710 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=54c5894568b97b4fe6ec5bbe0d496423f1546718;p=krb5.git * defs.h: NO_STRING_H -> HAVE_STRING_H * configure.in: add test for string.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6103 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index b873243b3..9203e16fe 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,9 @@ +Tue Jun 20 14:25:01 1995 Tom Yu (tlyu@dragons-lair) + + * defs.h: NO_STRING_H -> HAVE_STRING_H + + * configure.in: add test for string.h + Thu Jun 15 17:43:21 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Change explicit library names to -l form, and change target link line to use $(LD) and associated flags. diff --git a/src/appl/telnet/telnetd/configure.in b/src/appl/telnet/telnetd/configure.in index 498f12f6b..83a111927 100644 --- a/src/appl/telnet/telnetd/configure.in +++ b/src/appl/telnet/telnetd/configure.in @@ -19,6 +19,7 @@ if test -z "$ac_sysv_termio"; then fi fi AC_HEADER_TIME +AC_CHECK_HEADERS(string.h) AC_CHECK_HEADERS(sys/time.h sys/tty.h) AC_HAVE_FUNCS(vhangup) AC_FUNC_CHECK(grantpt,AC_DEFINE(STREAMSPTY)) diff --git a/src/appl/telnet/telnetd/defs.h b/src/appl/telnet/telnetd/defs.h index 8c47427fc..b876269f7 100644 --- a/src/appl/telnet/telnetd/defs.h +++ b/src/appl/telnet/telnetd/defs.h @@ -114,10 +114,10 @@ #define LOG_ODELAY 0 #endif #include -#ifndef NO_STRING_H -#include -#else +#ifndef HAVE_STRING_H #include +#else +#include #endif #ifndef USE_TERMIO