summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-23 15:05:03 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-23 15:05:03 +0000
commit88f689e16727859674f186a0fd28cbf92d9427d6 (patch)
treed5a23fb6c4d50888523817703dd8f92474fec07e
parent5743da558837ed21c5af0ebd8048637731997ec6 (diff)
Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, due
to OpenBSD patchset 347.
-rw-r--r--compat.h6
-rwxr-xr-xconfigure6
2 files changed, 2 insertions, 10 deletions
diff --git a/compat.h b/compat.h
index a6265d73..9ac18e2f 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
-/* $Id: compat.h,v 1.17 2009-09-03 20:54:39 tcunha Exp $ */
+/* $Id: compat.h,v 1.18 2009-09-23 15:05:03 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -91,10 +91,6 @@ typedef uint64_t u_int64_t;
#include "compat/imsg.h"
#endif
-#ifdef HAVE_LOGIN_CAP
-#include <login_cap.h>
-#endif
-
#ifdef HAVE_BROKEN_CMSG_FIRSTHDR
/* Broken on OS X. */
#undef CMSG_FIRSTHDR
diff --git a/configure b/configure
index 2bdfe40d..dbabd98f 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.39 2009-09-22 19:20:08 nicm Exp $
+# $Id: configure,v 1.40 2009-09-23 15:05:03 tcunha Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -22,7 +22,6 @@ cat <<EOF >>$CONFIG_H
#undef HAVE_GETOPT
#undef HAVE_IMSG
#undef HAVE_LIBUTIL_H
-#undef HAVE_LOGIN_CAP
#undef HAVE_PATHS_H
#undef HAVE_POLL
#undef HAVE_PROGNAME
@@ -51,7 +50,6 @@ case $TMUX_PLATFORM in
#define HAVE_FGETLN
#define HAVE_FORKPTY
#define HAVE_GETOPT
-#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H
#define HAVE_POLL
#define HAVE_PROGNAME
@@ -196,7 +194,6 @@ EOF
#define HAVE_FORKPTY
#define HAVE_GETOPT
#define HAVE_LIBUTIL_H
-#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H
#define HAVE_POLL
#define HAVE_PROGNAME
@@ -227,7 +224,6 @@ EOF
#define HAVE_FGETLN
#define HAVE_FORKPTY
#define HAVE_GETOPT
-#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H
#define HAVE_POLL
#define HAVE_PROGNAME