summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authornicm <nicm>2011-01-10 22:00:47 +0000
committernicm <nicm>2011-01-10 22:00:47 +0000
commit791e0845d481d6d94741901ff3f46afa061d3721 (patch)
tree8c73466844e1971cd1056e53825861f9fdd7eec0 /configure.ac
parent34de0d2a76bcbbfb6bc1d0f57b87cc8f12c52c77 (diff)
downloadtmux-old-791e0845d481d6d94741901ff3f46afa061d3721.tar.gz
tmux-old-791e0845d481d6d94741901ff3f46afa061d3721.tar.bz2
tmux-old-791e0845d481d6d94741901ff3f46afa061d3721.zip
Copy osdep-unknown.c for AIX to make @[email protected] work.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2e1dc9cb..dc34ffbc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.10 2011/01/10 21:51:56 nicm Exp $
+# $Id: configure.ac,v 1.11 2011/01/10 22:00:47 nicm Exp $
# Miscellaneous autofoo bullshit.
AC_INIT(tmux, 1.5)
@@ -320,6 +320,10 @@ fi
# Figure out the platform for osdep-*.c and forkpty-*.c.
AC_MSG_CHECKING(platform)
case "$host_os" in
+ *aix*)
+ AC_MSG_RESULT(aix)
+ PLATFORM=aix
+ ;;
*darwin*)
AC_MSG_RESULT(darwin)
AC_DEFINE(BROKEN_CMSG_FIRSTHDR)
@@ -351,6 +355,7 @@ case "$host_os" in
;;
esac
AC_SUBST(PLATFORM)
+AM_CONDITIONAL(IS_AIX, test "x$PLATFORM" = xaix)
AM_CONDITIONAL(IS_DARWIN, test "x$PLATFORM" = xdarwin)
AM_CONDITIONAL(IS_LINUX, test "x$PLATFORM" = xlinux)
AM_CONDITIONAL(IS_FREEBSD, test "x$PLATFORM" = xfreebsd)