From: Tom Yu Date: Tue, 20 Jun 1995 19:07:24 +0000 (+0000) Subject: * externs.h: NO_STRING_H -> HAVE_STRING_H X-Git-Tag: krb5-1.0-beta6~1711 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2369d45fed8f93749934e3d0f553c3acbe7f892d;p=krb5.git * 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 --- 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 -#else +#ifndef HAVE_STRING_H #include +#else +#include #endif #ifndef _POSIX_VDISABLE