Next: , Previous: Public Macros, Up: Macros

6.4.2 Obsolete Macros

Although using some of the following macros was required in past releases, you should not use any of them in new code. All these macros will be removed in the next major Automake version; if you are still using them, running autoupdate should adjust your automatically (see Using autoupdate to Modernize Do it NOW!

Automake will generate rules to automatically regenerate the config header. This obsolete macro is a synonym of AC_CONFIG_HEADERS today (see Optional).
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.
From Automake 1.8 to 1.9.6 this macro used to define the output variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs.

Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P (see Particular Program Checks), however this defines the output variable MKDIR_P instead. In case you are still using the AM_PROG_MKDIR_P macro in your, or its provided variable $(mkdir_p) in your, you are advised to switch ASAP to the more modern Autoconf-provided interface instead; both the macro and the variable will be removed in the next major Automake release.

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.