diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-20 04:02:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-20 04:02:23 +0000 |
commit | 5a16e75a56f50825ad2b045d23fec4fcbb44554b (patch) | |
tree | 93df25fca45ffeb867f2353e224b44cab0d52cf6 | |
parent | fd6c9bbcef24cea03958b5f8c1571040725ded1d (diff) | |
download | coreutils-5a16e75a56f50825ad2b045d23fec4fcbb44554b.tar.xz |
(jm_WINSIZE_IN_PTEM): New macro.
-rw-r--r-- | m4/jm-winsz1.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/jm-winsz1.m4 b/m4/jm-winsz1.m4 index 346e8dd4f..492267e7a 100644 --- a/m4/jm-winsz1.m4 +++ b/m4/jm-winsz1.m4 @@ -1,5 +1,5 @@ dnl From Jim Meyering. -#serial 1 +#serial 2 AC_DEFUN(jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H, [AC_REQUIRE([AM_SYS_POSIX_TERMIOS]) AC_CACHE_CHECK([whether use of TIOCGWINSZ requires termios.h], @@ -17,3 +17,10 @@ AC_DEFUN(jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H, fi ]) ]) + +AC_DEFUN(jm_WINSIZE_IN_PTEM, + [AC_CHECK_HEADER([sys/ptem.h], + AC_DEFINE(WINSIZE_IN_PTEM, 1, + [Define if your system defines \`struct winsize' in sys/ptem.h.])) + ] +) |