aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-03 20:54:39 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-03 20:54:39 +0000
commitc274551db67a3002f12afa127c32509ae194e3e5 (patch)
tree30c706b4b15bcc46c057cd44129c7416a9c2a8c4 /configure
parentf796336a12e2d3c487a53854fdf28c096481a34a (diff)
downloadrtmux-c274551db67a3002f12afa127c32509ae194e3e5.tar.gz
rtmux-c274551db67a3002f12afa127c32509ae194e3e5.tar.bz2
rtmux-c274551db67a3002f12afa127c32509ae194e3e5.zip
- Make it compile on operating systems other than BSD due to OpenBSD patchset
308. - While there, remove some duplicate code from the compat header file.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index f16bd222..7b9d51cb 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.34 2009-09-02 12:30:56 nicm Exp $
+# $Id: configure,v 1.35 2009-09-03 20:54:39 tcunha Exp $
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@@ -22,6 +22,7 @@ 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
@@ -52,6 +53,7 @@ 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
@@ -207,6 +209,7 @@ 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
@@ -238,6 +241,7 @@ EOF
#define HAVE_FGETLN
#define HAVE_FORKPTY
#define HAVE_GETOPT
+#define HAVE_LOGIN_CAP
#define HAVE_PATHS_H
#define HAVE_POLL
#define HAVE_PROGNAME