Check for termios.h so that HAVE_TERMIOS_H is defined, otherwise terminal size detection is broken on Cygwin (issue GH#72).

This commit is contained in:
Andrew Wood
2023-07-30 16:54:35 +01:00
parent 911969c2a8
commit 146add0ed3
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ AC_CHECK_FUNCS(fdatasync)
AC_CHECK_FUNCS(fpathconf sysconf posix_memalign)
AC_CHECK_HEADERS(limits.h)
AC_CHECK_HEADERS(wctype.h)
AC_CHECK_HEADERS(termios.h)
AC_ARG_ENABLE(debugging,
[ --enable-debugging compile with debugging support],
+3
View File
@@ -108,6 +108,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H