1 # This file is part of Autoconf. -*- Autoconf -*-
2 # Support old macros, and provide automated updates.
3 # Copyright (C) 1994, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # As a special exception, the Free Software Foundation gives unlimited
19 # permission to copy, distribute and modify the configure scripts that
20 # are the output of Autoconf. You need not follow the terms of the GNU
21 # General Public License when using or distributing such scripts, even
22 # though portions of the text of Autoconf appear in them. The GNU
23 # General Public License (GPL) does govern all other use of the material
24 # that constitutes the Autoconf program.
26 # Certain portions of the Autoconf source text are designed to be copied
27 # (in certain cases, depending on the input) into the output of
28 # Autoconf. We call these the "data" portions. The rest of the Autoconf
29 # source text consists of comments plus executable code that decides which
30 # of the data portions to output in any given case. We call these
31 # comments and executable code the "non-data" portions. Autoconf never
32 # copies any of the non-data portions into its output.
34 # This special exception to the GPL applies to versions of Autoconf
35 # released by the Free Software Foundation. When you make and
36 # distribute a modified version of Autoconf, you may extend this special
37 # exception to the GPL to apply to your modified version as well, *unless*
38 # your modified version has the potential to copy into its output some
39 # of the text that was the non-data portion of the version that you started
40 # with. (In other words, unless your change moves or copies text from
41 # the non-data portions to the data portions.) If your modification has
42 # such potential, you must delete any notice of this special exception
43 # to the GPL from your modified version.
45 # Originally written by David J. MacKenzie.
48 ## ---------------------------- ##
49 ## General macros of Autoconf. ##
50 ## ---------------------------- ##
52 AU_ALIAS([AC_WARN], [AC_MSG_WARN])
53 AU_ALIAS([AC_ERROR], [AC_MSG_ERROR])
54 AU_ALIAS([AC_HAVE_HEADERS], [AC_CHECK_HEADERS])
55 AU_ALIAS([AC_HEADER_CHECK], [AC_CHECK_HEADER])
56 AU_ALIAS([AC_HEADER_EGREP], [AC_EGREP_HEADER])
57 AU_ALIAS([AC_PREFIX], [AC_PREFIX_PROGRAM])
58 AU_ALIAS([AC_PROGRAMS_CHECK], [AC_CHECK_PROGS])
59 AU_ALIAS([AC_PROGRAMS_PATH], [AC_PATH_PROGS])
60 AU_ALIAS([AC_PROGRAM_CHECK], [AC_CHECK_PROG])
61 AU_ALIAS([AC_PROGRAM_EGREP], [AC_EGREP_CPP])
62 AU_ALIAS([AC_PROGRAM_PATH], [AC_PATH_PROG])
63 AU_ALIAS([AC_SIZEOF_TYPE], [AC_CHECK_SIZEOF])
64 AU_ALIAS([AC_TEST_CPP], [AC_TRY_CPP])
65 AU_ALIAS([AC_TEST_PROGRAM], [AC_TRY_RUN])
69 ## ----------------------------- ##
70 ## Specific macros of Autoconf. ##
71 ## ----------------------------- ##
73 AU_ALIAS([AC_CHAR_UNSIGNED], [AC_C_CHAR_UNSIGNED])
74 AU_ALIAS([AC_CONST], [AC_C_CONST])
75 AU_ALIAS([AC_CROSS_CHECK], [AC_C_CROSS])
76 AU_ALIAS([AC_FIND_X], [AC_PATH_X])
77 AU_ALIAS([AC_FIND_XTRA], [AC_PATH_XTRA])
78 AU_ALIAS([AC_GCC_TRADITIONAL], [AC_PROG_GCC_TRADITIONAL])
79 AU_ALIAS([AC_GETGROUPS_T], [AC_TYPE_GETGROUPS])
80 AU_ALIAS([AC_INLINE], [AC_C_INLINE])
81 AU_ALIAS([AC_LN_S], [AC_PROG_LN_S])
82 AU_ALIAS([AC_LONG_DOUBLE], [AC_C_LONG_DOUBLE])
83 AU_ALIAS([AC_LONG_FILE_NAMES], [AC_SYS_LONG_FILE_NAMES])
84 AU_ALIAS([AC_MAJOR_HEADER], [AC_HEADER_MAJOR])
85 AU_ALIAS([AC_MINUS_C_MINUS_O], [AC_PROG_CC_C_O])
86 AU_ALIAS([AC_MODE_T], [AC_TYPE_MODE_T])
87 AU_ALIAS([AC_OFF_T], [AC_TYPE_OFF_T])
88 AU_ALIAS([AC_PID_T], [AC_TYPE_PID_T])
89 AU_ALIAS([AC_RESTARTABLE_SYSCALLS], [AC_SYS_RESTARTABLE_SYSCALLS])
90 AU_ALIAS([AC_RETSIGTYPE], [AC_TYPE_SIGNAL])
91 AU_ALIAS([AC_SET_MAKE], [AC_PROG_MAKE_SET])
92 AU_ALIAS([AC_SIZE_T], [AC_TYPE_SIZE_T])
93 AU_ALIAS([AC_STAT_MACROS_BROKEN], [AC_HEADER_STAT])
94 AU_ALIAS([AC_STDC_HEADERS], [AC_HEADER_STDC])
95 AU_ALIAS([AC_ST_BLKSIZE], [AC_STRUCT_ST_BLKSIZE])
96 AU_ALIAS([AC_ST_BLOCKS], [AC_STRUCT_ST_BLOCKS])
97 AU_ALIAS([AC_ST_RDEV], [AC_STRUCT_ST_RDEV])
98 AU_ALIAS([AC_SYS_SIGLIST_DECLARED], [AC_DECL_SYS_SIGLIST])
99 AU_ALIAS([AC_TIMEZONE], [AC_STRUCT_TIMEZONE])
100 AU_ALIAS([AC_TIME_WITH_SYS_TIME], [AC_HEADER_TIME])
101 AU_ALIAS([AC_UID_T], [AC_TYPE_UID_T])
102 AU_ALIAS([AC_WORDS_BIGENDIAN], [AC_C_BIGENDIAN])
103 AU_ALIAS([AC_YYTEXT_POINTER], [AC_DECL_YYTEXT])
104 AU_ALIAS([AM_CYGWIN32], [AC_CYGWIN32])
105 AU_ALIAS([AC_CYGWIN32], [AC_CYGWIN])
106 AU_ALIAS([AM_EXEEXT], [AC_EXEEXT])
107 # We cannot do this, because in libtool.m4 yet they provide
108 # this update. Some solution is needed.
109 # AU_ALIAS([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
110 AU_ALIAS([AM_MINGW32], [AC_MINGW32])
111 AU_ALIAS([AM_PROG_INSTALL], [AC_PROG_INSTALL])