Install msysDTK-1.0.1
[msysgit.git] / share / autoconf / autoconf / autoconf.m4
blobe6722d0a3210a32928ce363c682e19c6bc4e1ba7
1 # This file is part of Autoconf.                -*- Autoconf -*-
2 # Driver that loads the Autoconf macro files.
3 # Copyright (C) 1994, 1999, 2000, 2001, 2002  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)
8 # 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, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
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 # Written by David MacKenzie and many others.
49 # Do not sinclude acsite.m4 here, because it may not be installed
50 # yet when Autoconf is frozen.
51 # Do not sinclude ./aclocal.m4 here, to prevent it from being frozen.
53 # general includes some AU_DEFUN.
54 m4_include([autoconf/autoupdate.m4])
55 m4_include([autoconf/autoscan.m4])
56 m4_include([autoconf/general.m4])
57 m4_include([autoconf/status.m4])
58 m4_include([autoconf/autoheader.m4])
59 m4_include([autoconf/autotest.m4])
60 m4_include([autoconf/programs.m4])
61 m4_include([autoconf/lang.m4])
62 m4_include([autoconf/c.m4])
63 m4_include([autoconf/fortran.m4])
64 m4_include([autoconf/functions.m4])
65 m4_include([autoconf/headers.m4])
66 m4_include([autoconf/types.m4])
67 m4_include([autoconf/libs.m4])
68 m4_include([autoconf/specific.m4])
69 m4_include([autoconf/oldnames.m4])
71 # We discourage the use of the non prefixed macro names: M4sugar maps
72 # all the builtins into `m4_'.  Autoconf has been converted to these
73 # names too.  But users may still depend upon these, so reestablish
74 # them.
76 m4_copy_unm4([m4_builtin])
77 m4_copy_unm4([m4_changequote])
78 m4_copy_unm4([m4_decr])
79 m4_copy_unm4([m4_define])
80 m4_copy_unm4([m4_defn])
81 m4_copy_unm4([m4_divert])
82 m4_copy_unm4([m4_divnum])
83 m4_copy_unm4([m4_errprint])
84 m4_copy_unm4([m4_esyscmd])
85 m4_copy_unm4([m4_ifdef])
86 m4_copy([m4_if], [ifelse])
87 m4_copy_unm4([m4_incr])
88 m4_copy_unm4([m4_index])
89 m4_copy_unm4([m4_indir])
90 m4_copy_unm4([m4_len])
91 m4_copy([m4_bpatsubst], [patsubst])
92 m4_copy_unm4([m4_popdef])
93 m4_copy_unm4([m4_pushdef])
94 m4_copy([m4_bregexp], [regexp])
95 m4_copy_unm4([m4_sinclude])
96 m4_copy_unm4([m4_syscmd])
97 m4_copy_unm4([m4_sysval])
98 m4_copy_unm4([m4_traceoff])
99 m4_copy_unm4([m4_traceon])
100 m4_copy_unm4([m4_translit])
101 m4_copy_unm4([m4_undefine])
102 m4_copy_unm4([m4_undivert])
104 # Yet some people have started to use m4_patsubst and m4_regexp.
105 m4_define([m4_patsubst],
106 [m4_expand_once([m4_warn([syntax],
107                  [do not use m4_patsubst: use patsubst or m4_bpatsubst])])dnl
108 patsubst($@)])
110 m4_define([m4_regexp],
111 [m4_expand_once([m4_warn([syntax],
112                  [do not use m4_regexp: use regexp or m4_bregexp])])dnl
113 regexp($@)])