Mercurial > hg > octave-nkf > gnulib-hg
changeset 1746:af21c4976475
(jm_WINSIZE_IN_PTEM): New macro.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 20 Mar 1999 04:02:23 +0000 |
parents | 188a70851e61 |
children | cbcee691bc04 |
files | m4/jm-winsz1.m4 |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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.])) + ] +)