diff options
author | Thomas Adam <thomas@xteddy.org> | 2013-04-23 08:26:51 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2013-04-23 08:26:51 +0100 |
commit | 70bc8ef8450bfd2ae90df86f4c02437a4bb83319 (patch) | |
tree | f74911800eadb451a23cd015349ec6bd65207c9d /configure.ac | |
parent | cd60e57b6ac682a56fd66d70af4c5922315b5a9a (diff) | |
parent | 11b90bc9591b4b101efef1f8a9a0d9656d2953c9 (diff) | |
download | rtmux-70bc8ef8450bfd2ae90df86f4c02437a4bb83319.tar.gz rtmux-70bc8ef8450bfd2ae90df86f4c02437a4bb83319.tar.bz2 rtmux-70bc8ef8450bfd2ae90df86f4c02437a4bb83319.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b4f76f5f..80cf1266 100644 --- a/configure.ac +++ b/configure.ac @@ -313,6 +313,13 @@ if test "x$found_strnvis" = xyes; then fi AM_CONDITIONAL(NO_VIS, [test "x$found_strnvis" = xno]) +# Look for cfmakeraw, compat/cfmakeraw.c used if missing. +AC_CHECK_FUNC(cfmakeraw, found_cfmakeraw=yes, found_cfmakeraw=no) +if test "x$found_cfmakeraw" = xyes; then + AC_DEFINE(HAVE_CFMAKERAW) +fi +AM_CONDITIONAL(NO_CFMAKERAW, [test "x$found_cfmakeraw" = xno]) + # Look for getopt. glibc's getopt does not enforce argument order and the ways # of making it do so are stupid, so just use our own instead. AC_CHECK_FUNC(getopt, found_getopt=yes, found_getopt=no) @@ -345,6 +352,7 @@ AC_CHECK_FUNCS( dirfd \ setproctitle \ sysconf \ + cfmakeraw \ ] ) |