Remove HAVE_LOGIN_CAP now that the internal locking mechanism was removed, due

to OpenBSD patchset 347.
This commit is contained in:
Tiago Cunha 2009-09-23 15:05:03 +00:00
parent 5743da5588
commit 88f689e167
2 changed files with 2 additions and 10 deletions

View File

@ -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> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -91,10 +91,6 @@ typedef uint64_t u_int64_t;
#include "compat/imsg.h" #include "compat/imsg.h"
#endif #endif
#ifdef HAVE_LOGIN_CAP
#include <login_cap.h>
#endif
#ifdef HAVE_BROKEN_CMSG_FIRSTHDR #ifdef HAVE_BROKEN_CMSG_FIRSTHDR
/* Broken on OS X. */ /* Broken on OS X. */
#undef CMSG_FIRSTHDR #undef CMSG_FIRSTHDR

6
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh #!/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`} TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@ -22,7 +22,6 @@ cat <<EOF >>$CONFIG_H
#undef HAVE_GETOPT #undef HAVE_GETOPT
#undef HAVE_IMSG #undef HAVE_IMSG
#undef HAVE_LIBUTIL_H #undef HAVE_LIBUTIL_H
#undef HAVE_LOGIN_CAP
#undef HAVE_PATHS_H #undef HAVE_PATHS_H
#undef HAVE_POLL #undef HAVE_POLL
#undef HAVE_PROGNAME #undef HAVE_PROGNAME
@ -51,7 +50,6 @@ case $TMUX_PLATFORM in
#define HAVE_FGETLN #define HAVE_FGETLN
#define HAVE_FORKPTY #define HAVE_FORKPTY
#define HAVE_GETOPT #define HAVE_GETOPT
#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H #define HAVE_PATHS_H
#define HAVE_POLL #define HAVE_POLL
#define HAVE_PROGNAME #define HAVE_PROGNAME
@ -196,7 +194,6 @@ EOF
#define HAVE_FORKPTY #define HAVE_FORKPTY
#define HAVE_GETOPT #define HAVE_GETOPT
#define HAVE_LIBUTIL_H #define HAVE_LIBUTIL_H
#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H #define HAVE_PATHS_H
#define HAVE_POLL #define HAVE_POLL
#define HAVE_PROGNAME #define HAVE_PROGNAME
@ -227,7 +224,6 @@ EOF
#define HAVE_FGETLN #define HAVE_FGETLN
#define HAVE_FORKPTY #define HAVE_FORKPTY
#define HAVE_GETOPT #define HAVE_GETOPT
#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H #define HAVE_PATHS_H
#define HAVE_POLL #define HAVE_POLL
#define HAVE_PROGNAME #define HAVE_PROGNAME