Next: , Previous: , Up: Autoconf macros supplied with Automake   [Contents][Index]


5.6.2 Obsolete macros

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 in The Autoconf Manual).

AM_CONFIG_HEADER

Automake will generate rules to automatically regenerate the config header. This obsolete macro is a synonym of AC_CONFIG_HEADERS today (see Other things Automake recognizes).

AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL

If the use of TIOCGWINSZ 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_TERMIOS

Check to see if POSIX termios headers and functions are available on the system. If so, set the shell variable am_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.