From c30b32c3b00b157ad7bd0d408d1c083685e5ee07 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Mon, 8 Aug 1994 00:01:43 +0000 Subject: [PATCH] add dbm for an_to_ln, fix tioclset ifdef git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4060 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/configure.in | 3 +++ src/appl/bsd/login.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 04225d789..f4a4e5686 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -7,6 +7,9 @@ AC_SET_BUILDTOP AC_PROG_INSTALL AC_HAVE_LIBRARY(socket) AC_HAVE_LIBRARY(nsl) +dnl dbm libs for use of an_to_ln +AC_HAVE_LIBRARY(-lndbm) +AC_HAVE_LIBRARY(-ldbm) AC_FUNC_CHECK(strsave,AC_DEFINE(HAS_STRSAVE)) AC_FUNC_CHECK(utimes,AC_DEFINE(HAS_UTIMES)) AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT)) diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 0cbf16a8e..d3c19d2e4 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -378,7 +378,7 @@ main(argc, argv) #if !defined(_AIX) ioctlval = 0; -#ifndef TIOCLSET +#ifdef TIOCLSET /* linux, sco don't have this line discipline interface */ (void)ioctl(0, TIOCLSET, (char *)&ioctlval); #endif -- 2.26.2