* 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
+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
#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 */
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])