]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_HEADER_TIOCGWINSZ):
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 May 2002 20:26:07 +0000 (20:26 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 May 2002 20:26:07 +0000 (20:26 +0000)
Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
and it causes a 'test' syntax error if it fails.
Bug reported by Stephen Gildea.

lib/autoconf/headers.m4

index d87d1b3130ff63570dae4906eab26bd65f44c5c9..cc18a08cf5ddca4f7ec8f7a978a80e47f1c5bfda 100644 (file)
@@ -536,10 +536,7 @@ m4_define([_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL],
 # FIXME: Is this the proper name?  Is this the proper implementation?
 # I need more help.
 AC_DEFUN([AC_HEADER_TIOCGWINSZ],
-[AC_REQUIRE([AC_SYS_POSIX_TERMIOS])dnl
-if test $ac_cv_sys_posix_termios = yes; then
-  _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
-fi
+[_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
   _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
   if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then