summaryrefslogtreecommitdiff
path: root/lib/autoconf/autoupdate.m4
Commit message (Collapse)AuthorAgeFilesLines
* make update-copyrightPaul Eggert2023-01-201-1/+1
|
* Use UTF-8 and spell "François" correctlyPaul Eggert2022-12-241-1/+1
|
* make update-copyrightPaul Eggert2022-05-191-1/+1
|
* Autoconf now quotes 'like this' instead of `like this'Paul Eggert2021-07-201-4/+4
| | | | | | | Autoconf’s diagnostics now follow current GNU coding standards, which say that diagnostics in the C locale should quote 'like this' with plain apostrophes instead of the older GNU style `like this' with grave accent and apostrophe.
* make update-copyrightZack Weinberg2021-01-281-2/+2
|
* Don’t issue obsoletion warnings for AC_DIAGNOSE.Zack Weinberg2020-10-071-17/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | AC_DIAGNOSE is used in several extremely popular add-on macros, notably AM_INIT_AUTOMAKE, AM_GNU_GETTEXT, and AC_LIBTOOL_DLOPEN. Until newer versions of these macros are available, -Wobsolete warnings for AC_DIAGNOSE will be unhelpful noise. Therefore, make it so AC_DIAGNOSE(...) will still be replaced with m4_warn(...) by autoupdate, but autoconf runs will not complain about AC_DIAGNOSE. The bulk of the patch is augmenting AU_DEFUN so that it can define a “silent” autoupdate replacement, and documenting the new feature. * lib/autoconf/autoupdate.m4 (AU_DEFUN): Add a fourth argument, SILENT, which must be either empty or the word ‘silent’. If it is ‘silent’, the macro being defined will *not* issue a -Wobsolete warning when expanded by autoconf. Tweak quotation to prevent emacs’ parenthesis matching from getting confused. (AU_ALIAS): Add the SILENT argument here as well. * lib/autoconf/general.m4 (AC_DIAGNOSE): Define as a silent AU_DEFUN. Add commentary explaining why this was done and when it can be changed back. * doc/autoconf.texi (AU_DEFUN, AU_ALIAS): Revise; document new SILENT argument.
* Autoupdate AC_{DIAGNOSE,FATAL,OBSOLETE,WARNING} and _AC_COMPUTE_INT.Zack Weinberg2020-09-221-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While working on the previous patches I noticed that all of these macros are officially obsolete, but autoupdate doesn’t replace them. _AC_COMPUTE_INT is easy to autoupdate. AC_{DIAGNOSE,FATAL,WARNING} require a little special handling because their replacements are m4sugar macros, and autoupdate normally expands m4sugar macros as it goes. Fortunately, the same workaround as is used for AC_FOREACH can be applied. AC_OBSOLETE also needs that workaround, and cannot be fully replaced automatically. The bulk of the patch is removing internal uses of AC_DIAGNOSE. * lib/autoconf/autoupdate.m4 * lib/autoconf/c.m4 * lib/autoconf/functions.m4 * lib/autoconf/general.m4 * lib/autoconf/headers.m4 * lib/autoconf/lang.m4 * lib/autoconf/status.m4 * lib/autoconf/types.m4 * tests/local.at * tests/tools.at: Use, and/or refer to, m4_warn instead of AC_DIAGNOSE. * lib/autoconf/general.m4 (_AC_COMPUTE_INT): Define using AU_DEFUN. (AC_DIAGNOSE, AC_FATAL, AC_WARNING): Autoupdate to m4_warn, m4_fatal, and m4_warn([syntax], [$1]) respectively, using the same paired AU_DEFUN/AC_DEFUN trick that is used for AC_FOREACH. (AC_OBSOLETE): Autoupdate to m4_warn([obsolete], [$1]) and advise hand-conversion to AU_DEFUN. * lib/autoconf/autoupdate.m4 (AU_DEFUN): Tweak quoting so m4_warn([$3]) is emitted into the edited configure.ac instead of being expanded at autoupdate time. * tests/tools.at (autoupdating AC_FOREACH): Adjust grep expressions. (autoupdating AC_DIAGNOSE and AC_WARNING): New test. (autoupdating AC_FATAL): New test. (autoupdating AC_OBSOLETE): New test. * tests/mktests.sh (ac_exclude_list, au_exclude_list): Exclude AC_DIAGNOSE, AC_FATAL, AC_FOREACH, AC_OBSOLETE, and AC_WARNING if not already excluded.
* maint: make update-copyrightJim Meyering2020-01-011-2/+2
|
* Prefer HTTPS to FTP and HTTPPaul Eggert2017-09-161-1/+1
|
* maint: update copyright dates for 2017Jim Meyering2017-01-011-1/+1
| | | | | * all files: Run "make update-copyright". * doc/autoconf.texi: Update manually.
* maint: make update-copyrightPaul Eggert2016-02-061-1/+1
|
* maint: bump copyright to 2015Paul Eggert2015-01-021-1/+1
| | | | * all files: Run 'make update-copyright'.
* maint: bump copyright to 2014Eric Blake2014-01-011-1/+1
| | | | | | | Done via 'make update-copyright', since all files are effectively modified and distributed this year via public version control. * all files: Update copyright year.
* maint: bump copyright to 2013Eric Blake2013-01-031-1/+1
| | | | | | | Done via 'make update-copyright', since all files are effectively modified and distributed this year via public version control. * all files: Update copyright year.
* maint: spelling fixesPaul Eggert2012-03-011-1/+1
|
* maint: update copyright yearPaul Eggert2012-01-041-1/+1
| | | | All files changed to add 2012, via 'make update-copyright'.
* maint: update copyright yearEric Blake2011-01-041-2/+2
| | | | | | All files changed to add 2011, via 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* Update copyright year.Eric Blake2010-01-051-1/+1
| | | | | | All files changed to add 2010, via 'make update-copyright'. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update License to GPLv3+ including new Autoconf Exception.Ralf Wildenhues2009-09-091-34/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS, README: Update licensing information. * COPYING.EXCEPTION: New file. * Makefile.am (EXTRA_DIST): Distribute it. * cfg.mk (autom4te-update): Remove copyright change warning. * lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4, lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4, lib/autoconf/c.m4, lib/autoconf/erlang.m4, lib/autoconf/fortran.m4, lib/autoconf/functions.m4, lib/autoconf/general.m4, lib/autoconf/headers.m4, lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoconf/oldnames.m4, lib/autoconf/programs.m4, lib/autoconf/specific.m4, lib/autoconf/status.m4, lib/autoconf/types.m4, lib/autotest/autotest.m4, lib/autotest/general.m4, lib/autotest/specific.m4, lib/m4sugar/foreach.m4, lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4: Update exception statement, bump to GPLv3. * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Bump to GPLv3+, adjust --version output to reflect the GPLv3+ and the Autoconf Exception. * lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm, lib/Autom4te/General.pm, lib/Autom4te/Request.pm, lib/autom4te.in, lib/autoscan/autoscan.pre, lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el, lib/freeze.mk, tests/atlocal.in, tests/autoscan.at, tests/autotest.at, tests/base.at, tests/c.at, tests/compile.at, tests/erlang.at, tests/foreign.at, tests/fortran.at, tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh, tests/semantics.at, tests/statesave.m4, tests/suite.at, tests/tools.at, tests/torture.at, tests/wrapper.as: Bump to GPLv3+.
* Update copyright.Eric Blake2009-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AUTHORS: Include 2009 in copyright. * lib/Autom4te/C4che.pm: Likewise. * lib/Autom4te/Channels.pm: Likewise. * lib/Autom4te/Configure_ac.pm: Likewise. * lib/Autom4te/FileUtils.pm: Likewise. * lib/Autom4te/General.pm: Likewise. * lib/Autom4te/Request.pm: Likewise. * lib/Autom4te/Struct.pm: Likewise. * lib/autoconf/Makefile.am: Likewise. * lib/autoconf/autoconf.m4: Likewise. * lib/autoconf/autoscan.m4: Likewise. * lib/autoconf/autoupdate.m4: Likewise. * lib/autoconf/functions.m4: Likewise. * lib/autoconf/libs.m4: Likewise. * lib/autoconf/oldnames.m4: Likewise. * lib/autoconf/types.m4: Likewise. * lib/autoscan/Makefile.am: Likewise. * lib/autoscan/autoscan.pre: Likewise. * lib/autotest/Makefile.am: Likewise. * lib/autotest/autotest.m4: Likewise. * lib/emacs/autoconf-mode.el: Likewise. * lib/emacs/autotest-mode.el: Likewise. * lib/freeze.mk: Likewise. * lib/m4sugar/foreach.m4: Likewise. * man/Makefile.am: Likewise. * tests/atlocal.in: Likewise. * tests/autoscan.at: Likewise. * tests/foreign.at: Likewise. * tests/fortran.at: Likewise. * tests/mktests.sh: Likewise. * tests/semantics.at: Likewise. * tests/suite.at: Likewise. * tests/wrapper.as: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Use GPLv2+ plus exception as license for release.Eric Blake2008-04-051-3/+5
| | | | | | | | | | | | | | | | Return back to GPLv2+, until the text of the exceptions is finalized, reverting the change from 2007-07-03 and the first part of the change from 2007-07-20. Also: * COPYING: Revert to GPLv2. * COPYINGv3: New file, since some auxiliary build tools, used for building autoconf and not installed, are GPLv3. * Makefile.am (EXTRA_DIST): Distribute COPYINGv3. * NEWS: Remove mention of GPLv3. * README: Clarify situation regarding GPLv3. Signed-off-by: Eric Blake <ebb9@byu.net>
* Reword the copyright notices to match what's suggested in GPLv3.Paul Eggert2007-07-201-6/+4
|
* Update to GPLv3.Paul Eggert2007-07-031-1/+1
|
* * bin/autoupdate.in (handle_autoconf_macros): Fix updating ofRalf Wildenhues2006-02-141-2/+13
| | | | | | | | | macros without parameters. * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise. * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS. * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS `$#' bug. (autoupdate): Updated to match AU_ALIAS fix.
* Update FSF postal mail address.Paul Eggert2005-05-141-2/+2
|
* * doc/autoconf.texi (AU_DEFUN): Fix English,Paolo Bonzini2004-02-031-1/+1
| | | | | | suggested by Paul Eggert. * lib/autoconf/autoupdate.m4: Correct reference to acobsolete.m4, suggested by Alexandre Duret-Lutz.
* * bin/autoupdate.in: Define __file__ so that warningsPaolo Bonzini2004-02-031-6/+23
| | | | | | | | | | | refer to the correct file. * doc/autoconf.texi (AU_DEFUN): Describe more correctly the behavior of the third argument. * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more correctly the behavior of the third argument. Document what the three macros that AU_DEFUN defines do. Fix warning message when the third argument includes $0 (reported by Alexandre Duret-Lutz).
* * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.Paolo Bonzini2004-01-301-7/+16
| | | | | | | | | | | | | | | | | | | | | | | * doc/autoconf.texi: Don't say that the third parameter is broken. * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro. (AU_DEFUN): Honor the third parameter, create autoupdate macros with AU_DEFINE. * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER): Use AU_DEFUN's third parameter. * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise. * lib/autoconf/programs.m4 (AC_RSH): Likewise. * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG, AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32, AC_XENIX_DIR): Likewise. * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise. * lib/autoconf/status.m4: Remove FIXME. * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check that the macro is not present anymore in the updated configure.ac. * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr of autoupdate.
* Grammar fixes.Paul Eggert2004-01-141-3/+4
|
* Revert the behavioral changes in AC_LINK_FILES, and add severalPaolo Bonzini2003-11-251-4/+10
| | | | clarificataions about the brokenness of AU_DEFUN's third argument.
* 2003-11-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2003-11-241-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * TODO: Remove already done things. Update the part about finding tools for the target. 2003-11-24 Paolo Bonzini <bonzini@gnu.org> * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER): Make wording more consistent. * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): Explain the transition better. * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain the transition better. 2003-11-24 Paolo Bonzini <bonzini@gnu.org> * doc/autoconf.texi (Obsoleting Macros): Don't document the third parameter of AU_DEFUN. * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove. (AU_DEFUN): Remove the third parameter, it was not used. Use AC_DEFUN directly, not AU_DEFINE. * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into the expanded body, consistently with other macros such as AC_USG.
* * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4Akim Demaille2003-05-221-1/+1
| | | | | | * lib/autoconf/fortran.m4 lib/autoconf/general.m4 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4 * lib/autoconf/status.m4: Fix and adjust copyright notices.
* * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,Akim Demaille2003-05-221-2/+2
| | | | | | | | | | | | | | | * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4, * lib/autoconf/c.m4, lib/autoconf/fortran.m4, * lib/autoconf/general.m4, lib/autoconf/headers.m4, * lib/autoconf/lang.m4, lib/autoconf/libs.m4, * lib/autoconf/programs.m4, lib/autoconf/specific.m4, * lib/autoconf/status.m4, lib/autoconf/types.m4, * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4, * tests/atspecific.m4, tests/base.at, tests/compile.at, * tests/foreign.at, tests/m4sh.at, tests/semantics.at, * tests/tools.at, tests/torture.at: Whitespace clean up. Suggested by Jim Meyering.
* * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): MoveAkim Demaille2001-08-271-0/+98
to... * lib/autoconf/autoheader.m4: this new file. * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM) (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM): Move to... * lib/autoconf/autoupdate.m4: this new file.