diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-03 20:54:39 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-03 20:54:39 +0000 |
commit | c274551db67a3002f12afa127c32509ae194e3e5 (patch) | |
tree | 30c706b4b15bcc46c057cd44129c7416a9c2a8c4 /configure | |
parent | f796336a12e2d3c487a53854fdf28c096481a34a (diff) | |
download | rtmux-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-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |