Although using some of the following macros was required in past releases, you should not used any of them in new code. Running autoupdate should adjust your configure.ac automatically (see Using autoupdate to Modernize configure.ac (The Autoconf Manual)).
AM_CONFIG_HEADERAC_CONFIG_HEADERS
today (see Optional).
AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTLTIOCGWINSZ requires <sys/ioctl.h>, then
define GWINSZ_IN_SYS_IOCTL. Otherwise TIOCGWINSZ can be
found in <termios.h>. This macro is obsolete, you should
use Autoconf's AC_HEADER_TIOCGWINSZ instead.
AM_SYS_POSIX_TERMIOSam_cv_sys_posix_termios to
yes. If not, set the variable to no. This macro is obsolete,
you should use Autoconf's AC_SYS_POSIX_TERMIOS instead.