summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-08-08 00:01:43 +0000
committerMark Eichin <eichin@mit.edu>1994-08-08 00:01:43 +0000
commitc30b32c3b00b157ad7bd0d408d1c083685e5ee07 (patch)
tree25202d2aead5542b4fcea8cd2c8e9f2bcb2d032f /src
parent8267bcbf07053783ca0663f04650b84c11012f80 (diff)
add dbm for an_to_ln, fix tioclset ifdef
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4060 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/appl/bsd/configure.in3
-rw-r--r--src/appl/bsd/login.c2
2 files changed, 4 insertions, 1 deletions
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