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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

25 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 $?.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

25 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

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

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

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

25 years ago* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
Akim Demaille [Tue, 19 Sep 2000 15:20:04 +0000 (15:20 +0000)] 
* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
simplification.

25 years ago* autoconf.sh (optarg): More robust expr invocation.
Akim Demaille [Tue, 19 Sep 2000 12:35:01 +0000 (12:35 +0000)] 
* autoconf.sh (optarg): More robust expr invocation.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Reported by Bernard Dautrevaux.

25 years ago* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
Akim Demaille [Tue, 19 Sep 2000 12:21:47 +0000 (12:21 +0000)] 
* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
would replace an old macro call with the new macro body instead of
the new macro call.
* tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.

25 years ago* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
Akim Demaille [Tue, 19 Sep 2000 10:37:57 +0000 (10:37 +0000)] 
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
(AT_TEST_MACRO): Use it.
* tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
without warnings): New tests.

25 years ago* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
Akim Demaille [Mon, 18 Sep 2000 11:05:41 +0000 (11:05 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.

25 years ago* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
Akim Demaille [Mon, 18 Sep 2000 10:53:01 +0000 (10:53 +0000)] 
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
of LIBS.  Otherwise, everyone ends up linking with -lelf for some
configurations.
Reported by Mike Stone.

25 years ago* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
Akim Demaille [Thu, 14 Sep 2000 07:55:32 +0000 (07:55 +0000)] 
* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
and eliminate ac_tmp_cpp.
(AC_PROG_CXXCPP): Use double quotes in the for loop and
eliminate ac_tmp_cxxcpp.

25 years ago* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
Akim Demaille [Thu, 14 Sep 2000 07:50:14 +0000 (07:50 +0000)] 
* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
from the output - it is only printed by Visual C that gives
correct exit status.
* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
by the same reason.

25 years ago* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
Akim Demaille [Tue, 12 Sep 2000 16:05:29 +0000 (16:05 +0000)] 
* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
it's useless here. Rename to ...
(_AC_PROG_PREPROC_WORKS): ... this.

25 years ago* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
Akim Demaille [Tue, 12 Sep 2000 15:03:13 +0000 (15:03 +0000)] 
* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.

25 years agoThe test suite fails on some hosts because for instance
Akim Demaille [Tue, 12 Sep 2000 13:59:55 +0000 (13:59 +0000)] 
The test suite fails on some hosts because for instance
  AC_INIT
  AC_CHECK_FUNC(exit)
will not look for a compiler, it will just use `cc'.
Macros that need a compiler should require one.

25 years ago* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
Akim Demaille [Tue, 12 Sep 2000 13:02:29 +0000 (13:02 +0000)] 
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
and checks whether it produces errors or warnings. Don't put grep
output into a variable, use another grep instead.
(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
if the case of an error.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
define AC_LANG_ABBREV to the short language name.
(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
preprocessor can be used to check for existance of headers.
Most code taken from ...
(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
it's a macro for C only.
(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.

25 years ago* autoupdate.sh (sed): Look for GNU sed.
Akim Demaille [Tue, 12 Sep 2000 12:41:32 +0000 (12:41 +0000)] 
* autoupdate.sh (sed): Look for GNU sed.
(usage): Ask for GNU sed.

25 years ago* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
Akim Demaille [Tue, 12 Sep 2000 10:23:08 +0000 (10:23 +0000)] 
* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
changequote.

25 years ago* acgeneral.m4 (AC_ARG_ENABLE,AC_ARG_WIDTH): Add trailing
Akim Demaille [Tue, 12 Sep 2000 10:07:33 +0000 (10:07 +0000)] 
* acgeneral.m4 (AC_ARG_ENABLE,AC_ARG_WIDTH): Add trailing
semicolon to final fi.

25 years ago* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
Akim Demaille [Mon, 11 Sep 2000 09:56:18 +0000 (09:56 +0000)] 
* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
(__AC_WARNING_ERROR_IFELSE): New macros for checking whether
warnings should be considered errors.
(_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.

25 years ago* autoconf.sh: Proprerly report names of unexpanded macros that
Akim Demaille [Mon, 11 Sep 2000 07:16:34 +0000 (07:16 +0000)] 
* autoconf.sh: Proprerly report names of unexpanded macros that
begin with an underscore

25 years ago* doc/autoconf.texi (Preset Output Variables): Correctly specify
Akim Demaille [Mon, 11 Sep 2000 07:04:38 +0000 (07:04 +0000)] 
* doc/autoconf.texi (Preset Output Variables): Correctly specify
what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
Extended description of LDFLAGS and LIBS.
(Compilers and Preprocessors, C Compiler Characteristics):
Recommend Automake as the source of ansi2knr.
(Autoconf Language, Quotation and Nested Macros): English fixes.
(Quotation and Nested Macros): Unclear example replaced with
an explanation of when m4 expands quotes. Added explanation why
unquoted calls are dangerous.

25 years ago* doc/autoconf.texi: Always use one space before the opening
Akim Demaille [Fri, 8 Sep 2000 15:38:21 +0000 (15:38 +0000)] 
* doc/autoconf.texi: Always use one space before the opening
parenthesis in @defmac

25 years agoTypo.
Akim Demaille [Wed, 6 Sep 2000 14:11:52 +0000 (14:11 +0000)] 
Typo.

25 years ago* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
Akim Demaille [Wed, 6 Sep 2000 13:05:58 +0000 (13:05 +0000)] 
* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
which uses $ac_objext hence depends upon _AC_OBJEXT.
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
_AC_EXEEXT before _AC_OBJEXT since the former needs $ac_objext.

25 years ago* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
Akim Demaille [Wed, 6 Sep 2000 13:03:08 +0000 (13:03 +0000)] 
* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
creates both an unsuffixed file and suffixed ones.

25 years ago* autoconf.texi: English and typo fixes.
Akim Demaille [Wed, 6 Sep 2000 09:06:21 +0000 (09:06 +0000)] 
* autoconf.texi: English and typo fixes.

25 years ago* autoconf.sh: Consider undefined macros as errors.
Akim Demaille [Tue, 5 Sep 2000 10:19:01 +0000 (10:19 +0000)] 
* autoconf.sh: Consider undefined macros as errors.
* tests/base.m4 (unexpanded macros): Expect error, not warning

25 years ago* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
Akim Demaille [Tue, 5 Sep 2000 09:14:10 +0000 (09:14 +0000)] 
* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
that we can get some standard output.

25 years ago* autoscan.pl: Repair broken Getopt::Long use.
Akim Demaille [Mon, 4 Sep 2000 14:50:50 +0000 (14:50 +0000)] 
* autoscan.pl: Repair broken Getopt::Long use.

25 years ago* configure.in: Bump version to 2.49b.
Akim Demaille [Mon, 4 Sep 2000 12:12:21 +0000 (12:12 +0000)] 
* configure.in: Bump version to 2.49b.
* Makefile.am (bin_SCRIPTS): Depend upon configure.in.

25 years agoVersion 2.49a.
Akim Demaille [Fri, 11 Aug 2000 12:55:36 +0000 (12:55 +0000)] 
Version 2.49a.

25 years ago* aclang.m4 (AC_NO_EXECUTABLES): New macro.
Akim Demaille [Fri, 11 Aug 2000 12:41:55 +0000 (12:41 +0000)] 
* aclang.m4 (AC_NO_EXECUTABLES): New macro.

25 years ago* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
Akim Demaille [Fri, 11 Aug 2000 09:28:24 +0000 (09:28 +0000)] 
* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.

25 years ago* configure.in: Bump version to 2.49a.
Akim Demaille [Fri, 11 Aug 2000 09:26:56 +0000 (09:26 +0000)] 
* configure.in: Bump version to 2.49a.

25 years ago* autoconf.sh: Change `exit N' to `(exit N); exit' to provide
Akim Demaille [Fri, 11 Aug 2000 08:51:34 +0000 (08:51 +0000)] 
* autoconf.sh: Change `exit N' to `(exit N); exit' to provide
the correct exit status when an exit trap is taken.

25 years agoTypo in ChangeLog.
Akim Demaille [Fri, 11 Aug 2000 08:34:52 +0000 (08:34 +0000)] 
Typo in ChangeLog.

25 years ago* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
Akim Demaille [Fri, 11 Aug 2000 08:25:15 +0000 (08:25 +0000)] 
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
their AU_ALIAS definition: Automake 1.4 does not quote the name of
these macros, hence when Autoconf reads Automake's definition the
name is expanded with unpredictable results.

25 years ago* autoreconf.sh (Installing Autoconf extensions files): Remove.
Akim Demaille [Wed, 9 Aug 2000 09:56:30 +0000 (09:56 +0000)] 
* autoreconf.sh (Installing Autoconf extensions files): Remove.

25 years agoAdd .cvsignore in each directory.
Akim Demaille [Wed, 9 Aug 2000 08:47:01 +0000 (08:47 +0000)] 
Add .cvsignore in each directory.

25 years agoUpdate TODO.
Akim Demaille [Wed, 9 Aug 2000 07:41:52 +0000 (07:41 +0000)] 
Update TODO.

25 years ago* autoconf.sh (finalize.awk): Don't leave spaces before the user
Akim Demaille [Wed, 9 Aug 2000 06:53:07 +0000 (06:53 +0000)] 
* autoconf.sh (finalize.awk): Don't leave spaces before the user
function calls.
Reported by John David Anglin.
* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
section.
* tests/tools.m4 (AWK portability): New test.

25 years ago* Makefile.am: substitute @bindir@ in shell scripts, needed by
Akim Demaille [Wed, 9 Aug 2000 06:19:36 +0000 (06:19 +0000)] 
* Makefile.am: substitute @bindir@ in shell scripts, needed by
autoheader

25 years ago* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
Akim Demaille [Mon, 7 Aug 2000 12:33:17 +0000 (12:33 +0000)] 
* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
${foo} into $foo.
* aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
comments into the header comment.
* acgeneral.m4 (AC_TRY_CPP): Likewise.

25 years ago* tests/tools.m4 (undefined macros): New test.
Akim Demaille [Mon, 7 Aug 2000 12:07:43 +0000 (12:07 +0000)] 
* tests/tools.m4 (undefined macros): New test.

25 years ago* autoconf.sh (finalize.awk): New subtool, eved from the previous
Akim Demaille [Mon, 7 Aug 2000 12:07:17 +0000 (12:07 +0000)] 
* autoconf.sh (finalize.awk): New subtool, eved from the previous
literal AWK program that performed the `oline' and quadrigraphs
substitution.
Fix its `oline' computation which was dead wrong when there are
empty lines (i.e., always).
Enhance it in order to look for and report unexpanded macro.
Don't let it pretend there are bugs in Autoconf (c:, the test
suite makes this scenario pretty unlikely as opposed to an actual
user bug.
Catch `m4_' too.
Remove the shell snippet which used to do this.

25 years ago* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
Akim Demaille [Mon, 7 Aug 2000 12:06:49 +0000 (12:06 +0000)] 
* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
Roskin.
(AC_MSG_ERROR): Use it.

25 years ago* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
Akim Demaille [Fri, 4 Aug 2000 09:21:52 +0000 (09:21 +0000)] 
* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
* doc/autoconf.texi (Limitations of Usual Tools): Typos.

25 years agoSolaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
Akim Demaille [Fri, 4 Aug 2000 09:13:16 +0000 (09:13 +0000)] 
Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
operator when \(\) is used, and matches a string longer than 120
characters.
Reported by Geoff Keating.

* doc/autoconf.texi (Limitations of Usual Tools): Some words about
this.
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
fails.
From Paul Eggert.

25 years ago* acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
Akim Demaille [Fri, 4 Aug 2000 09:04:56 +0000 (09:04 +0000)] 
* acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
Don't create the source file if none is given, and in this case,
don't remove it either.

25 years ago* libm4.m4 (m4_ifvanl): New macro.
Akim Demaille [Fri, 4 Aug 2000 09:04:29 +0000 (09:04 +0000)] 
* libm4.m4 (m4_ifvanl): New macro.
* acgeneral.m4: Use it.

25 years agoUpdate imported files.
Akim Demaille [Fri, 4 Aug 2000 08:59:17 +0000 (08:59 +0000)] 
Update imported files.

25 years agoRelease Automake from being a substitute to Autoconf.
Akim Demaille [Wed, 2 Aug 2000 17:40:25 +0000 (17:40 +0000)] 
Release Automake from being a substitute to Autoconf.

* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
fileutils.

25 years ago* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
Akim Demaille [Wed, 2 Aug 2000 15:15:26 +0000 (15:15 +0000)] 
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
inverted the results.  Fix that.

25 years ago* doc/autoconf.texi (Special Shell Variables): More emphasis on
Akim Demaille [Wed, 2 Aug 2000 07:58:34 +0000 (07:58 +0000)] 
* doc/autoconf.texi (Special Shell Variables): More emphasis on
the dangers of character ranges.
From Paul Eggert.

25 years ago* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
Akim Demaille [Tue, 1 Aug 2000 13:59:51 +0000 (13:59 +0000)] 
* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
`IFS=,; echo ,' will give a comma.  Take this into account.

25 years ago* aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
Akim Demaille [Tue, 1 Aug 2000 13:14:42 +0000 (13:14 +0000)] 
* aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.

25 years agoAC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
Akim Demaille [Tue, 1 Aug 2000 12:20:14 +0000 (12:20 +0000)] 
AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
AC_CANONICAL_* revamping.
Reported by Peter Eisentraut.
In fact, let's just use the precious variables handling.

* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
(_AC_ARG_VAR_PRECIOUS): New macro, eved from...
(AC_ARG_VAR): this macro.  Adjust.
(_AC_INIT_PREPARE): `build_alias', `host_alias', and
`target_alias' are precious.
* doc/autoconf.texi: Adjust.