]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
24 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.

24 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.

24 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.

24 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.

24 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

24 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.

24 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.

24 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().

24 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.

24 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.

24 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.

24 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.

24 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'.

24 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.

24 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.

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

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

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

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

24 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.

24 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.

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

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

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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'.

24 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'.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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.

24 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''.

24 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...

24 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.

24 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.

24 years ago* acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.
Akim Demaille [Thu, 12 Oct 2000 16:32:13 +0000 (16:32 +0000)] 
* acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.

24 years agoRegenerate.
Akim Demaille [Thu, 12 Oct 2000 16:12:03 +0000 (16:12 +0000)] 
Regenerate.

24 years ago* tests/mktests.sh: Backslash the quote in the heredocs to help
Akim Demaille [Thu, 12 Oct 2000 15:02:42 +0000 (15:02 +0000)] 
* tests/mktests.sh: Backslash the quote in the heredocs to help
syntax highlighting tools.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
title.

24 years ago* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
Akim Demaille [Thu, 12 Oct 2000 14:45:05 +0000 (14:45 +0000)] 
* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
of backquotes, instead of a `syntax' warning.

24 years ago* acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
Akim Demaille [Thu, 12 Oct 2000 14:35:31 +0000 (14:35 +0000)] 
* acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
(AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.

24 years ago* tests/mktests.sh: Remove tmp files.
Akim Demaille [Thu, 12 Oct 2000 12:45:16 +0000 (12:45 +0000)] 
* tests/mktests.sh: Remove tmp files.

24 years agoMore entries in .cvsignores.
Akim Demaille [Thu, 12 Oct 2000 12:43:22 +0000 (12:43 +0000)] 
More entries in .cvsignores.

24 years agoMacros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
Akim Demaille [Thu, 12 Oct 2000 12:39:25 +0000 (12:39 +0000)] 
Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
* acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
requires _AC_EXEEXT.
Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
* aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE.
(_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE.

24 years agoDiagnose AC_REQUIRE circular dependencies.
Akim Demaille [Thu, 12 Oct 2000 10:12:43 +0000 (10:12 +0000)] 
Diagnose AC_REQUIRE circular dependencies.
* acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
macro expansions, _AC_EXPANSION_STACK.
Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
expanded.
(_AC_REQUIRE): Diagnose required macros which are already being
expanded.
Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
(_AC_EXPANSION_STACK_DUMP): New macro.

24 years ago* libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
Akim Demaille [Thu, 12 Oct 2000 07:38:42 +0000 (07:38 +0000)] 
* libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
macros.

24 years ago* tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
Pavel Roskin [Wed, 11 Oct 2000 19:59:43 +0000 (19:59 +0000)] 
* tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
if diffs have succeded.

24 years ago* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
Pavel Roskin [Wed, 11 Oct 2000 17:55:46 +0000 (17:55 +0000)] 
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): New macros which are the former
AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
(AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.

24 years agoRegenerated
Pavel Roskin [Wed, 11 Oct 2000 16:05:53 +0000 (16:05 +0000)] 
Regenerated

24 years ago* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
Akim Demaille [Wed, 11 Oct 2000 14:51:28 +0000 (14:51 +0000)] 
* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
$objext were used instead of $ac_objext.

24 years agoCheck that updated scripts are valid scripts.
Akim Demaille [Thu, 5 Oct 2000 13:52:41 +0000 (13:52 +0000)] 
Check that updated scripts are valid scripts.
* tests/mktests.sh: Generate `syntax.m4' directly.
* tests/macros.m4: Remove.
Adjust dependencies.
* tests/mktests.sh: Generate `update.m4' too.
* tests/update.m4: New generated file.
Adjust dependencies.
* tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.

24 years ago* tests/mktests.sh: New file, which replaces the code inlined in
Akim Demaille [Thu, 5 Oct 2000 09:39:06 +0000 (09:39 +0000)] 
* tests/mktests.sh: New file, which replaces the code inlined in
Makefile.am.
* src/Makefile.am (macros.m4): Use `mktests.sh'.
* tests/suite.m4: Reorder from low level to high level.

24 years agoUpdate auxiliary files.
Akim Demaille [Wed, 4 Oct 2000 12:42:34 +0000 (12:42 +0000)] 
Update auxiliary files.

24 years ago* aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
Akim Demaille [Mon, 2 Oct 2000 13:11:27 +0000 (13:11 +0000)] 
* aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
(_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
(AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
AC_LANG_ABBREV.
(_AC_PROG_PREPROC_WORKS): Adjust.
* acgeneral.m4 (_AC_TRY_CPP): Likewise.

24 years ago* acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
Pavel Roskin [Mon, 2 Oct 2000 12:47:13 +0000 (12:47 +0000)] 
* acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
(AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
would place it into configure.in but it's not allowed
outside AC_DEFUN.

24 years ago* tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
Pavel Roskin [Mon, 2 Oct 2000 12:43:02 +0000 (12:43 +0000)] 
* tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
go to macros.m4 for testing.

24 years ago* acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
Pavel Roskin [Thu, 28 Sep 2000 17:43:35 +0000 (17:43 +0000)] 
* acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
assignments changing $?.

24 years ago* acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
Pavel Roskin [Thu, 28 Sep 2000 14:39:55 +0000 (14:39 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
(_AC_OUTPUT_HEADERS): Exit if the header template is missing.

24 years ago* acfunctions.m4: Formatting fixes.
Pavel Roskin [Thu, 28 Sep 2000 14:26:50 +0000 (14:26 +0000)] 
* acfunctions.m4: Formatting fixes.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* libm4.m4: Likewise.

24 years ago* acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
Pavel Roskin [Wed, 27 Sep 2000 18:17:36 +0000 (18:17 +0000)] 
* acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
in $PATH.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.

24 years ago* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
Pavel Roskin [Wed, 27 Sep 2000 13:21:11 +0000 (13:21 +0000)] 
* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
ACTION-IF-TRUE is not given.
(AH_CHECK_LIB): related comment changes.

24 years ago* aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
Pavel Roskin [Wed, 27 Sep 2000 13:16:13 +0000 (13:16 +0000)] 
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
resulted in invalid shell code.

24 years ago* autoconf.sh: Report full macro name for missing macros.
Akim Demaille [Wed, 27 Sep 2000 10:29:30 +0000 (10:29 +0000)] 
* autoconf.sh: Report full macro name for missing macros.

24 years ago* autoheader.sh: Fix trap (EXIT) status.
Akim Demaille [Wed, 27 Sep 2000 10:02:27 +0000 (10:02 +0000)] 
* autoheader.sh: Fix trap (EXIT) status.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
awk commands to ensure exit state is in a defined state.

24 years ago* tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
Pavel Roskin [Mon, 25 Sep 2000 20:12:01 +0000 (20:12 +0000)] 
* tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.

24 years agoRegenerated configure.
Pavel Roskin [Mon, 25 Sep 2000 14:41:33 +0000 (14:41 +0000)] 
Regenerated configure.

24 years ago* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): use
Pavel Roskin [Mon, 25 Sep 2000 14:34:17 +0000 (14:34 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): use
_AC_INIT_PREPARE_ENVIRONMENT to make the shell runnin
config.status sane and POSIX-compatible.

24 years ago* autoheader.sh: Don't check status of variable assignments -
Pavel Roskin [Mon, 25 Sep 2000 13:24:45 +0000 (13:24 +0000)] 
* autoheader.sh: Don't check status of variable assignments -
* it's undefined in ash 0.2.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Likewise. Also eliminated command substitution
inside variable expansion - ash 0.2 coredumps on it.

24 years ago* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
Pavel Roskin [Thu, 21 Sep 2000 13:42:49 +0000 (13:42 +0000)] 
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
autoconf and autoheader. Expected warnings disabled by "-W none"
Preceding comment removed as no longer relevant.
* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
stderr from autoconf.
(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
* tests/tools.m4 (autoheader): Check that autoheader prints
a warning for missing templates. Check stderr from autoconf.
* tests/torture.m4 (config.status under extreme conditions):
Check stderr from autoconf and autoheader.
(command line interface): Check stderr from autoconf.

24 years ago* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
Pavel Roskin [Thu, 21 Sep 2000 13:37:26 +0000 (13:37 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
config.status - file arguments are optional.

24 years ago* acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
Pavel Roskin [Thu, 21 Sep 2000 13:34:15 +0000 (13:34 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
exits if any input file is missing.
* tests/semantics.m4 (missing templates): Test it.

24 years ago* acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
Pavel Roskin [Thu, 21 Sep 2000 13:32:01 +0000 (13:32 +0000)] 
* acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
assignment - it's undefined in ash 0.2.

24 years ago* src/atgeneral.m4 (AC_CHECK): Display stderr including when the
Akim Demaille [Thu, 21 Sep 2000 13:06:03 +0000 (13:06 +0000)] 
* src/atgeneral.m4 (AC_CHECK): Display stderr including when the
test failed because of stdout.

24 years ago* tests/atgeneral.m4: Formatting changes.
Akim Demaille [Thu, 21 Sep 2000 12:47:04 +0000 (12:47 +0000)] 
* tests/atgeneral.m4: Formatting changes.
(AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
variables instead of `'/`1'.
`at_check_stds' replaces `at_no_redirs'.
Rename `Snippet 3' as `Snippet 4'.
Introduce `Snippet 3' for variable initializations.
Adjust the dependencies.
(AT_CHECK): Don't show diff's result unless verbose.

24 years agoRegenerated
Pavel Roskin [Wed, 20 Sep 2000 16:51:43 +0000 (16:51 +0000)] 
Regenerated

24 years agoFormatting changes.
Pavel Roskin [Wed, 20 Sep 2000 14:35:46 +0000 (14:35 +0000)] 
Formatting changes.

24 years ago* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
Pavel Roskin [Wed, 20 Sep 2000 13:12:13 +0000 (13:12 +0000)] 
* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
from testing because they require an argument.
* tests/atspecific.m4: Make sure that configure doesn't write
anything to stderr.

24 years ago* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
Pavel Roskin [Wed, 20 Sep 2000 13:01:44 +0000 (13:01 +0000)] 
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
variable wasn't always set inside AC_CACHE_CHECK.
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.

24 years ago * libm4.m4 (m4_ifvanl): Don't output a newline for empty
Pavel Roskin [Wed, 20 Sep 2000 10:45:10 +0000 (10:45 +0000)] 
    * libm4.m4 (m4_ifvanl): Don't output a newline for empty
        arguments

24 years ago* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
Akim Demaille [Tue, 19 Sep 2000 18:08:38 +0000 (18:08 +0000)] 
* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
(AT_CHECK_MACRO): this.  All dependencies adjusted.

24 years ago* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
Akim Demaille [Tue, 19 Sep 2000 15:36:39 +0000 (15:36 +0000)] 
* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
AC_FUNC_STRTOD.
From Bernard Dautrevaux.

24 years ago* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
Akim Demaille [Tue, 19 Sep 2000 15:36:09 +0000 (15:36 +0000)] 
* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.