summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1994-07-29 17:16:10 +0000
committerTom Yu <tlyu@mit.edu>1994-07-29 17:16:10 +0000
commit9e05c3038c1d88e28c82a7bc079da370cec19e37 (patch)
tree04486287381049e8cc53a897e8141aa540624cda /src/appl/telnet
parentc0c371e1afd0a81798316455c8bb8935a4e38bfa (diff)
downloadkrb5-9e05c3038c1d88e28c82a7bc079da370cec19e37.tar.gz
krb5-9e05c3038c1d88e28c82a7bc079da370cec19e37.tar.xz
krb5-9e05c3038c1d88e28c82a7bc079da370cec19e37.zip
* configure.in: add check for dbm libs
* commands.c: linux in_system.h (note "e") is broken git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4028 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet')
-rw-r--r--src/appl/telnet/telnet/ChangeLog6
-rw-r--r--src/appl/telnet/telnet/commands.c4
-rw-r--r--src/appl/telnet/telnet/configure.in2
3 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog
index 643c2f21da..bd49c1c98b 100644
--- a/src/appl/telnet/telnet/ChangeLog
+++ b/src/appl/telnet/telnet/ChangeLog
@@ -1,3 +1,9 @@
+Wed Jul 27 22:49:18 1994 Tom Yu (tlyu@dragons-lair)
+
+ * configure.in: add check for dbm libs
+
+ * commands.c: linux in_system.h (note "e") is broken
+
Tue Jul 26 18:22:00 1994 Tom Yu (tlyu@dragons-lair)
* Makefile.in: forgot some $(srcdir) stuff
diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c
index da7b459e98..f353251073 100644
--- a/src/appl/telnet/telnet/commands.c
+++ b/src/appl/telnet/telnet/commands.c
@@ -68,7 +68,11 @@ static char sccsid[] = "@(#)commands.c 8.1 (Berkeley) 6/6/93";
#include "types.h"
#if !defined(CRAY) && !defined(sysV88)
+#ifndef linux
#include <netinet/in_systm.h>
+#else /* someone broke the linux includes... */
+#include <netinet/in_system.h>
+#endif
# if (defined(vax) || defined(tahoe) || defined(hp300)) && !defined(ultrix)
# include <machine/endian.h>
# endif /* vax */
diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in
index 61301d6dea..4315281f6a 100644
--- a/src/appl/telnet/telnet/configure.in
+++ b/src/appl/telnet/telnet/configure.in
@@ -21,4 +21,6 @@ AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAS_GETTOS))
AC_HEADER_CHECK(sys/filio.h,AC_DEFINE(FILIO_H))
AC_HEADER_CHECK(sys/stream.h,AC_DEFINE(STREAMS))
AC_FUNC_CHECK(cgetent,AC_DEFINE(HAS_CGETENT))
+AC_HAVE_LIBRARY(-lndbm)
+AC_HAVE_LIBRARY(-ldbm)
AC_OUTPUT(Makefile,[EXTRA_RULES])