diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-14 21:13:48 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-14 21:13:48 +0000 |
commit | b402cef338e863ffe503f2fcdce3fb44d879efbf (patch) | |
tree | 89c100de2c965e93a9c2ed17a8a91e13bb6a5c07 /configure | |
parent | a9b6bfdddd570753e52dca73169f70864502c38c (diff) | |
download | rtmux-b402cef338e863ffe503f2fcdce3fb44d879efbf.tar.gz rtmux-b402cef338e863ffe503f2fcdce3fb44d879efbf.tar.bz2 rtmux-b402cef338e863ffe503f2fcdce3fb44d879efbf.zip |
Adjust imsg changes to the portable version due to OpenBSD patchset 243.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 31 |
1 files changed, 23 insertions, 8 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.22 2009-08-09 15:53:02 tcunha Exp $ +# $Id: configure,v 1.23 2009-08-14 21:13:48 tcunha Exp $ TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`} @@ -18,6 +18,7 @@ cat <<EOF >>$CONFIG_H #undef HAVE_FGETLN #undef HAVE_FORKPTY #undef HAVE_GETOPT +#undef HAVE_IMSG #undef HAVE_LIBUTIL_H #undef HAVE_PATHS_H #undef HAVE_POLL @@ -59,7 +60,9 @@ case $TMUX_PLATFORM in EOF cat <<EOF >>$CONFIG_MK LIBS+= -lcurses -lutil -SRCS+= osdep-openbsd.c +SRCS+= osdep-openbsd.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -84,7 +87,9 @@ SRCS+= osdep-linux.c \ compat/strtonum.c \ compat/getopt.c \ compat/vis.c \ - compat/unvis.c + compat/unvis.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -106,7 +111,9 @@ SRCS+= osdep-unknown.c \ compat/fgetln.c \ compat/getopt.c \ compat/vis.c \ - compat/unvis.c + compat/unvis.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -134,7 +141,9 @@ SRCS+= osdep-unknown.c \ compat/strcasestr.c \ compat/strtonum.c \ compat/vis.c \ - compat/unvis.c + compat/unvis.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -158,7 +167,9 @@ SRCS+= osdep-darwin.c \ compat/bsd-poll.c \ compat/strtonum.c \ compat/vis.c \ - compat/unvis.c + compat/unvis.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -182,7 +193,9 @@ EOF EOF cat <<EOF >>$CONFIG_MK LIBS+= -lcurses -lcrypt -lutil -SRCS+= osdep-freebsd.c +SRCS+= osdep-freebsd.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ @@ -208,7 +221,9 @@ CPPFLAGS+= -I/usr/pkg/include LDFLAGS+= -L/usr/pkg/lib LIBS+= -lncurses -lcrypt -lutil SRCS+= osdep-netbsd.c \ - compat/strtonum.c + compat/strtonum.c \ + compat/imsg-buffer.c \ + compat/imsg.c EOF ;; # ------------------------------------------------------------------------------ |