autoconf: Obsolete Macros
1
1 18.4 Obsolete Macros
1 ====================
1
1 Several macros are obsoleted in Autoconf, for various reasons (typically
1 they failed to quote properly, couldn't be extended for more recent
1 issues, etc.). They are still supported, but deprecated: their use
1 should be avoided.
1
1 During the jump from Autoconf version 1 to version 2, most of the
1 macros were renamed to use a more uniform and descriptive naming scheme,
1 but their signature did not change. ⇒Macro Names, for a
1 description of the new naming scheme. Below, if there is just the
1 mapping from old names to new names for these macros, the reader is
1 invited to refer to the definition of the new macro for the signature
1 and the description.
1
1 -- Macro: AC_AIX
1 This macro is a platform-specific subset of
1 `AC_USE_SYSTEM_EXTENSIONS' (⇒AC_USE_SYSTEM_EXTENSIONS).
1
1 -- Macro: AC_ALLOCA
1 Replaced by `AC_FUNC_ALLOCA' (⇒AC_FUNC_ALLOCA).
1
1 -- Macro: AC_ARG_ARRAY
1 Removed because of limited usefulness.
1
1 -- Macro: AC_C_CROSS
1 This macro is obsolete; it does nothing.
1
1 -- Macro: AC_C_LONG_DOUBLE
1 If the C compiler supports a working `long double' type with more
1 range or precision than the `double' type, define
1 `HAVE_LONG_DOUBLE'.
1
1 You should use `AC_TYPE_LONG_DOUBLE' or
1 `AC_TYPE_LONG_DOUBLE_WIDER' instead. ⇒Particular Types.
1
1 -- Macro: AC_CANONICAL_SYSTEM
1 Determine the system type and set output variables to the names of
1 the canonical system types. ⇒Canonicalizing, for details
1 about the variables this macro sets.
1
1 The user is encouraged to use either `AC_CANONICAL_BUILD', or
1 `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the
1 needs. Using `AC_CANONICAL_TARGET' is enough to run the two other
1 macros (⇒Canonicalizing).
1
1 -- Macro: AC_CHAR_UNSIGNED
1 Replaced by `AC_C_CHAR_UNSIGNED' (⇒AC_C_CHAR_UNSIGNED).
1
1 -- Macro: AC_CHECK_TYPE (TYPE, DEFAULT)
1 Autoconf, up to 2.13, used to provide this version of
1 `AC_CHECK_TYPE', deprecated because of its flaws. First, although
1 it is a member of the `CHECK' clan, it does more than just
1 checking. Secondly, missing types are defined using `#define',
1 not `typedef', and this can lead to problems in the case of
1 pointer types.
1
11 This use of `AC_CHECK_TYPE' is obsolete and discouraged; see ⇒
Generic Types, for the description of the current macro.
1
1 If the type TYPE is not defined, define it to be the C (or C++)
1 builtin type DEFAULT, e.g., `short int' or `unsigned int'.
1
1 This macro is equivalent to:
1
1 AC_CHECK_TYPE([TYPE], [],
1 [AC_DEFINE_UNQUOTED([TYPE], [DEFAULT],
1 [Define to `DEFAULT'
1 if <sys/types.h> does not define.])])
1
1 In order to keep backward compatibility, the two versions of
1 `AC_CHECK_TYPE' are implemented, selected using these heuristics:
1
1 1. If there are three or four arguments, the modern version is
1 used.
1
1 2. If the second argument appears to be a C or C++ type, then the
1 obsolete version is used. This happens if the argument is a
1 C or C++ _builtin_ type or a C identifier ending in `_t',
1 optionally followed by one of `[(* ' and then by a string of
1 zero or more characters taken from the set `[]()* _a-zA-Z0-9'.
1
1 3. If the second argument is spelled with the alphabet of valid
1 C and C++ types, the user is warned and the modern version is
1 used.
1
1 4. Otherwise, the modern version is used.
1
1 You are encouraged either to use a valid builtin type, or to use
1 the equivalent modern code (see above), or better yet, to use
1 `AC_CHECK_TYPES' together with
1
1 #ifndef HAVE_LOFF_T
1 typedef loff_t off_t;
1 #endif
1
1 -- Macro: AC_CHECKING (FEATURE-DESCRIPTION)
1 Same as
1
1 AC_MSG_NOTICE([checking FEATURE-DESCRIPTION...]
1
1 ⇒AC_MSG_NOTICE.
1
1 -- Macro: AC_COMPILE_CHECK (ECHO-TEXT, INCLUDES, FUNCTION-BODY,
1 ACTION-IF-TRUE, [ACTION-IF-FALSE])
1 This is an obsolete version of `AC_TRY_COMPILE' itself replaced by
1 `AC_COMPILE_IFELSE' (⇒Running the Compiler), with the
1 addition that it prints `checking for ECHO-TEXT' to the standard
1 output first, if ECHO-TEXT is non-empty. Use `AC_MSG_CHECKING'
11 and `AC_MSG_RESULT' instead to print messages (⇒Printing
Messages).
1
1 -- Macro: AC_CONST
1 Replaced by `AC_C_CONST' (⇒AC_C_CONST).
1
1 -- Macro: AC_CROSS_CHECK
1 Same as `AC_C_CROSS', which is obsolete too, and does nothing
1 `:-)'.
1
1 -- Macro: AC_CYGWIN
1 Check for the Cygwin environment in which case the shell variable
1 `CYGWIN' is set to `yes'. Don't use this macro, the dignified
1 means to check the nature of the host is using `AC_CANONICAL_HOST'
1 (⇒Canonicalizing). As a matter of fact this macro is
1 defined as:
1
1 AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
1 case $host_os in
1 *cygwin* ) CYGWIN=yes;;
1 * ) CYGWIN=no;;
1 esac
1
1 Beware that the variable `CYGWIN' has a special meaning when
1 running Cygwin, and should not be changed. That's yet another
1 reason not to use this macro.
1
1 -- Macro: AC_DECL_SYS_SIGLIST
1 Same as:
1
1 AC_CHECK_DECLS([sys_siglist], [], [],
1 [#include <signal.h>
1 /* NetBSD declares sys_siglist in unistd.h. */
1 #ifdef HAVE_UNISTD_H
1 # include <unistd.h>
1 #endif
1 ])
1
1 ⇒AC_CHECK_DECLS.
1
1 -- Macro: AC_DECL_YYTEXT
11 Does nothing, now integrated in `AC_PROG_LEX' (⇒
AC_PROG_LEX).
1
1 -- Macro: AC_DIR_HEADER
11 AC_FUNC_CLOSEDIR_VOID::) and `AC_HEADER_DIRENT' (⇒
AC_HEADER_DIRENT), but defines a different set of C preprocessor
1 macros to indicate which header file is found:
1
1 Header Old Symbol New Symbol
1 `dirent.h' `DIRENT' `HAVE_DIRENT_H'
1 `sys/ndir.h' `SYSNDIR' `HAVE_SYS_NDIR_H'
1 `sys/dir.h' `SYSDIR' `HAVE_SYS_DIR_H'
1 `ndir.h' `NDIR' `HAVE_NDIR_H'
1
1 -- Macro: AC_DYNIX_SEQ
1 If on DYNIX/ptx, add `-lseq' to output variable `LIBS'. This
1 macro used to be defined as
1
1 AC_CHECK_LIB([seq], [getmntent], [LIBS="-lseq $LIBS"])
1
1 now it is just `AC_FUNC_GETMNTENT' (⇒AC_FUNC_GETMNTENT).
1
1 -- Macro: AC_EXEEXT
1 Defined the output variable `EXEEXT' based on the output of the
1 compiler, which is now done automatically. Typically set to empty
1 string if Posix and `.exe' if a DOS variant.
1
1 -- Macro: AC_EMXOS2
1 Similar to `AC_CYGWIN' but checks for the EMX environment on OS/2
1 and sets `EMXOS2'. Don't use this macro, the dignified means to
11 check the nature of the host is using `AC_CANONICAL_HOST' (⇒
Canonicalizing).
1
1 -- Macro: AC_ENABLE (FEATURE, ACTION-IF-GIVEN, [ACTION-IF-NOT-GIVEN])
1 This is an obsolete version of `AC_ARG_ENABLE' that does not
1 support providing a help string (⇒AC_ARG_ENABLE).
1
1 -- Macro: AC_ERROR
1 Replaced by `AC_MSG_ERROR' (⇒AC_MSG_ERROR).
1
1 -- Macro: AC_FIND_X
1 Replaced by `AC_PATH_X' (⇒AC_PATH_X).
1
1 -- Macro: AC_FIND_XTRA
1 Replaced by `AC_PATH_XTRA' (⇒AC_PATH_XTRA).
1
1 -- Macro: AC_FOREACH
1 Replaced by `m4_foreach_w' (⇒m4_foreach_w).
1
1 -- Macro: AC_FUNC_CHECK
1 Replaced by `AC_CHECK_FUNC' (⇒AC_CHECK_FUNC).
1
1 -- Macro: AC_FUNC_SETVBUF_REVERSED
1 Do nothing. Formerly, this macro checked whether `setvbuf' takes
1 the buffering type as its second argument and the buffer pointer
1 as the third, instead of the other way around, and defined
1 `SETVBUF_REVERSED'. However, the last systems to have the problem
1 were those based on SVR2, which became obsolete in 1987, and the
1 macro is no longer needed.
1
1 -- Macro: AC_FUNC_WAIT3
1 If `wait3' is found and fills in the contents of its third argument
1 (a `struct rusage *'), which HP-UX does not do, define
1 `HAVE_WAIT3'.
1
1 These days portable programs should use `waitpid', not `wait3', as
1 `wait3' has been removed from Posix.
1
1 -- Macro: AC_GCC_TRADITIONAL
11 Replaced by `AC_PROG_GCC_TRADITIONAL' (⇒
AC_PROG_GCC_TRADITIONAL).
1
1 -- Macro: AC_GETGROUPS_T
1 Replaced by `AC_TYPE_GETGROUPS' (⇒AC_TYPE_GETGROUPS).
1
1 -- Macro: AC_GETLOADAVG
1 Replaced by `AC_FUNC_GETLOADAVG' (⇒AC_FUNC_GETLOADAVG).
1
1 -- Macro: AC_GNU_SOURCE
1 This macro is a platform-specific subset of
1 `AC_USE_SYSTEM_EXTENSIONS' (⇒AC_USE_SYSTEM_EXTENSIONS).
1
1 -- Macro: AC_HAVE_FUNCS
1 Replaced by `AC_CHECK_FUNCS' (⇒AC_CHECK_FUNCS).
1
1 -- Macro: AC_HAVE_HEADERS
1 Replaced by `AC_CHECK_HEADERS' (⇒AC_CHECK_HEADERS).
1
1 -- Macro: AC_HAVE_LIBRARY (LIBRARY, [ACTION-IF-FOUND],
1 [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
1 This macro is equivalent to calling `AC_CHECK_LIB' with a FUNCTION
1 argument of `main'. In addition, LIBRARY can be written as any of
1 `foo', `-lfoo', or `libfoo.a'. In all of those cases, the
1 compiler is passed `-lfoo'. However, LIBRARY cannot be a shell
1 variable; it must be a literal name. ⇒AC_CHECK_LIB.
1
1 -- Macro: AC_HAVE_POUNDBANG
1 Replaced by `AC_SYS_INTERPRETER' (⇒AC_SYS_INTERPRETER).
1
1 -- Macro: AC_HEADER_CHECK
1 Replaced by `AC_CHECK_HEADER' (⇒AC_CHECK_HEADER).
1
1 -- Macro: AC_HEADER_EGREP
1 Replaced by `AC_EGREP_HEADER' (⇒AC_EGREP_HEADER).
1
1 -- Macro: AC_HELP_STRING
1 Replaced by `AS_HELP_STRING' (⇒AS_HELP_STRING).
1
1 -- Macro: AC_INIT (UNIQUE-FILE-IN-SOURCE-DIR)
1 Formerly `AC_INIT' used to have a single argument, and was
1 equivalent to:
1
1 AC_INIT
1 AC_CONFIG_SRCDIR(UNIQUE-FILE-IN-SOURCE-DIR)
1 See ⇒AC_INIT and ⇒AC_CONFIG_SRCDIR.
1
1 -- Macro: AC_INLINE
1 Replaced by `AC_C_INLINE' (⇒AC_C_INLINE).
1
1 -- Macro: AC_INT_16_BITS
1 If the C type `int' is 16 bits wide, define `INT_16_BITS'. Use
1 `AC_CHECK_SIZEOF(int)' instead (⇒AC_CHECK_SIZEOF).
1
1 -- Macro: AC_IRIX_SUN
1 If on IRIX (Silicon Graphics Unix), add `-lsun' to output `LIBS'.
1 If you were using it to get `getmntent', use `AC_FUNC_GETMNTENT'
1 instead. If you used it for the NIS versions of the password and
1 group functions, use `AC_CHECK_LIB(sun, getpwnam)'. Up to
1 Autoconf 2.13, it used to be
1
1 AC_CHECK_LIB([sun], [getmntent], [LIBS="-lsun $LIBS"])
1
1 now it is defined as
1
1 AC_FUNC_GETMNTENT
1 AC_CHECK_LIB([sun], [getpwnam])
1
1 See ⇒AC_FUNC_GETMNTENT and ⇒AC_CHECK_LIB.
1
1 -- Macro: AC_ISC_POSIX
1 This macro adds `-lcposix' to output variable `LIBS' if necessary
1 for Posix facilities. Sun dropped support for the obsolete
1 INTERACTIVE Systems Corporation Unix on 2006-07-23. New programs
1 need not use this macro. It is implemented as
1 `AC_SEARCH_LIBS([strerror], [cposix])' (⇒AC_SEARCH_LIBS).
1
1 -- Macro: AC_LANG_C
1 Same as `AC_LANG([C])' (⇒AC_LANG).
1
1 -- Macro: AC_LANG_CPLUSPLUS
1 Same as `AC_LANG([C++])' (⇒AC_LANG).
1
1 -- Macro: AC_LANG_FORTRAN77
1 Same as `AC_LANG([Fortran 77])' (⇒AC_LANG).
1
1 -- Macro: AC_LANG_RESTORE
1 Select the LANGUAGE that is saved on the top of the stack, as set
1 by `AC_LANG_SAVE', remove it from the stack, and call
1 `AC_LANG(LANGUAGE)'. ⇒Language Choice, for the preferred
1 way to change languages.
1
1 -- Macro: AC_LANG_SAVE
1 Remember the current language (as set by `AC_LANG') on a stack.
1 The current language does not change. `AC_LANG_PUSH' is preferred
1 (⇒AC_LANG_PUSH).
1
1 -- Macro: AC_LINK_FILES (SOURCE..., DEST...)
11 This is an obsolete version of `AC_CONFIG_LINKS' (⇒
AC_CONFIG_LINKS. An updated version of:
1
1 AC_LINK_FILES(config/$machine.h config/$obj_format.h,
1 host.h object.h)
1
1 is:
1
1 AC_CONFIG_LINKS([host.h:config/$machine.h
1 object.h:config/$obj_format.h])
1
1 -- Macro: AC_LN_S
1 Replaced by `AC_PROG_LN_S' (⇒AC_PROG_LN_S).
1
1 -- Macro: AC_LONG_64_BITS
1 Define `LONG_64_BITS' if the C type `long int' is 64 bits wide.
11 Use the generic macro `AC_CHECK_SIZEOF([long int])' instead (⇒
AC_CHECK_SIZEOF).
1
1 -- Macro: AC_LONG_DOUBLE
1 If the C compiler supports a working `long double' type with more
1 range or precision than the `double' type, define
1 `HAVE_LONG_DOUBLE'.
1
1 You should use `AC_TYPE_LONG_DOUBLE' or
1 `AC_TYPE_LONG_DOUBLE_WIDER' instead. ⇒Particular Types.
1
1 -- Macro: AC_LONG_FILE_NAMES
1 Replaced by
1 AC_SYS_LONG_FILE_NAMES
1 ⇒AC_SYS_LONG_FILE_NAMES.
1
1 -- Macro: AC_MAJOR_HEADER
1 Replaced by `AC_HEADER_MAJOR' (⇒AC_HEADER_MAJOR).
1
1 -- Macro: AC_MEMORY_H
1 Used to define `NEED_MEMORY_H' if the `mem' functions were defined
1 in `memory.h'. Today it is equivalent to
1 `AC_CHECK_HEADERS([memory.h])' (⇒AC_CHECK_HEADERS). Adjust
1 your code to depend upon `HAVE_MEMORY_H', not `NEED_MEMORY_H'; see
1 ⇒Standard Symbols.
1
1 -- Macro: AC_MINGW32
1 Similar to `AC_CYGWIN' but checks for the MinGW compiler
1 environment and sets `MINGW32'. Don't use this macro, the
1 dignified means to check the nature of the host is using
1 `AC_CANONICAL_HOST' (⇒Canonicalizing).
1
1 -- Macro: AC_MINIX
1 This macro is a platform-specific subset of
1 `AC_USE_SYSTEM_EXTENSIONS' (⇒AC_USE_SYSTEM_EXTENSIONS).
1
1 -- Macro: AC_MINUS_C_MINUS_O
1 Replaced by `AC_PROG_CC_C_O' (⇒AC_PROG_CC_C_O).
1
1 -- Macro: AC_MMAP
1 Replaced by `AC_FUNC_MMAP' (⇒AC_FUNC_MMAP).
1
1 -- Macro: AC_MODE_T
1 Replaced by `AC_TYPE_MODE_T' (⇒AC_TYPE_MODE_T).
1
1 -- Macro: AC_OBJEXT
1 Defined the output variable `OBJEXT' based on the output of the
1 compiler, after .c files have been excluded. Typically set to `o'
1 if Posix, `obj' if a DOS variant. Now the compiler checking
1 macros handle this automatically.
1
1 -- Macro: AC_OBSOLETE (THIS-MACRO-NAME, [SUGGESTION])
1 Make M4 print a message to the standard error output warning that
1 THIS-MACRO-NAME is obsolete, and giving the file and line number
1 where it was called. THIS-MACRO-NAME should be the name of the
1 macro that is calling `AC_OBSOLETE'. If SUGGESTION is given, it
1 is printed at the end of the warning message; for example, it can
1 be a suggestion for what to use instead of THIS-MACRO-NAME.
1
1 For instance
1
1 AC_OBSOLETE([$0], [; use AC_CHECK_HEADERS(unistd.h) instead])dnl
1
1 You are encouraged to use `AU_DEFUN' instead, since it gives better
1 services to the user (⇒AU_DEFUN).
1
1 -- Macro: AC_OFF_T
1 Replaced by `AC_TYPE_OFF_T' (⇒AC_TYPE_OFF_T).
1
1 -- Macro: AC_OUTPUT ([FILE]..., [EXTRA-CMDS], [INIT-CMDS])
1 The use of `AC_OUTPUT' with arguments is deprecated. This
1 obsoleted interface is equivalent to:
1
1 AC_CONFIG_FILES(FILE...)
1 AC_CONFIG_COMMANDS([default],
1 EXTRA-CMDS, INIT-CMDS)
1 AC_OUTPUT
1
DONTPRINTYET 1 See ⇒AC_CONFIG_FILES, ⇒AC_CONFIG_COMMANDS, and *note1DONTPRINTYET 1 See ⇒AC_CONFIG_FILES, ⇒AC_CONFIG_COMMANDS, and ⇒
AC_OUTPUT.
1
1 -- Macro: AC_OUTPUT_COMMANDS (EXTRA-CMDS, [INIT-CMDS])
1 Specify additional shell commands to run at the end of
1 `config.status', and shell commands to initialize any variables
1 from `configure'. This macro may be called multiple times. It is
11 obsolete, replaced by `AC_CONFIG_COMMANDS' (⇒
AC_CONFIG_COMMANDS).
1
1 Here is an unrealistic example:
1
1 fubar=27
1 AC_OUTPUT_COMMANDS([echo this is extra $fubar, and so on.],
1 [fubar=$fubar])
1 AC_OUTPUT_COMMANDS([echo this is another, extra, bit],
1 [echo init bit])
1
1 Aside from the fact that `AC_CONFIG_COMMANDS' requires an
1 additional key, an important difference is that
1 `AC_OUTPUT_COMMANDS' is quoting its arguments twice, unlike
1 `AC_CONFIG_COMMANDS'. This means that `AC_CONFIG_COMMANDS' can
1 safely be given macro calls as arguments:
1
1 AC_CONFIG_COMMANDS(foo, [my_FOO()])
1
1 Conversely, where one level of quoting was enough for literal
1 strings with `AC_OUTPUT_COMMANDS', you need two with
1 `AC_CONFIG_COMMANDS'. The following lines are equivalent:
1
1 AC_OUTPUT_COMMANDS([echo "Square brackets: []"])
1 AC_CONFIG_COMMANDS([default], [[echo "Square brackets: []"]])
1
1 -- Macro: AC_PID_T
1 Replaced by `AC_TYPE_PID_T' (⇒AC_TYPE_PID_T).
1
1 -- Macro: AC_PREFIX
1 Replaced by `AC_PREFIX_PROGRAM' (⇒AC_PREFIX_PROGRAM).
1
1 -- Macro: AC_PROGRAMS_CHECK
1 Replaced by `AC_CHECK_PROGS' (⇒AC_CHECK_PROGS).
1
1 -- Macro: AC_PROGRAMS_PATH
1 Replaced by `AC_PATH_PROGS' (⇒AC_PATH_PROGS).
1
1 -- Macro: AC_PROGRAM_CHECK
1 Replaced by `AC_CHECK_PROG' (⇒AC_CHECK_PROG).
1
1 -- Macro: AC_PROGRAM_EGREP
1 Replaced by `AC_EGREP_CPP' (⇒AC_EGREP_CPP).
1
1 -- Macro: AC_PROGRAM_PATH
1 Replaced by `AC_PATH_PROG' (⇒AC_PATH_PROG).
1
1 -- Macro: AC_REMOTE_TAPE
1 Removed because of limited usefulness.
1
1 -- Macro: AC_RESTARTABLE_SYSCALLS
1 This macro was renamed `AC_SYS_RESTARTABLE_SYSCALLS'. However,
1 these days portable programs should use `sigaction' with
1 `SA_RESTART' if they want restartable system calls. They should
1 not rely on `HAVE_RESTARTABLE_SYSCALLS', since nowadays whether a
1 system call is restartable is a dynamic issue, not a
1 configuration-time issue.
1
1 -- Macro: AC_RETSIGTYPE
1 Replaced by `AC_TYPE_SIGNAL' (⇒AC_TYPE_SIGNAL), which itself
1 is obsolete when assuming C89 or better.
1
1 -- Macro: AC_RSH
1 Removed because of limited usefulness.
1
1 -- Macro: AC_SCO_INTL
1 If on SCO Unix, add `-lintl' to output variable `LIBS'. This
1 macro used to do this:
1
1 AC_CHECK_LIB([intl], [strftime], [LIBS="-lintl $LIBS"])
1
11 Now it just calls `AC_FUNC_STRFTIME' instead (⇒
AC_FUNC_STRFTIME).
1
1 -- Macro: AC_SETVBUF_REVERSED
1 Replaced by
1 AC_FUNC_SETVBUF_REVERSED
1 ⇒AC_FUNC_SETVBUF_REVERSED.
1
1 -- Macro: AC_SET_MAKE
1 Replaced by `AC_PROG_MAKE_SET' (⇒AC_PROG_MAKE_SET).
1
1 -- Macro: AC_SIZEOF_TYPE
1 Replaced by `AC_CHECK_SIZEOF' (⇒AC_CHECK_SIZEOF).
1
1 -- Macro: AC_SIZE_T
1 Replaced by `AC_TYPE_SIZE_T' (⇒AC_TYPE_SIZE_T).
1
1 -- Macro: AC_STAT_MACROS_BROKEN
1 Replaced by `AC_HEADER_STAT' (⇒AC_HEADER_STAT).
1
1 -- Macro: AC_STDC_HEADERS
1 Replaced by `AC_HEADER_STDC' (⇒AC_HEADER_STDC).
1
1 -- Macro: AC_STRCOLL
1 Replaced by `AC_FUNC_STRCOLL' (⇒AC_FUNC_STRCOLL).
1
1 -- Macro: AC_STRUCT_ST_BLKSIZE
1 If `struct stat' contains an `st_blksize' member, define
1 `HAVE_STRUCT_STAT_ST_BLKSIZE'. The former name, `HAVE_ST_BLKSIZE'
1 is to be avoided, as its support will cease in the future. This
1 macro is obsoleted, and should be replaced by
1
1 AC_CHECK_MEMBERS([struct stat.st_blksize])
1 ⇒AC_CHECK_MEMBERS.
1
1 -- Macro: AC_STRUCT_ST_RDEV
1 If `struct stat' contains an `st_rdev' member, define
1 `HAVE_STRUCT_STAT_ST_RDEV'. The former name for this macro,
1 `HAVE_ST_RDEV', is to be avoided as it will cease to be supported
1 in the future. Actually, even the new macro is obsolete and
1 should be replaced by:
1 AC_CHECK_MEMBERS([struct stat.st_rdev])
1 ⇒AC_CHECK_MEMBERS.
1
1 -- Macro: AC_ST_BLKSIZE
1 Replaced by `AC_CHECK_MEMBERS' (⇒AC_CHECK_MEMBERS).
1
1 -- Macro: AC_ST_BLOCKS
1 Replaced by `AC_STRUCT_ST_BLOCKS' (⇒AC_STRUCT_ST_BLOCKS).
1
1 -- Macro: AC_ST_RDEV
1 Replaced by `AC_CHECK_MEMBERS' (⇒AC_CHECK_MEMBERS).
1
1 -- Macro: AC_SYS_RESTARTABLE_SYSCALLS
1 If the system automatically restarts a system call that is
1 interrupted by a signal, define `HAVE_RESTARTABLE_SYSCALLS'. This
1 macro does not check whether system calls are restarted in
1 general--it checks whether a signal handler installed with
1 `signal' (but not `sigaction') causes system calls to be
1 restarted. It does not check whether system calls can be
1 restarted when interrupted by signals that have no handler.
1
1 These days portable programs should use `sigaction' with
1 `SA_RESTART' if they want restartable system calls. They should
1 not rely on `HAVE_RESTARTABLE_SYSCALLS', since nowadays whether a
1 system call is restartable is a dynamic issue, not a
1 configuration-time issue.
1
1 -- Macro: AC_SYS_SIGLIST_DECLARED
1 This macro was renamed `AC_DECL_SYS_SIGLIST'. However, even that
1 name is obsolete, as the same functionality is now achieved via
1 `AC_CHECK_DECLS' (⇒AC_CHECK_DECLS).
1
1 -- Macro: AC_TEST_CPP
1 This macro was renamed `AC_TRY_CPP', which in turn was replaced by
1 `AC_PREPROC_IFELSE' (⇒AC_PREPROC_IFELSE).
1
1 -- Macro: AC_TEST_PROGRAM
1 This macro was renamed `AC_TRY_RUN', which in turn was replaced by
1 `AC_RUN_IFELSE' (⇒AC_RUN_IFELSE).
1
1 -- Macro: AC_TIMEZONE
1 Replaced by `AC_STRUCT_TIMEZONE' (⇒AC_STRUCT_TIMEZONE).
1
1 -- Macro: AC_TIME_WITH_SYS_TIME
1 Replaced by `AC_HEADER_TIME' (⇒AC_HEADER_TIME).
1
1 -- Macro: AC_TRY_COMPILE (INCLUDES, FUNCTION-BODY, [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE])
1 Same as:
1
1 AC_COMPILE_IFELSE(
1 [AC_LANG_PROGRAM([[INCLUDES]],
1 [[FUNCTION-BODY]])],
1 [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE])
1
1 ⇒Running the Compiler.
1
1 This macro double quotes both INCLUDES and FUNCTION-BODY.
1
1 For C and C++, INCLUDES is any `#include' statements needed by the
1 code in FUNCTION-BODY (INCLUDES is ignored if the currently
1 selected language is Fortran or Fortran 77). The compiler and
11 compilation flags are determined by the current language (⇒
Language Choice).
1
1 -- Macro: AC_TRY_CPP (INPUT, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
1 Same as:
1
1 AC_PREPROC_IFELSE(
1 [AC_LANG_SOURCE([[INPUT]])],
1 [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE])
1
1 ⇒Running the Preprocessor.
1
1 This macro double quotes the INPUT.
1
1 -- Macro: AC_TRY_LINK (INCLUDES, FUNCTION-BODY, [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE])
1 Same as:
1
1 AC_LINK_IFELSE(
1 [AC_LANG_PROGRAM([[INCLUDES]],
1 [[FUNCTION-BODY]])],
1 [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE])
1
1 ⇒Running the Compiler.
1
1 This macro double quotes both INCLUDES and FUNCTION-BODY.
1
1 Depending on the current language (⇒Language Choice),
1 create a test program to see whether a function whose body
1 consists of FUNCTION-BODY can be compiled and linked. If the file
1 compiles and links successfully, run shell commands
1 ACTION-IF-FOUND, otherwise run ACTION-IF-NOT-FOUND.
1
1 This macro double quotes both INCLUDES and FUNCTION-BODY.
1
1 For C and C++, INCLUDES is any `#include' statements needed by the
1 code in FUNCTION-BODY (INCLUDES is ignored if the currently
1 selected language is Fortran or Fortran 77). The compiler and
11 compilation flags are determined by the current language (⇒
Language Choice), and in addition `LDFLAGS' and `LIBS' are used
1 for linking.
1
1 -- Macro: AC_TRY_LINK_FUNC (FUNCTION, [ACTION-IF-FOUND],
1 [ACTION-IF-NOT-FOUND])
1 This macro is equivalent to
1 AC_LINK_IFELSE([AC_LANG_CALL([], [FUNCTION])],
1 [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1 ⇒AC_LINK_IFELSE.
1
1 -- Macro: AC_TRY_RUN (PROGRAM, [ACTION-IF-TRUE], [ACTION-IF-FALSE],
1 [ACTION-IF-CROSS-COMPILING = `AC_MSG_FAILURE'])
1 Same as:
1
1 AC_RUN_IFELSE(
1 [AC_LANG_SOURCE([[PROGRAM]])],
1 [ACTION-IF-TRUE],
1 [ACTION-IF-FALSE],
1 [ACTION-IF-CROSS-COMPILING])
1
1 ⇒Runtime.
1
1 -- Macro: AC_TYPE_SIGNAL
1 If `signal.h' declares `signal' as returning a pointer to a
1 function returning `void', define `RETSIGTYPE' to be `void';
1 otherwise, define it to be `int'. These days, it is portable to
1 assume C89, and that signal handlers return `void', without
1 needing to use this macro or `RETSIGTYPE'.
1
1 When targeting older K&R C, it is possible to define signal
1 handlers as returning type `RETSIGTYPE', and omit a return
1 statement:
1
1 RETSIGTYPE
1 hup_handler ()
1 {
1 ...
1 }
1
1 -- Macro: AC_UID_T
1 Replaced by `AC_TYPE_UID_T' (⇒AC_TYPE_UID_T).
1
1 -- Macro: AC_UNISTD_H
1 Same as `AC_CHECK_HEADERS([unistd.h])' (⇒AC_CHECK_HEADERS).
1
1 -- Macro: AC_USG
1 Define `USG' if the BSD string functions are defined in
1 `strings.h'. You should no longer depend upon `USG', but on
1 `HAVE_STRING_H'; see ⇒Standard Symbols.
1
1 -- Macro: AC_UTIME_NULL
1 Replaced by `AC_FUNC_UTIME_NULL' (⇒AC_FUNC_UTIME_NULL).
1
1 -- Macro: AC_VALIDATE_CACHED_SYSTEM_TUPLE ([CMD])
1 If the cache file is inconsistent with the current host, target and
1 build system types, it used to execute CMD or print a default
1 error message. This is now handled by default.
1
1 -- Macro: AC_VERBOSE (RESULT-DESCRIPTION)
1 Replaced by `AC_MSG_RESULT' (⇒AC_MSG_RESULT).
1
1 -- Macro: AC_VFORK
1 Replaced by `AC_FUNC_FORK' (⇒AC_FUNC_FORK).
1
1 -- Macro: AC_VPRINTF
1 Replaced by `AC_FUNC_VPRINTF' (⇒AC_FUNC_VPRINTF).
1
1 -- Macro: AC_WAIT3
1 This macro was renamed `AC_FUNC_WAIT3'. However, these days
1 portable programs should use `waitpid', not `wait3', as `wait3'
1 has been removed from Posix.
1
1 -- Macro: AC_WARN
1 Replaced by `AC_MSG_WARN' (⇒AC_MSG_WARN).
1
1 -- Macro: AC_WITH (PACKAGE, ACTION-IF-GIVEN, [ACTION-IF-NOT-GIVEN])
1 This is an obsolete version of `AC_ARG_WITH' that does not support
1 providing a help string (⇒AC_ARG_WITH).
1
1 -- Macro: AC_WORDS_BIGENDIAN
1 Replaced by `AC_C_BIGENDIAN' (⇒AC_C_BIGENDIAN).
1
1 -- Macro: AC_XENIX_DIR
1 This macro used to add `-lx' to output variable `LIBS' if on
1 Xenix. Also, if `dirent.h' is being checked for, added `-ldir' to
1 `LIBS'. Now it is merely an alias of `AC_HEADER_DIRENT' instead,
1 plus some code to detect whether running XENIX on which you should
1 not depend:
1
1 AC_MSG_CHECKING([for Xenix])
1 AC_EGREP_CPP([yes],
1 [#if defined M_XENIX && !defined M_UNIX
1 yes
1 #endif],
1 [AC_MSG_RESULT([yes]); XENIX=yes],
1 [AC_MSG_RESULT([no]); XENIX=])
1 Don't use this macro, the dignified means to check the nature of
1 the host is using `AC_CANONICAL_HOST' (⇒Canonicalizing).
1
1 -- Macro: AC_YYTEXT_POINTER
1 This macro was renamed `AC_DECL_YYTEXT', which in turn was
1 integrated into `AC_PROG_LEX' (⇒AC_PROG_LEX).
1