diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-23 15:05:03 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-23 15:05:03 +0000 |
commit | 88f689e16727859674f186a0fd28cbf92d9427d6 (patch) | |
tree | d5a23fb6c4d50888523817703dd8f92474fec07e | |
parent | 5743da558837ed21c5af0ebd8048637731997ec6 (diff) |
Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, due
to OpenBSD patchset 347.
-rw-r--r-- | compat.h | 6 | ||||
-rwxr-xr-x | configure | 6 |
2 files changed, 2 insertions, 10 deletions
@@ -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 @@ -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 |