1 # This file is part of Autoconf. -*- Autoconf -*-
2 # Support old macros, and provide automated updates.
3 # Copyright (C) 1994, 1999-2001, 2003, 2009-2017, 2020-2024 Free
4 # Software Foundation, Inc.
6 # This file is part of Autoconf. This program is free
7 # software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the
9 # Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # Under Section 7 of GPL version 3, you are granted additional
18 # permissions described in the Autoconf Configure Script Exception,
19 # version 3.0, as published by the Free Software Foundation.
21 # You should have received a copy of the GNU General Public License
22 # and a copy of the Autoconf Configure Script Exception along with
23 # this program; see the files COPYINGv3 and COPYING.EXCEPTION
24 # respectively. If not, see <https://www.gnu.org/licenses/> and
25 # <https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;f=COPYING.EXCEPTION>.
27 # Originally written by David J. MacKenzie.
30 ## ---------------------------- ##
31 ## General macros of Autoconf. ##
32 ## ---------------------------- ##
34 AU_ALIAS([AC_WARN], [AC_MSG_WARN])
35 AU_ALIAS([AC_ERROR], [AC_MSG_ERROR])
36 AU_ALIAS([AC_HAVE_HEADERS], [AC_CHECK_HEADERS])
37 AU_ALIAS([AC_HEADER_CHECK], [AC_CHECK_HEADER])
38 AU_ALIAS([AC_HEADER_EGREP], [AC_EGREP_HEADER])
39 AU_ALIAS([AC_PREFIX], [AC_PREFIX_PROGRAM])
40 AU_ALIAS([AC_PROGRAMS_CHECK], [AC_CHECK_PROGS])
41 AU_ALIAS([AC_PROGRAMS_PATH], [AC_PATH_PROGS])
42 AU_ALIAS([AC_PROGRAM_CHECK], [AC_CHECK_PROG])
43 AU_ALIAS([AC_PROGRAM_EGREP], [AC_EGREP_CPP])
44 AU_ALIAS([AC_PROGRAM_PATH], [AC_PATH_PROG])
45 AU_ALIAS([AC_SIZEOF_TYPE], [AC_CHECK_SIZEOF])
46 AU_ALIAS([AC_TEST_CPP], [AC_TRY_CPP])
47 AU_ALIAS([AC_TEST_PROGRAM], [AC_TRY_RUN])
51 ## ----------------------------- ##
52 ## Specific macros of Autoconf. ##
53 ## ----------------------------- ##
55 AU_ALIAS([AC_CHAR_UNSIGNED], [AC_C_CHAR_UNSIGNED])
56 AU_ALIAS([AC_CONST], [AC_C_CONST])
57 AU_ALIAS([AC_CROSS_CHECK], [AC_C_CROSS])
58 AU_ALIAS([AC_FIND_X], [AC_PATH_X])
59 AU_ALIAS([AC_FIND_XTRA], [AC_PATH_XTRA])
60 AU_ALIAS([AC_GCC_TRADITIONAL], [AC_PROG_GCC_TRADITIONAL])
61 AU_ALIAS([AC_GETGROUPS_T], [AC_TYPE_GETGROUPS])
62 AU_ALIAS([AC_INLINE], [AC_C_INLINE])
63 AU_ALIAS([AC_LN_S], [AC_PROG_LN_S])
64 AU_ALIAS([AC_LONG_DOUBLE], [AC_C_LONG_DOUBLE])
65 AU_ALIAS([AC_LONG_FILE_NAMES], [AC_SYS_LONG_FILE_NAMES])
66 AU_ALIAS([AC_MAJOR_HEADER], [AC_HEADER_MAJOR])
67 AU_ALIAS([AC_MINUS_C_MINUS_O], [AC_PROG_CC_C_O])
68 AU_ALIAS([AC_MODE_T], [AC_TYPE_MODE_T])
69 AU_ALIAS([AC_OFF_T], [AC_TYPE_OFF_T])
70 AU_ALIAS([AC_PID_T], [AC_TYPE_PID_T])
71 AU_ALIAS([AC_RESTARTABLE_SYSCALLS], [AC_SYS_RESTARTABLE_SYSCALLS])
72 AU_ALIAS([AC_RETSIGTYPE], [AC_TYPE_SIGNAL])
73 AU_ALIAS([AC_SET_MAKE], [AC_PROG_MAKE_SET])
74 AU_ALIAS([AC_SIZE_T], [AC_TYPE_SIZE_T])
75 AU_ALIAS([AC_STAT_MACROS_BROKEN], [AC_HEADER_STAT])
76 AU_ALIAS([AC_STDC_HEADERS], [AC_HEADER_STDC])
77 AU_ALIAS([AC_ST_BLKSIZE], [AC_STRUCT_ST_BLKSIZE])
78 AU_ALIAS([AC_ST_BLOCKS], [AC_STRUCT_ST_BLOCKS])
79 AU_ALIAS([AC_ST_RDEV], [AC_STRUCT_ST_RDEV])
80 AU_ALIAS([AC_SYS_SIGLIST_DECLARED], [AC_DECL_SYS_SIGLIST])
81 AU_ALIAS([AC_TIMEZONE], [AC_STRUCT_TIMEZONE])
82 AU_ALIAS([AC_TIME_WITH_SYS_TIME], [AC_HEADER_TIME])
83 AU_ALIAS([AC_UID_T], [AC_TYPE_UID_T])
84 AU_ALIAS([AC_WORDS_BIGENDIAN], [AC_C_BIGENDIAN])
85 AU_ALIAS([AC_YYTEXT_POINTER], [AC_DECL_YYTEXT])
86 AU_ALIAS([AM_CYGWIN32], [AC_CYGWIN32])
87 AU_ALIAS([AC_CYGWIN32], [AC_CYGWIN])
88 AU_ALIAS([AM_EXEEXT], [AC_EXEEXT])
89 # We cannot do this, because in libtool.m4 yet they provide
90 # this update. Some solution is needed.
91 # AU_ALIAS([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
92 AU_ALIAS([AM_MINGW32], [AC_MINGW32])
93 AU_ALIAS([AM_PROG_INSTALL], [AC_PROG_INSTALL])