2000-11-23 17:45:48 +08:00
|
|
|
include(m4sh.m4)# -*- Autoconf -*-
|
2000-02-08 21:16:01 +08:00
|
|
|
# This file is part of Autoconf.
|
|
|
|
# Driver that loads the Autoconf macro files.
|
2000-10-24 03:13:37 +08:00
|
|
|
# Copyright 1994, 1999, 2000 Free Software Foundation, Inc.
|
2000-02-08 21:16:01 +08:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
# 02111-1307, USA.
|
|
|
|
#
|
|
|
|
# Written by David MacKenzie.
|
|
|
|
#
|
|
|
|
# Do not sinclude acsite.m4 here, because it may not be installed
|
|
|
|
# yet when Autoconf is frozen.
|
|
|
|
# Do not sinclude ./aclocal.m4 here, to prevent it from being frozen.
|
Move the Autoconf independent shell macros into the file
`shell.m4' and the name space `AS_*'.
* acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
(AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
* shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
(AS_DIRNAME): here, a new file.
Adjust all dependencies.
* tests/base.m4 (m4_wrap): Eve out into...
* tests/shell.m4: here, new file.
* tests/base.m4 (AC_SHELL_MKDIR_P)
(AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
* tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
here, new file.
Adjust the test suite.
2000-10-26 01:51:10 +08:00
|
|
|
|
2000-11-03 19:14:48 +08:00
|
|
|
m4_include([acversion.m4])
|
|
|
|
m4_include([acgeneral.m4])
|
|
|
|
m4_include([aclang.m4])
|
|
|
|
m4_include([acfunctions.m4])
|
2000-11-14 18:31:39 +08:00
|
|
|
m4_include([acheaders.m4])
|
2000-11-03 19:14:48 +08:00
|
|
|
m4_include([acspecific.m4])
|
|
|
|
m4_include([acoldnames.m4])
|
|
|
|
|
|
|
|
# We discourage the use of the non prefixed macro names: M4sugar maps
|
2000-11-03 21:41:40 +08:00
|
|
|
# all the builtins into `m4_'. Autoconf has been converted to these
|
|
|
|
# names too. But users may still depend upon these, so reestablish
|
|
|
|
# them.
|
2000-11-02 01:32:17 +08:00
|
|
|
|
* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
Rename as...
(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
(m4_traceoff, m4_traceon): these.
* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
(syscmd, sysval, traceoff, traceon): Reactivate.
2000-11-03 17:08:02 +08:00
|
|
|
m4_copy_unm4([m4_builtin])
|
|
|
|
m4_copy_unm4([m4_changequote])
|
|
|
|
m4_copy_unm4([m4_decr])
|
2000-11-03 21:41:40 +08:00
|
|
|
m4_copy_unm4([m4_define])
|
* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
Use them.
(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
(substr, translit, m4_wrap): Rename as...
(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
Adjust all dependencies.
* acgeneral.m4: Adjust.
* tests/m4sugar.at: Adjust.
* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
Reestablish them.
2000-11-03 16:53:26 +08:00
|
|
|
m4_copy_unm4([m4_defn])
|
2000-11-23 17:46:48 +08:00
|
|
|
m4_copy_unm4([m4_divert])
|
2000-11-29 18:05:51 +08:00
|
|
|
m4_copy_unm4([m4_divnum])
|
|
|
|
m4_copy_unm4([m4_errprint])
|
|
|
|
m4_copy_unm4([m4_esyscmd])
|
2000-11-29 18:09:44 +08:00
|
|
|
m4_copy_unm4([m4_ifdef])
|
2000-12-06 16:58:41 +08:00
|
|
|
m4_copy([m4_if], [ifelse])
|
* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
Rename as...
(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
(m4_traceoff, m4_traceon): these.
* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
(syscmd, sysval, traceoff, traceon): Reactivate.
2000-11-03 17:08:02 +08:00
|
|
|
m4_copy_unm4([m4_incr])
|
|
|
|
m4_copy_unm4([m4_index])
|
|
|
|
m4_copy_unm4([m4_indir])
|
|
|
|
m4_copy_unm4([m4_len])
|
* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
Use them.
(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
(substr, translit, m4_wrap): Rename as...
(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
Adjust all dependencies.
* acgeneral.m4: Adjust.
* tests/m4sugar.at: Adjust.
* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
Reestablish them.
2000-11-03 16:53:26 +08:00
|
|
|
m4_copy_unm4([m4_patsubst])
|
|
|
|
m4_copy_unm4([m4_popdef])
|
|
|
|
m4_copy_unm4([m4_pushdef])
|
|
|
|
m4_copy_unm4([m4_regexp])
|
* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
Rename as...
(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
(m4_traceoff, m4_traceon): these.
* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
(syscmd, sysval, traceoff, traceon): Reactivate.
2000-11-03 17:08:02 +08:00
|
|
|
m4_copy_unm4([m4_sinclude])
|
|
|
|
m4_copy_unm4([m4_syscmd])
|
|
|
|
m4_copy_unm4([m4_sysval])
|
|
|
|
m4_copy_unm4([m4_traceoff])
|
|
|
|
m4_copy_unm4([m4_traceon])
|
* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
Use them.
(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
(substr, translit, m4_wrap): Rename as...
(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
Adjust all dependencies.
* acgeneral.m4: Adjust.
* tests/m4sugar.at: Adjust.
* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
Reestablish them.
2000-11-03 16:53:26 +08:00
|
|
|
m4_copy_unm4([m4_translit])
|
|
|
|
m4_copy_unm4([m4_undefine])
|
2000-11-23 17:46:48 +08:00
|
|
|
m4_copy_unm4([m4_undivert])
|