]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
25 years agoThe documentation is not clear about the obsoleteness of
Akim Demaille [Thu, 2 Nov 2000 17:44:02 +0000 (17:44 +0000)] 
The documentation is not clear about the obsoleteness of
`acconfig.h', `config.h.top', and `config.h.bot'.
Reported by Aharon Robbins.
* doc/autoconf.texi (Making configure Scripts)
(Automatic Remaking, Defining Symbols, Distributing): Forget about
these files.
(acconfig.h): Reword.
Display the old scheme presenting the dependencies between input
and output files.
(Changed File Names): Clarify.

25 years ago* doc/autoconf.texi (Limitations of Usual Tools): Some about
Akim Demaille [Thu, 2 Nov 2000 17:35:53 +0000 (17:35 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Some about
dirname.

25 years ago * ifnames.sh: Put the opening brace on the same line with
Pavel Roskin [Thu, 2 Nov 2000 17:03:32 +0000 (17:03 +0000)] 
    * ifnames.sh: Put the opening brace on the same line with
        patterns. Reported by Paul Martinolich.
        * tests/tools.at (AWK portability): Check ifnames.
        (ifnames): New test for ifnames.
        * THANKS: Updated.

25 years ago * m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
Pavel Roskin [Thu, 2 Nov 2000 16:12:15 +0000 (16:12 +0000)] 
    * m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
        because AT_TESTPATH looks like a macro.
        * tests/atconfig.in: Likewise.

25 years ago* autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
Akim Demaille [Thu, 2 Nov 2000 16:03:58 +0000 (16:03 +0000)] 
* autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
Catch the failures of the big pipe.

25 years ago* tests/tools.at (Tracing M4 builtins): New test.
Akim Demaille [Thu, 2 Nov 2000 15:32:23 +0000 (15:32 +0000)] 
* tests/tools.at (Tracing M4 builtins): New test.
* autoconh.sh (trace_format): Fix its computation.

25 years ago* tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
Akim Demaille [Thu, 2 Nov 2000 15:21:04 +0000 (15:21 +0000)] 
* tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
stdout and stderr fail, differences on the latter are probably
more significant than on the former.

25 years ago* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
Akim Demaille [Thu, 2 Nov 2000 15:06:02 +0000 (15:06 +0000)] 
* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
trace.m4.

25 years ago* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
Akim Demaille [Thu, 2 Nov 2000 14:38:08 +0000 (14:38 +0000)] 
* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.

25 years agoImprove tests/README.
Akim Demaille [Thu, 2 Nov 2000 14:36:16 +0000 (14:36 +0000)] 
Improve tests/README.

25 years ago* m4sugar.m4 (popdef, pushdef): Rename as...
Akim Demaille [Thu, 2 Nov 2000 14:12:18 +0000 (14:12 +0000)] 
* m4sugar.m4 (popdef, pushdef): Rename as...
(m4_popdef, m4_pushdef): these.
Adjust dependencies.
* acgeneral.m4: Adjust.
* aclang.m4: Likewise.
* autoconf.m4 (popdef, pushdef): Reactivate them.

25 years ago* tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
Akim Demaille [Thu, 2 Nov 2000 12:23:42 +0000 (12:23 +0000)] 
* tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
`-v' is passed.

25 years ago * autoconf.sh: Using trap-safe "exit".
Pavel Roskin [Wed, 1 Nov 2000 19:57:54 +0000 (19:57 +0000)] 
    * autoconf.sh: Using trap-safe "exit".
        * autoreconf.sh: Likewise.
        * autoupdate.sh: Likewise.
        * tests/base.at: Use AS_EXIT instead of exit in configure.in.
        * tests/m4sh.at: Likewise.
        * tests/semantics.at: Likewise.

25 years agoIn M4sugar, move `define', `undefine', and `defn' into the `m4_'
Akim Demaille [Wed, 1 Nov 2000 17:32:17 +0000 (17:32 +0000)] 
In M4sugar, move `define', `undefine', and `defn' into the `m4_'
name space.
* m4sugar.m4 (m4_define, m4_defn, m4_undefine): New macros.
(define, defn, undefine): Undefine.
Adjust all uses.
* m4sh.m4: Adjust.
* autoconf.m4: Reenable these builtins.
* m4sugar.m4 (m4_expansion_stack_dump): Use m4_copy.

25 years agoGNU M4 1.4 improperly handle the traces of copies of builtins.
Akim Demaille [Wed, 1 Nov 2000 17:02:34 +0000 (17:02 +0000)] 
GNU M4 1.4 improperly handle the traces of copies of builtins.
* autoconf.sh (task trace): When tracing `BUILTIN' also trace
`m4_BUILTIN'.

25 years agoAutoupdate should not depend upon foreign macros.
Akim Demaille [Wed, 1 Nov 2000 16:49:47 +0000 (16:49 +0000)] 
Autoupdate should not depend upon foreign macros.
* autoupdate.sh (ac.m4): Use `_au_define', not `define'.
(input.m4): Use `_au_BUILTIN' not `BUILTIN'.

25 years ago* m4sugar.m4 (m4_fatal): Dump the expansion stack.
Akim Demaille [Wed, 1 Nov 2000 16:33:18 +0000 (16:33 +0000)] 
* m4sugar.m4 (m4_fatal): Dump the expansion stack.
* acgeneral.m4 (AC_FATAL): Use m4_fatal.

25 years agoMove the `defun' handling into M4sugar.
Akim Demaille [Wed, 1 Nov 2000 15:56:37 +0000 (15:56 +0000)] 
Move the `defun' handling into M4sugar.
* m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
_m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
m4_provide_ifelse): New macros.
* acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
_AC_DEFUN_EPI): Removed.
(AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.

25 years ago * tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
Pavel Roskin [Wed, 1 Nov 2000 15:20:46 +0000 (15:20 +0000)] 
    * tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
        like in the rest of the tests.

25 years ago* autoconf.sh: Typo: s/m4__warnings/m4_warnings/.
Pavel Roskin [Wed, 1 Nov 2000 15:01:54 +0000 (15:01 +0000)] 
* autoconf.sh: Typo: s/m4__warnings/m4_warnings/.

25 years ago * autoupdate.sh: Check that $sed understands the meaning of "\b"
Pavel Roskin [Tue, 31 Oct 2000 18:07:33 +0000 (18:07 +0000)] 
    * autoupdate.sh: Check that $sed understands the meaning of "\b"
        instead of checking "--version".

25 years agoMove the handling of classified warnings into M4sugar.
Akim Demaille [Tue, 31 Oct 2000 15:20:15 +0000 (15:20 +0000)] 
Move the handling of classified warnings into M4sugar.
* m4sugar.m4 (m4_diagnose): Remove.
(m4_warning): New.
* acgeneral.m4 (AC_WARNING_IFELSE, _AC_WARNING_IFELSE)
(_AC_WARNING_ERROR_IFELSE, __AC_WARNING_ERROR_IFELSE)
(_AC_DIAGNOSE, AC_DIAGNOSE): Rename as...
* m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse)
(_m4_warn, m4_warn): these.
* acgeneral.m4 (AC_DIAGNOSE): Wrapper around `m4_warn'.
* autoconf.sh: Define `m4_warnings' instead of `_AC_WARNINGS'.

25 years ago * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
Pavel Roskin [Tue, 31 Oct 2000 04:47:23 +0000 (04:47 +0000)] 
    * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
        argument to AC_LINK_IFELSE.

25 years ago * m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
Pavel Roskin [Mon, 30 Oct 2000 19:47:58 +0000 (19:47 +0000)] 
    * m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
        * acgeneral.m4 (AC_MSG_ERROR): Don't use m4_default for the
        second argument - AS_EXIT takes care of it.

25 years ago* m4sugar.m4: Formatting changes.
Akim Demaille [Mon, 30 Oct 2000 19:02:23 +0000 (19:02 +0000)] 
* m4sugar.m4: Formatting changes.

25 years agoMove the handling of diversions into M4sugar.
Akim Demaille [Mon, 30 Oct 2000 19:01:24 +0000 (19:01 +0000)] 
Move the handling of diversions into M4sugar.
* acgeneral.m4 (_AC_DIVERT, AC_DIVERT, AC_DIVERT_PUSH)
(AC_DIVERT_POP): Move to...
* m4sugar.m4 (_m4_divert, m4_divert, m4_divert_push)
(m4_divert_pop): here.
* acgeneral.m4: Adjust to use only the M4sugar macros.
Nevertheless...
(AC_DIVERT_PUSH, AC_DIVERT_POP): New wrappers around the M4sugar
macros.
(_AC_DIVERT(...)): Rename all the diversions names as...
(_m4_divert(...)): these.

25 years agoMore stuff to ignore: config.h config.hin experr expout state*
Pavel Roskin [Mon, 30 Oct 2000 16:47:42 +0000 (16:47 +0000)] 
More stuff to ignore: config.h config.hin experr expout state*

25 years ago * m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
Pavel Roskin [Mon, 30 Oct 2000 12:29:36 +0000 (12:29 +0000)] 
    * m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
        is set correctly within the exit trap.
        (AS_TMPDIR): Use it.
        * acgeneral.m4 (AC_MSG_ERROR): Likewise,

25 years ago * acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
Pavel Roskin [Mon, 30 Oct 2000 04:04:18 +0000 (04:04 +0000)] 
    * acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
        cache. From Jim Meyering.
        (AC_PATH_TOOL): Likewise.

25 years ago * tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
Pavel Roskin [Mon, 30 Oct 2000 03:24:44 +0000 (03:24 +0000)] 
    * tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
        is different from what we got. Don't preserve exit status other
        than 77.

25 years ago * autoconf.sh: When scanning for unexpanded macros match only
Pavel Roskin [Mon, 30 Oct 2000 03:20:00 +0000 (03:20 +0000)] 
    * autoconf.sh: When scanning for unexpanded macros match only
        words beginning with "A?_" and "m4_" or containing "_A?_".
        Strip the comments before the matching. Don't use character
        ranges.

25 years ago * acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
Pavel Roskin [Mon, 30 Oct 2000 00:59:45 +0000 (00:59 +0000)] 
    * acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
        accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Oct 2000 19:44:45 +0000 (19:44 +0000)] 
*** empty log message ***

25 years ago(AC_MSG_WARN): Now that this macro expands to
Jim Meyering [Sun, 29 Oct 2000 19:43:53 +0000 (19:43 +0000)] 
(AC_MSG_WARN): Now that this macro expands to
two stmts, enclose them in `{' ... `}'.

25 years ago * aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
Pavel Roskin [Sat, 28 Oct 2000 16:33:19 +0000 (16:33 +0000)] 
    * aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
        for unsupported languages.

25 years ago * acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
Pavel Roskin [Fri, 27 Oct 2000 23:10:18 +0000 (23:10 +0000)] 
    * acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
        shell, not from the test program.

25 years ago * doc/autoconf.texi (Limitations of Builtins): Recommend using
Pavel Roskin [Fri, 27 Oct 2000 17:29:23 +0000 (17:29 +0000)] 
    * doc/autoconf.texi (Limitations of Builtins): Recommend using
        AC_MSG_ERROR instead of exit.
        (Autoconf Language): Fix examples.

25 years ago* tests/suite.at: Move "-*- Autoconf -*-" to the second line.
Pavel Roskin [Fri, 27 Oct 2000 14:43:44 +0000 (14:43 +0000)] 
* tests/suite.at: Move "-*- Autoconf -*-" to the second line.

25 years agoUse AC_MSG_ERROR in the test suite, not just `exit'.
Akim Demaille [Fri, 27 Oct 2000 14:15:28 +0000 (14:15 +0000)] 
Use AC_MSG_ERROR in the test suite, not just `exit'.
* tests/README: New file.
* tests/semantics.at: Don't just `exit 1' or `exit 77' from
configure.in: call AC_MSG_ERROR.
* tests/base.m4: Likewise.
* tests/m4sh.at: Likewise.
* tests/semantics.at (AT_CHECK_PROGS_PREPARE): New macro, eved
out of...
(AC_CHECK_PROG & AC_PATH_PROG): here.
Split into two individual tests...
(AC_CHECK_PROG & AC_CHECK_PROGS, AC_PATH_PROG & AC_PATH_PROGS): these.

25 years ago * autoconf.sh: Recognize short options followed by arguments
Pavel Roskin [Fri, 27 Oct 2000 13:47:54 +0000 (13:47 +0000)] 
    * autoconf.sh: Recognize short options followed by arguments
        without separators.
        * autoheader.sh: Likewise.
        * autoreconf.sh: Likewise. Recognize abbreviations for
        "--autoconf-dir" and "--m4dir"
        * autoupdate.sh: Likewise. Recognize abbreviations for
        "--autoconf-dir"

25 years ago * autoconf.sh: Don't show obsolete options on "--help". Report
Pavel Roskin [Thu, 26 Oct 2000 22:27:48 +0000 (22:27 +0000)] 
    * autoconf.sh: Don't show obsolete options on "--help". Report
        obsolete options to stderr. Adjust list of options. Correct
        processing of options. Process options with values separated by
        "=" first, so that abbreviations work. Don't accept "=" with
        short options.
        * autoheader.sh: Likewise.
        * autoreconf.sh: Likewise.
        * autoupdate.sh: Likewise.
        * ifnames.sh: There is no "--verbose" option.
        * doc/autoconf.texi: Option "-A" requires an argument.
        (autoreconf Invocation): Document "--install", "--symlink",
        "--m4dir" and the options passed to Automake.

25 years ago* shell.m4: Rename as...
Akim Demaille [Thu, 26 Oct 2000 09:52:34 +0000 (09:52 +0000)] 
* shell.m4: Rename as...
* m4sh.m4: this.
* tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
* tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
* tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
* tests/semantics.at, tests/base.at, tests/suite.at: these.
* tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
* tests/tools.at, tests/update.at, tests/syntax.at: these.
* tests/mktests.sh: Adjust the output file names.

25 years ago* autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
Pavel Roskin [Wed, 25 Oct 2000 21:10:24 +0000 (21:10 +0000)] 
* autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
hangs with non-GNU versions of sed.

25 years agoMove the Autoconf independent shell macros into the file
Akim Demaille [Wed, 25 Oct 2000 17:51:10 +0000 (17:51 +0000)] 
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.

25 years ago* acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
Akim Demaille [Wed, 25 Oct 2000 15:04:29 +0000 (15:04 +0000)] 
* acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
(AC_SHELL_DIRNAME_EXPR, AC_SHELL_DIRNAME_SED): these new macros.
* tests/base.m4 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): New
test.

25 years ago * tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
Pavel Roskin [Wed, 25 Oct 2000 11:47:20 +0000 (11:47 +0000)] 
    * tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
        (AC_STATE_SAVE): ... this.  Save the list of all files
        in the current directory.
        * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Compare lists of
        files created by AC_ENV_SAVE. Remove state* before and after
        the test.

25 years ago* Makefile.am: Add acversion.m4.in to EXTRA_DIST.
Pavel Roskin [Wed, 25 Oct 2000 11:30:23 +0000 (11:30 +0000)] 
* Makefile.am: Add acversion.m4.in to EXTRA_DIST.

25 years ago* acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
Akim Demaille [Wed, 25 Oct 2000 10:25:15 +0000 (10:25 +0000)] 
* acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
twice the output for it was not using `-n' and used `p'.  Remove
the latter.

25 years ago* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
Akim Demaille [Wed, 25 Oct 2000 09:14:22 +0000 (09:14 +0000)] 
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
the host in config.log.

25 years agoTypo and style fixes in my entries.
Pavel Roskin [Wed, 25 Oct 2000 05:14:02 +0000 (05:14 +0000)] 
Typo and style fixes in my entries.

25 years ago * tests/mktests.sh: set locale to C to make sure that syntax.m4
Pavel Roskin [Tue, 24 Oct 2000 19:30:00 +0000 (19:30 +0000)] 
    * tests/mktests.sh: set locale to C to make sure that syntax.m4
        and update.m4 are locale-independent

25 years ago * acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
Pavel Roskin [Tue, 24 Oct 2000 19:24:40 +0000 (19:24 +0000)] 
    * acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
        commands.

25 years ago* acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
Akim Demaille [Tue, 24 Oct 2000 18:39:06 +0000 (18:39 +0000)] 
* acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
(AC_FILE_DEPENDENCY_TRACE): this.

25 years ago* m4sugar.m4: (m4_tolower, m4_toupper): New macros.
Akim Demaille [Tue, 24 Oct 2000 17:25:18 +0000 (17:25 +0000)] 
* m4sugar.m4: (m4_tolower, m4_toupper): New macros.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Use m4_toupper().
* aclang.m4 (AC_F77_FUNC): Use m4_toupper()/m4_tolower().

25 years ago* m4sugar.m4 (m4_quote): Comment change.
Pavel Roskin [Tue, 24 Oct 2000 17:03:41 +0000 (17:03 +0000)] 
* m4sugar.m4 (m4_quote): Comment change.

25 years agoStart avoiding dependence upon character ranges.
Akim Demaille [Tue, 24 Oct 2000 16:54:48 +0000 (16:54 +0000)] 
Start avoiding dependence upon character ranges.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Introduce `ac_cr_AZ',
`ac_cr_az', `ac_cr_09', `ac_cr_alnum' and `ac_hostname'.
Spread their use.

25 years ago* acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
Akim Demaille [Tue, 24 Oct 2000 16:37:14 +0000 (16:37 +0000)] 
* acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
(_AC_INIT_PREPARE): Trap after having created config.log.
Also trap on 0.
When trapped, report why in config.log.
(AC_MSG_WARN, AC_MSG_ERROR): Also output the message in
config.log.

25 years ago* acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
Akim Demaille [Tue, 24 Oct 2000 11:59:45 +0000 (11:59 +0000)] 
* acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
(AC_SHELL_DIRNAME): this.
s/X$1/X[]$1/ so that when $1 is a macro, it's given a chance to be
expanded.
(AC_PREFIX_PROGRAM): Use AC_SHELL_DIRNAME.
Quote properly.

25 years ago* tests/tools.m4 (Syntax of the scripts): Specify the path to the
Akim Demaille [Tue, 24 Oct 2000 11:28:20 +0000 (11:28 +0000)] 
* tests/tools.m4 (Syntax of the scripts): Specify the path to the
tested program, some shells don't honor the PATH with `sh PROG'.

25 years agoGrr, CVS managed to remove tests/atspecific.m4 anyway.
Akim Demaille [Tue, 24 Oct 2000 10:16:30 +0000 (10:16 +0000)] 
Grr, CVS managed to remove tests/atspecific.m4 anyway.
Add it again to the repository.

25 years agoPreventing unwanted removal of tests/atspecific.m4.
Akim Demaille [Tue, 24 Oct 2000 09:41:20 +0000 (09:41 +0000)] 
Preventing unwanted removal of tests/atspecific.m4.

25 years agoReally remove libm4.m4
Pavel Roskin [Mon, 23 Oct 2000 20:36:31 +0000 (20:36 +0000)] 
Really remove libm4.m4

25 years agoIgnore also distcheck trees.
Akim Demaille [Mon, 23 Oct 2000 19:17:31 +0000 (19:17 +0000)] 
Ignore also distcheck trees.

25 years agoSince GNU M4 now comes with its libm4 (binary), to avoid
Akim Demaille [Mon, 23 Oct 2000 19:13:37 +0000 (19:13 +0000)] 
Since GNU M4 now comes with its libm4 (binary), to avoid
ambiguities let's rename `libm4' (M4 code) as `m4sugar':
Readability And Greater Understanding Stands 4 M4sugar
name coined by Lars J. Aas.
* libm4.m4: Rename as...
* m4sugar.m4: this.
All dependencies adjusted.

25 years ago* tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
Akim Demaille [Mon, 23 Oct 2000 18:58:43 +0000 (18:58 +0000)] 
* tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
`AC_PREREQ'.
* tests/tools.m4: Globally, don't use `../' to invoke the tested
tools, since the PATH is properly set, and in most cases it
obfuscates the test code.
(autoupdating AC_PREREQ): New tests.

25 years agoIn order to check that all the CPP symbols which are AC_DEFINE'd
Akim Demaille [Mon, 23 Oct 2000 18:32:17 +0000 (18:32 +0000)] 
In order to check that all the CPP symbols which are AC_DEFINE'd
are properly templated, autoheader traces
AC_DEFINE/AC_DEFINE_UNQUOTED.  Only literals can be traced, and
actually tracing non literals produces invalid autoheader input.
Hence, provide a means to trace calls to
AC_DEFINE/AC_DEFINE_UNQUOTED with literals.
* acgeneral.m4 (AC_DEFINE_TRACE, AC_DEFINE_TRACE_LITERAL): New
macros.
(AC_DEFINE, AC_DEFINE_UNQUOTED): Use AC_DEFINE_TRACE.
* autoheader.sh: Trace AC_DEFINE_TRACE_LITERAL, not
AC_DEFINE/AC_DEFINE_UNQUOTED.

25 years agoLet autoupdate change AC_PREREQ to require the current version of
Akim Demaille [Mon, 23 Oct 2000 17:41:27 +0000 (17:41 +0000)] 
Let autoupdate change AC_PREREQ to require the current version of
Autoconf.
* acgeneral.m4 (_AC_VERSION_UNLETTER, _AC_VERSION_COMPARE): Move
to...
* libm4.m4 (m4_version_unletter, m4_version_compare): here.
Adjust dependencies.
* acgeneral.m4 (AU::AC_PREREQ): New macro.
* autoupdate.sh: Fail when `m4 input.m4' fails.

25 years ago * acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
Pavel Roskin [Mon, 23 Oct 2000 04:07:42 +0000 (04:07 +0000)] 
    * acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
        (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
        (AC_FUNC_SELECT_ARGTYPES): Likewise.
        (AC_FUNC_UTIME_NULL): Likewise.
        * acgeneral.m4 (_AC_COMPUTE_INT): Likewise.
        * aclang.m4 (_AC_F77_NAME_MANGLING): Likewise.
        * acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.

25 years ago* tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
Pavel Roskin [Mon, 23 Oct 2000 04:01:41 +0000 (04:01 +0000)] 
* tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
and "src2" at the end of the test.

25 years agoMore files to ignore.
Pavel Roskin [Sat, 21 Oct 2000 02:22:51 +0000 (02:22 +0000)] 
More files to ignore.

25 years ago * NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
Pavel Roskin [Fri, 20 Oct 2000 00:15:34 +0000 (00:15 +0000)] 
    * NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
        * doc/autoconf.texi (Compilers and Preprocessors): Likewise.
        * acgeneral.m4 (AC_TRY_CPP): Comment changes.

25 years ago* doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.
Pavel Roskin [Thu, 19 Oct 2000 21:30:29 +0000 (21:30 +0000)] 
* doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.

25 years agoRemoved all my "regenerate" entries.
Pavel Roskin [Thu, 19 Oct 2000 13:11:18 +0000 (13:11 +0000)] 
Removed all my "regenerate" entries.

25 years agoSpell check ChangeLog.
Akim Demaille [Thu, 19 Oct 2000 07:55:54 +0000 (07:55 +0000)] 
Spell check ChangeLog.
By Morten Eriksen.

25 years ago* mdate-sh: Removed, its copy remains in the doc/ directory.
Pavel Roskin [Wed, 18 Oct 2000 22:48:02 +0000 (22:48 +0000)] 
* mdate-sh: Removed, its copy remains in the doc/ directory.
* Makefile.in: Regenerate.
* tests/Makefile.in: Likewise.

25 years ago* acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.
Akim Demaille [Wed, 18 Oct 2000 17:16:10 +0000 (17:16 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.

25 years ago* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
Akim Demaille [Wed, 18 Oct 2000 16:18:18 +0000 (16:18 +0000)] 
* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
instead of reinventing the wheel. This also takes care of a bug
where the "-g" option was accepted if the compiler silently exits
with status unequal to 0.
(_AC_PROG_CXX_G): Likewise.
(AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
$ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
front of _AC_PROG_CC_G.
(AC_PROG_CXX, AC_PROG_F77): Likewise.

25 years agoLet ChangeLog conform the standard.
Akim Demaille [Wed, 18 Oct 2000 14:19:58 +0000 (14:19 +0000)] 
Let ChangeLog conform the standard.
From Lars J. Aas.

25 years ago* tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
Akim Demaille [Wed, 18 Oct 2000 12:42:20 +0000 (12:42 +0000)] 
* tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
enough.
Use grep to check the presence of a string in a stream.
* m4/atconfig.m4: Quote.

25 years agoTypos and missing entry for the latest checkin.
Akim Demaille [Wed, 18 Oct 2000 12:27:27 +0000 (12:27 +0000)] 
Typos and missing entry for the latest checkin.

25 years ago* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
Akim Demaille [Wed, 18 Oct 2000 12:18:27 +0000 (12:18 +0000)] 
* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
fall back to `cp'.

25 years ago* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
Akim Demaille [Wed, 18 Oct 2000 11:05:32 +0000 (11:05 +0000)] 
* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
fall back to `cp'.

25 years ago* acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
Akim Demaille [Tue, 17 Oct 2000 16:34:10 +0000 (16:34 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
value of the VARIABLE argument when looking for executables, we
need to set it to the correct value from AC_CHECK_TOOL when not
just passing on the incoming VARIABLE directly.
(AC_CHECK_TOOLS, AC_PATH_TOOL): Likewise.

25 years ago* acgeneral.m4 (_AC_INIT_PREPARE): Move the
Akim Demaille [Tue, 17 Oct 2000 12:48:50 +0000 (12:48 +0000)] 
* acgeneral.m4 (_AC_INIT_PREPARE): Move the
_AC_INIT_PREPARE_ENVIRONMENT invocation to...
(_AC_INIT_DEFAULTS): here,  so that we keep the same known
environment for more of the script.

25 years ago* doc/autoconf.texi (The GNU build system): Sketch of new a
Akim Demaille [Tue, 17 Oct 2000 12:33:01 +0000 (12:33 +0000)] 
* doc/autoconf.texi (The GNU build system): Sketch of new a
chapter.

25 years agoSomehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
Akim Demaille [Tue, 17 Oct 2000 09:43:33 +0000 (09:43 +0000)] 
Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
myself (`Fix autoupdate...') was not applied.
* tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
AC_LINK_IFELSE.

25 years ago* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
Akim Demaille [Tue, 17 Oct 2000 09:08:32 +0000 (09:08 +0000)] 
* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
(AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Fix
the quotation.
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Check with the
$ac_tool_prefix iff it is not empty.

25 years ago* doc/autoconf.texi (Particular Programs): Some notes on the
Akim Demaille [Tue, 17 Oct 2000 09:03:17 +0000 (09:03 +0000)] 
* doc/autoconf.texi (Particular Programs): Some notes on the
portability of Flex.

25 years ago* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
Akim Demaille [Tue, 17 Oct 2000 08:41:26 +0000 (08:41 +0000)] 
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Before compiling, remove the files expected to
be produced.
(_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
so don't remove them.

25 years ago* acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
Akim Demaille [Tue, 17 Oct 2000 08:36:20 +0000 (08:36 +0000)] 
* acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
(_AC_REQUIRE): Use AC_FATAL.

25 years agoGive a means to report where the macros have been defined in error
Akim Demaille [Tue, 17 Oct 2000 08:07:59 +0000 (08:07 +0000)] 
Give a means to report where the macros have been defined in error
messages.
* libm4.m4 (m4_location): New macro.
(m4_errprint): Rename as...
(m4_diagnose): this.  Use m4_location.
Adjust dependencies.
(m4_errprint): New macro, similar to `errprint' but for an
additional trailing `n'.
* acgeneral.m4 (AC_DEFUN, AC_DEFUN_ONCE): Define `m4_location($1)'
to the current location (i.e., that of the definition of $1).
(_AC_DEFUN_PRO, _AC_REQUIRE): Also push the location of the
current macro in the stack.
(_AC_EXPANSION_STACK_DUMP): Adjust.

25 years agoFix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
Akim Demaille [Tue, 17 Oct 2000 07:55:44 +0000 (07:55 +0000)] 
Fix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
it includes another AU defined macro.
* autoupdate.sh (input.m4:_au_defun): New macro.
(au.m4): Use it instead of inlining _au_enable/_au_disable
invocations in the definition of all these macros.
(input.m4:__au_enable, input.m4:__au_disable): New macros.
(input.m4:_au_enable, input.m4:_au_disable): Use them.
* tests/mktests.sh (update_exclude_list): Add `AC_OUTPUT'.
Running it twice in a configure.in is not valid.
Add `AC_LINK_FILES' since it requires arguments.
* tests/tools.m4 (autoupdating AC_LINK_FILES): New test.

25 years ago* aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
Akim Demaille [Mon, 16 Oct 2000 18:40:19 +0000 (18:40 +0000)] 
* aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
(_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
Adjust dependencies.
(ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.

25 years ago* acgeneral.m4: Adjust copyright notice.
Akim Demaille [Mon, 16 Oct 2000 18:25:55 +0000 (18:25 +0000)] 
* acgeneral.m4: Adjust copyright notice.
* acspecific.m4: Likewise.
* acoldnames.m4: Likewise.
* acversion.m4.in: Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.

25 years ago* tests/aclocal.m4: Don't considers variables @, '*', '?' and
Pavel Roskin [Mon, 16 Oct 2000 12:27:30 +0000 (12:27 +0000)] 
* tests/aclocal.m4: Don't considers variables @, '*', '?' and
'#' in the output of `set' - they are modified by zsh.

25 years ago * m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing"
Pavel Roskin [Sun, 15 Oct 2000 02:12:38 +0000 (02:12 +0000)] 
    * m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing"
        * configure.in: Don't add $SHELL to the path of help2man -
        it is already added by AM_MISSING_PROG.

25 years ago* tests/mktests.sh: If ever it fails, touch the output files
Akim Demaille [Fri, 13 Oct 2000 16:37:21 +0000 (16:37 +0000)] 
* tests/mktests.sh: If ever it fails, touch the output files
``a` la missing''.

25 years ago* acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
Akim Demaille [Fri, 13 Oct 2000 10:15:56 +0000 (10:15 +0000)] 
* acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
consulting a variable...

25 years ago* acgeneral.m4: Typos in comments spotted by Pavel.
Akim Demaille [Fri, 13 Oct 2000 07:50:07 +0000 (07:50 +0000)] 
* acgeneral.m4: Typos in comments spotted by Pavel.

25 years ago* acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
Pavel Roskin [Thu, 12 Oct 2000 20:46:23 +0000 (20:46 +0000)] 
* acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
libfl regardless of the $LEX value.