Also change use of $am_cv_sys_posix_termios
authorJim Meyering <jim@meyering.net>
Mon, 5 Aug 2002 11:51:42 +0000 (11:51 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 5 Aug 2002 11:51:42 +0000 (11:51 +0000)
to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.

m4/jm-winsz1.m4

index 16d2c212009ee1c56ab31d2167afe3a2612b209c..0fcb46c754fef8e3412d15d52a1ce5a78c7ab44f 100644 (file)
@@ -6,7 +6,7 @@ AC_DEFUN([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
                jm_cv_sys_tiocgwinsz_needs_termios_h,
   [jm_cv_sys_tiocgwinsz_needs_termios_h=no
 
-   if test $am_cv_sys_posix_termios = yes; then
+   if test $ac_cv_sys_posix_termios = yes; then
      AC_EGREP_CPP([yes],
      [#include <sys/types.h>
 #      include <termios.h>
@@ -23,7 +23,7 @@ AC_DEFUN([jm_WINSIZE_IN_PTEM],
    AC_CACHE_CHECK([whether use of struct winsize requires sys/ptem.h],
      jm_cv_sys_struct_winsize_needs_sys_ptem_h,
      [jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes
-      if test $am_cv_sys_posix_termios = yes; then
+      if test $ac_cv_sys_posix_termios = yes; then
        AC_TRY_COMPILE([#include <termios.h>]
          [struct winsize x;],
           [jm_cv_sys_struct_winsize_needs_sys_ptem_h=no])