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 2, or (at your option)
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, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 # As a special exception, the Free Software Foundation gives unlimited
21 # permission to copy, distribute and modify the configure scripts that
22 # are the output of Autoconf. You need not follow the terms of the GNU
23 # General Public License when using or distributing such scripts, even
24 # though portions of the text of Autoconf appear in them. The GNU
25 # General Public License (GPL) does govern all other use of the material
26 # that constitutes the Autoconf program.
28 # Certain portions of the Autoconf source text are designed to be copied
29 # (in certain cases, depending on the input) into the output of
30 # Autoconf. We call these the "data" portions. The rest of the Autoconf
31 # source text consists of comments plus executable code that decides which
32 # of the data portions to output in any given case. We call these
33 # comments and executable code the "non-data" portions. Autoconf never
34 # copies any of the non-data portions into its output.
36 # This special exception to the GPL applies to versions of Autoconf
37 # released by the Free Software Foundation. When you make and
38 # distribute a modified version of Autoconf, you may extend this special
39 # exception to the GPL to apply to your modified version as well, *unless*
40 # your modified version has the potential to copy into its output some
41 # of the text that was the non-data portion of the version that you started
42 # with. (In other words, unless your change moves or copies text from
43 # the non-data portions to the data portions.) If your modification has
44 # such potential, you must delete any notice of this special exception
45 # to the GPL from your modified version.
47 # Originally written by David J. MacKenzie.
50 ## ---------------------------- ##
51 ## General macros of Autoconf. ##
52 ## ---------------------------- ##
54 AU_ALIAS([AC_WARN], [AC_MSG_WARN])
55 AU_ALIAS([AC_ERROR], [AC_MSG_ERROR])
56 AU_ALIAS([AC_HAVE_HEADERS], [AC_CHECK_HEADERS])
57 AU_ALIAS([AC_HEADER_CHECK], [AC_CHECK_HEADER])
58 AU_ALIAS([AC_HEADER_EGREP], [AC_EGREP_HEADER])
59 AU_ALIAS([AC_PREFIX], [AC_PREFIX_PROGRAM])
60 AU_ALIAS([AC_PROGRAMS_CHECK], [AC_CHECK_PROGS])
61 AU_ALIAS([AC_PROGRAMS_PATH], [AC_PATH_PROGS])
62 AU_ALIAS([AC_PROGRAM_CHECK], [AC_CHECK_PROG])
63 AU_ALIAS([AC_PROGRAM_EGREP], [AC_EGREP_CPP])
64 AU_ALIAS([AC_PROGRAM_PATH], [AC_PATH_PROG])
65 AU_ALIAS([AC_SIZEOF_TYPE], [AC_CHECK_SIZEOF])
66 AU_ALIAS([AC_TEST_CPP], [AC_TRY_CPP])
67 AU_ALIAS([AC_TEST_PROGRAM], [AC_TRY_RUN])
71 ## ----------------------------- ##
72 ## Specific macros of Autoconf. ##
73 ## ----------------------------- ##
75 AU_ALIAS([AC_CHAR_UNSIGNED], [AC_C_CHAR_UNSIGNED])
76 AU_ALIAS([AC_CONST], [AC_C_CONST])
77 AU_ALIAS([AC_CROSS_CHECK], [AC_C_CROSS])
78 AU_ALIAS([AC_FIND_X], [AC_PATH_X])
79 AU_ALIAS([AC_FIND_XTRA], [AC_PATH_XTRA])
80 AU_ALIAS([AC_GCC_TRADITIONAL], [AC_PROG_GCC_TRADITIONAL])
81 AU_ALIAS([AC_GETGROUPS_T], [AC_TYPE_GETGROUPS])
82 AU_ALIAS([AC_INLINE], [AC_C_INLINE])
83 AU_ALIAS([AC_LN_S], [AC_PROG_LN_S])
84 AU_ALIAS([AC_LONG_DOUBLE], [AC_C_LONG_DOUBLE])
85 AU_ALIAS([AC_LONG_FILE_NAMES], [AC_SYS_LONG_FILE_NAMES])
86 AU_ALIAS([AC_MAJOR_HEADER], [AC_HEADER_MAJOR])
87 AU_ALIAS([AC_MINUS_C_MINUS_O], [AC_PROG_CC_C_O])
88 AU_ALIAS([AC_MODE_T], [AC_TYPE_MODE_T])
89 AU_ALIAS([AC_OFF_T], [AC_TYPE_OFF_T])
90 AU_ALIAS([AC_PID_T], [AC_TYPE_PID_T])
91 AU_ALIAS([AC_RESTARTABLE_SYSCALLS], [AC_SYS_RESTARTABLE_SYSCALLS])
92 AU_ALIAS([AC_RETSIGTYPE], [AC_TYPE_SIGNAL])
93 AU_ALIAS([AC_SET_MAKE], [AC_PROG_MAKE_SET])
94 AU_ALIAS([AC_SIZE_T], [AC_TYPE_SIZE_T])
95 AU_ALIAS([AC_STAT_MACROS_BROKEN], [AC_HEADER_STAT])
96 AU_ALIAS([AC_STDC_HEADERS], [AC_HEADER_STDC])
97 AU_ALIAS([AC_ST_BLKSIZE], [AC_STRUCT_ST_BLKSIZE])
98 AU_ALIAS([AC_ST_BLOCKS], [AC_STRUCT_ST_BLOCKS])
99 AU_ALIAS([AC_ST_RDEV], [AC_STRUCT_ST_RDEV])
100 AU_ALIAS([AC_SYS_SIGLIST_DECLARED], [AC_DECL_SYS_SIGLIST])
101 AU_ALIAS([AC_TIMEZONE], [AC_STRUCT_TIMEZONE])
102 AU_ALIAS([AC_TIME_WITH_SYS_TIME], [AC_HEADER_TIME])
103 AU_ALIAS([AC_UID_T], [AC_TYPE_UID_T])
104 AU_ALIAS([AC_WORDS_BIGENDIAN], [AC_C_BIGENDIAN])
105 AU_ALIAS([AC_YYTEXT_POINTER], [AC_DECL_YYTEXT])
106 AU_ALIAS([AM_CYGWIN32], [AC_CYGWIN32])
107 AU_ALIAS([AC_CYGWIN32], [AC_CYGWIN])
108 AU_ALIAS([AM_EXEEXT], [AC_EXEEXT])
109 # We cannot do this, because in libtool.m4 yet they provide
110 # this update. Some solution is needed.
111 # AU_ALIAS([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
112 AU_ALIAS([AM_MINGW32], [AC_MINGW32])
113 AU_ALIAS([AM_PROG_INSTALL], [AC_PROG_INSTALL])