]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
23 years ago* bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
Akim Demaille [Sun, 23 Sep 2001 17:16:28 +0000 (17:16 +0000)] 
* bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.

23 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
Akim Demaille [Sun, 23 Sep 2001 17:16:15 +0000 (17:16 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
over-escaping.

23 years ago* lib/Autom4te/General.pm (&debug): New.
Akim Demaille [Sun, 23 Sep 2001 17:16:01 +0000 (17:16 +0000)] 
* lib/Autom4te/General.pm (&debug): New.
* bin/autom4te.in ($language): Move to...
(parse_args): here.
Handle --language in languages.
* lib/autom4te.in (Automake-selections, Autoheader-selections)
(Autoscan-selections): New.
(Autoconf): Adjust.

23 years ago* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4, m4/install-sh.m4,
Tim Van Holder [Sun, 23 Sep 2001 15:34:56 +0000 (15:34 +0000)] 
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4, m4/install-sh.m4,
  m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated to match current versions
  from CVS Automake.

23 years ago* doc/autoconf.texi (Special Shell Variables): Add pdksh output
Alexandre Duret-Lutz [Sun, 23 Sep 2001 14:42:14 +0000 (14:42 +0000)] 
* doc/autoconf.texi (Special Shell Variables): Add pdksh output
for $LINENO.

23 years agoRegenerated. The old version didn't create package.m4 for the testsuite.
Pavel Roskin [Sun, 23 Sep 2001 03:36:36 +0000 (03:36 +0000)] 
Regenerated.  The old version didn't create package.m4 for the testsuite.

23 years ago* lib/autoconf/autotest.m4: Create `package.m4'.
Akim Demaille [Sat, 22 Sep 2001 15:21:20 +0000 (15:21 +0000)] 
* lib/autoconf/autotest.m4: Create `package.m4'.
* tests/Makefile.am (package.m4): Remove.

23 years agoRely on `$LINENO' when possible instead of `__oline__'.
Akim Demaille [Sat, 22 Sep 2001 15:20:44 +0000 (15:20 +0000)] 
Rely on `$LINENO' when possible instead of `__oline__'.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
`$LINENO' support replacement when not supported.
(_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
them explicitly to be sure they are not output before this section
(via m4_require).  Cosmetic only.
* lib/autoconf/c.m4, lib/autoconf/general.m4,
* lib/autoconf/programs.m4: Replace all the occurrences of
`__oline__' with `$LINENO'.
* doc/autoconf.texi (Special Shell Variables): Document LINENO.

23 years ago* lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
Tim Van Holder [Fri, 21 Sep 2001 16:19:09 +0000 (16:19 +0000)] 
* lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
  character (u: -> ue) in a code comment.
  (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
  it works.

23 years ago* Makefile.maint (AUTOM4TE): Neutralize autom4te.
Akim Demaille [Fri, 21 Sep 2001 16:17:38 +0000 (16:17 +0000)] 
* Makefile.maint (AUTOM4TE): Neutralize autom4te.
Suggested by Jim Meyering.

23 years ago* lib/autoconf/programs.m4: Use extensions listed in $ac_executable_extensions
Tim Van Holder [Thu, 20 Sep 2001 16:19:54 +0000 (16:19 +0000)] 
* lib/autoconf/programs.m4: Use extensions listed in $ac_executable_extensions
  when looking for programs.

23 years ago* lib/autoconf/general.m4: Fix a small Englisho.
Tim Van Holder [Thu, 20 Sep 2001 15:51:52 +0000 (15:51 +0000)] 
* lib/autoconf/general.m4: Fix a small Englisho.
* lib/autoconf/status.m4: Fix a small typo.  Handle DOS paths when
  setting up ac_dir_suffix and ac_top_builddir.
* lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.

23 years agoHandle DOS paths when setting up ac_top_builddir.
Tim Van Holder [Thu, 20 Sep 2001 15:51:04 +0000 (15:51 +0000)] 
Handle DOS paths when setting up ac_top_builddir.

23 years agoFixed a small Englisho.
Tim Van Holder [Thu, 20 Sep 2001 15:51:04 +0000 (15:51 +0000)] 
Fixed a small Englisho.

23 years agoDefault CDPATH to $PATH_SEPARATOR, not ':'.
Tim Van Holder [Thu, 20 Sep 2001 15:51:04 +0000 (15:51 +0000)] 
Default CDPATH to $PATH_SEPARATOR, not ':'.

23 years ago* doc/autoconf.texi (File System Conventions): Clarify the use of
Tim Van Holder [Thu, 20 Sep 2001 15:39:46 +0000 (15:39 +0000)] 
* doc/autoconf.texi (File System Conventions): Clarify the use of
  PATH_SEPARATOR.
  (Special Shell Variables[PATH_SEPARATOR]): Ditto.
  (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
  be used instead of ':'.
* lib/autotest/general.m4: Replace occurrences of ':' in
  AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.

23 years ago* tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
Tim Van Holder [Thu, 20 Sep 2001 15:08:21 +0000 (15:08 +0000)] 
* tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
  arguments.  Fixed a typo.

23 years ago* man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
Tim Van Holder [Thu, 20 Sep 2001 15:00:13 +0000 (15:00 +0000)] 
* man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
  $PATH.  Also set AUTOM4TE_CFG, so we can process autom4te properly.

23 years ago* bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
Tim Van Holder [Thu, 20 Sep 2001 14:55:49 +0000 (14:55 +0000)] 
* bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
* bin/autoupdate.in: Ditto.
* bin/autoheader.in: Reworded a few comments.
* bin/autoconf.in: Reworded help text for a few options.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
* bin/autoscan.in, bin/autoupdate.in: Ditto.

23 years ago* lib/Autom4te/XFile.pm (open): Simplified the error message (we
Tim Van Holder [Thu, 20 Sep 2001 14:52:57 +0000 (14:52 +0000)] 
* lib/Autom4te/XFile.pm (open): Simplified the error message (we
  already have $file).  Set output files to binary mode (helps avoid
  CR issues on DOSish systems).

23 years ago* lib/autotest/general.m4: Englishoes.
Akim Demaille [Wed, 19 Sep 2001 07:22:24 +0000 (07:22 +0000)] 
* lib/autotest/general.m4: Englishoes.
From Tim Van Holder and Alexey Mahotkin.

23 years ago* doc/autoconf.texi (Common Shell Constructs):
Paul Eggert [Tue, 18 Sep 2001 18:47:34 +0000 (18:47 +0000)] 
* doc/autoconf.texi (Common Shell Constructs):
New node, documenting AS_DIRNAME.
(Limitations of Usual Tools): Refer to it when discussing dirname.
Also, update discussion of POSIX standard to reflect latest draft.

23 years ago(Common Shell Constructs): New node, documenting AS_DIRNAME.
Paul Eggert [Tue, 18 Sep 2001 18:46:03 +0000 (18:46 +0000)] 
(Common Shell Constructs): New node, documenting AS_DIRNAME.
(Limitations of Usual Tools): Refer to it when discussing dirname.
Also, update discussion of POSIX standard to reflect latest draft.

23 years ago* lib/autoconf/c.m4:
Paul Eggert [Tue, 18 Sep 2001 17:57:30 +0000 (17:57 +0000)] 
* lib/autoconf/c.m4:
(AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.

* lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
Do not pass a first argument with leading '-'
to expr, by parenthesizing initial integers that might be negative.

23 years ago(_AC_COMPUTE_INT_COMPILE): Do not pass a first argument with leading '-'
Paul Eggert [Tue, 18 Sep 2001 17:55:51 +0000 (17:55 +0000)] 
(_AC_COMPUTE_INT_COMPILE): Do not pass a first argument with leading '-'
to expr, by parenthesizing initial integers that might be negative.

23 years ago(AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
Paul Eggert [Tue, 18 Sep 2001 17:54:21 +0000 (17:54 +0000)] 
(AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.

23 years ago* doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
Paul Eggert [Tue, 18 Sep 2001 16:23:11 +0000 (16:23 +0000)] 
* doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
now merely checks whether it is an error to pass an argument
to getpgrp.

* lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
(AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
whether it is a (compile-time) error to pass an argument to
getpgrp.  This simpler test supports the revised documentation,
and is all that AC_FUNC_GETPGRP's users really need.

23 years ago(_AC_FUNC_GETPGRP_TEST): Remove.
Paul Eggert [Tue, 18 Sep 2001 16:21:46 +0000 (16:21 +0000)] 
(_AC_FUNC_GETPGRP_TEST): Remove.
(AC_FUNC_GETPGRP): Don't bother with a runtime test.  Just check
whether it is a (compile-time) error to pass an argument to
getpgrp.  This simpler test supports the revised documentation,
and is all that AC_FUNC_GETPGRP's users really need.

23 years ago(Particular Functions): AC_FUNC_GETPGRP now merely checks whether it
Paul Eggert [Tue, 18 Sep 2001 16:21:10 +0000 (16:21 +0000)] 
(Particular Functions): AC_FUNC_GETPGRP now merely checks whether it
is an error to pass an argument to getpgrp.

23 years ago* doc/autoconf.texi (Limitations of Make) <$<>: New.
Akim Demaille [Tue, 18 Sep 2001 14:31:26 +0000 (14:31 +0000)] 
* doc/autoconf.texi (Limitations of Make) <$<>: New.

23 years ago* doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
Akim Demaille [Tue, 18 Sep 2001 14:21:51 +0000 (14:21 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
`{}'.
* lib/autotest/general.m4 (AT_INIT): Adjust.

23 years ago* tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
Akim Demaille [Tue, 18 Sep 2001 12:26:36 +0000 (12:26 +0000)] 
* tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
correctly.
Add test for AS_BASENAME.
* lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
added test. It now correctly handles /1/2/3/, returning '3' not ''.
Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
* tests/base.at: Fixed the expected responses. The old ones were
one line out...
* lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
the documentation claims it should (and how it behaved in 2.13).

23 years ago* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
Akim Demaille [Tue, 18 Sep 2001 09:03:18 +0000 (09:03 +0000)] 
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
the AC_CONFIG_COMMANDS invocation.
This also solves the name clash problems.
Don't set the package's ID.
* lib/m4sugar/Makefile.am (version.m4): Revamp.
No longer to be shipped.
(version.in): Remove.
* lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
* lib/autoconf/status.m4: Adjust.
Use `m4_PACKAGE_STRING'.
* lib/autotest/general.m4 (AT_INIT): N-th signature change: now
the only optional argument is the name of the test suite.
Expect `package.m4' to define the package signature.
* lib/autom4te.in (Autotest): Add `package.m4?'.
* tests/Makefile.am (package.m4): New.
* tests/suite.at: ifnames is a victim.

23 years ago* lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
Akim Demaille [Tue, 18 Sep 2001 08:58:56 +0000 (08:58 +0000)] 
* lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
AC_LIBSOURCE, AC_CONFIG_FILES.
* lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
program version string doesn't match the package's.
* lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
after `(cached)'.

23 years ago(AC_LANG_INT_SAVE(C)): Allow expression to return any value that can
Paul Eggert [Mon, 17 Sep 2001 21:52:40 +0000 (21:52 +0000)] 
(AC_LANG_INT_SAVE(C)): Allow expression to return any value that can
fit into unsigned long (not int, as before).  Check for output errors.

From Bruno Haible:

(AC_LANG_INT_SAVE(C)): Always include <stdio.h> and
<stdlib.h>. Evaluate the expression in an extra function before these
includes. Call fprintf "%d" only after ensuring the argument is of
type 'int'.  Reported by Wayne Chapeskie <waynec@spinnaker.com>.

23 years ago(AC_LANG_INT_SAVE(C)):
Paul Eggert [Mon, 17 Sep 2001 21:49:30 +0000 (21:49 +0000)] 
(AC_LANG_INT_SAVE(C)):

Allow expression to return any value that can fit into unsigned long
(not int, as before).  Check for output errors.

From Bruno Haible: Always include <stdio.h> and <stdlib.h>. Evaluate
the expression in an extra function before these includes. Call
fprintf "%d" only after ensuring the argument is of type 'int'.
Reported by Wayne Chapeskie <waynec@spinnaker.com>.

23 years agoExtend.
Akim Demaille [Mon, 17 Sep 2001 21:11:22 +0000 (21:11 +0000)] 
Extend.

23 years agoNow actually removed.
Tim Van Holder [Mon, 17 Sep 2001 19:54:50 +0000 (19:54 +0000)] 
Now actually removed.

23 years ago(AC_ISC_POSIX): Replace the old, crufty version with the version used
Paul Eggert [Mon, 17 Sep 2001 19:46:31 +0000 (19:46 +0000)] 
(AC_ISC_POSIX): Replace the old, crufty version with the version used
by fileutils 4.1, except use AC_SEARCH_LIBS, not AC_CHECK_LIB, so that
we don't use -lcposix if we don't need it.

23 years ago(AC_HEADER_DIRENT): Use AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we
Paul Eggert [Mon, 17 Sep 2001 19:45:29 +0000 (19:45 +0000)] 
(AC_HEADER_DIRENT): Use AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we
don't use -ldir or -lx if we don't need it.

23 years ago(AC_ISC_POSIX): Describe new behavior.
Paul Eggert [Mon, 17 Sep 2001 19:44:24 +0000 (19:44 +0000)] 
(AC_ISC_POSIX): Describe new behavior.

23 years agoFix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
Paul Eggert [Mon, 17 Sep 2001 19:42:12 +0000 (19:42 +0000)] 
Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
or CFLAGS=-O5.  In that case, the linker has a relaxed view of
fatal errors, and AC_CHECK_LIB causes it to include libraries even
when they don't exist.

* lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
need it.

* lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
version with the version used by fileutils 4.1, except use
AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
we don't need it.

* doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.

23 years ago* tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
Akim Demaille [Thu, 13 Sep 2001 15:47:34 +0000 (15:47 +0000)] 
* tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
_first_.
Reported by Gerrit P. Haase.

23 years ago* lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
Akim Demaille [Thu, 13 Sep 2001 10:18:07 +0000 (10:18 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
m4_defn'ing is valid.

23 years agoRegen. and typo.
Akim Demaille [Thu, 13 Sep 2001 09:59:47 +0000 (09:59 +0000)] 
Regen. and typo.

23 years ago* lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
Akim Demaille [Thu, 13 Sep 2001 06:57:45 +0000 (06:57 +0000)] 
* lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
* lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
Use it.

23 years ago* lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
Akim Demaille [Thu, 13 Sep 2001 06:57:29 +0000 (06:57 +0000)] 
* lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
m4_match.
(m4_re_escape): New.
* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
* lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
(_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
* lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
AT_tests_all for consistency.
Set at_victims.
(AT_VICTIMS): Similar to AT_KEYWORDS.
(_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.

23 years ago* lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
Akim Demaille [Thu, 13 Sep 2001 06:57:14 +0000 (06:57 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.

23 years ago* lib/autotest/general.m4 (AT_INIT): Create and remove
Akim Demaille [Thu, 13 Sep 2001 06:57:01 +0000 (06:57 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Create and remove
`$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
test suites can cohabit.

23 years ago* tests/mktests.sh: Don't output banners for empty test files.
Akim Demaille [Thu, 13 Sep 2001 06:56:44 +0000 (06:56 +0000)] 
* tests/mktests.sh: Don't output banners for empty test files.

23 years agoTest suites can be run independently of configure.
Akim Demaille [Thu, 13 Sep 2001 06:56:31 +0000 (06:56 +0000)] 
Test suites can be run independently of configure.
* lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
* lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
ECHO_N etc.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
and at_c.
* lib/autotest/general.m4: Use ECHO_*.

23 years ago* bin/ifnames.in: Rewrite in Perl.
Akim Demaille [Thu, 13 Sep 2001 06:54:35 +0000 (06:54 +0000)] 
* bin/ifnames.in: Rewrite in Perl.
* configure.ac: Don't look for AWK.
* tests/tools.at (AWK portability): Remove.
(Syntax of the shell scripts): Don't check ifnames.
(AT_CHECK_PERL_SYNTAX): New.
(Syntax of the Perl scripts): Check ifnames.
* tests/ifnames: New.

23 years ago* lib/autotest/general.m4 (AT_INIT): Let --keywords also match
Akim Demaille [Thu, 13 Sep 2001 06:53:19 +0000 (06:53 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Let --keywords also match
test group titles.
* tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
Remove all the other keywords.

23 years ago* lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
Akim Demaille [Mon, 10 Sep 2001 07:18:17 +0000 (07:18 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
SETUP: no longer used.
Support -k, --keywords.
<at_help>: Be `no', `short', or `long'.
<at_help_all>: New variable.
(AT_KEYWORDS): New.
(AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
(_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
(_AT_CLEANUP_FILE_IF): Simplify the regexp.
(AT_SETUP): Reset AT_line, AT_keywords, AT_description.
No longer fill the HELP diversion.
(AT_CLEANUP): Use them.
* lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
(m4_list_append): Remove.
Spread a few keywords in the Autoconf test suite.

23 years ago* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
Akim Demaille [Mon, 10 Sep 2001 07:17:41 +0000 (07:17 +0000)] 
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
PATH_SEPARATOR, let M4sh compute it.
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
* lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
Move to...
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
Simplify when the path is not a literal.
(AS_UNAME): Use it to report PATH.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
(_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
* lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
normalize the path, and to look for victims.
* tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
(AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.

24 years ago* bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
Akim Demaille [Fri, 7 Sep 2001 08:26:57 +0000 (08:26 +0000)] 
* bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
doesn't neutralize SIGINT, making autoconf etc. non interruptible.
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
related variables into `at_package_*'.
* lib/autotest/general.m4 (AT_VICTIMS): New.
(AT_INIT): Adjust for stand-alone/embedded test suites.
(AS_MESSAGE_LOG_FD): Define and use it.
* tests/suite.at (AT_VICTIMS): Use it.
* tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
at_version.

24 years agoMove toward possibly stand-alone test suites.
Akim Demaille [Fri, 7 Sep 2001 07:20:26 +0000 (07:20 +0000)] 
Move toward possibly stand-alone test suites.
* lib/autotest/general.m4: Stop displaying srcdir everywhere as,
in addition, it introduces useless differences in logs.
(AT_INIT): Let atconfig and atlocal be both optional.
Adjust PATH computation.
* lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.

24 years ago* lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
Akim Demaille [Fri, 7 Sep 2001 07:20:07 +0000 (07:20 +0000)] 
* lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
m4sugar/version.m4.

24 years ago* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
Akim Demaille [Wed, 5 Sep 2001 08:46:53 +0000 (08:46 +0000)] 
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
to avoid GCC warnings.
From Uwe Seimet.

24 years ago* bin/autom4te.in: --language is -l, not -s.
Akim Demaille [Wed, 5 Sep 2001 07:48:11 +0000 (07:48 +0000)] 
* bin/autom4te.in: --language is -l, not -s.

24 years agoTypos.
Akim Demaille [Wed, 5 Sep 2001 07:22:18 +0000 (07:22 +0000)] 
Typos.

24 years agoBe ready to handle filenames as stupid as `dnl.at', for if even
Akim Demaille [Wed, 5 Sep 2001 07:06:58 +0000 (07:06 +0000)] 
Be ready to handle filenames as stupid as `dnl.at', for if even
the maintainer is dumb enough to do that...
* lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
excellence in M4 quotation: consider `__file__' is active.
And BTW, when invoking m4, pass the --include in the right order:
the wrong one.
* bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4m.

24 years ago* lib/Autom4te/XFile.pm: New lib file.
Akim Demaille [Wed, 5 Sep 2001 07:06:40 +0000 (07:06 +0000)] 
* lib/Autom4te/XFile.pm: New lib file.
* bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
* bin/autoheader.in: Use it.

24 years ago* bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
Akim Demaille [Wed, 5 Sep 2001 07:06:18 +0000 (07:06 +0000)] 
* bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
defined.

24 years ago* lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
Akim Demaille [Wed, 5 Sep 2001 07:06:02 +0000 (07:06 +0000)] 
* lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
* bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
* bin/autoscan.in: Use `getopt' and `find_files' etc.
Add -I, --include support.
* doc/autoconf.texi (autoscan Invocation): Adjust.

24 years agoCVS GNU M4 doesn't like `undefine(undefined)'.
Akim Demaille [Wed, 5 Sep 2001 07:04:02 +0000 (07:04 +0000)] 
CVS GNU M4 doesn't like `undefine(undefined)'.
* bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
New, extracted from main.
Use IO::File wherever possible.
(input.m4): Be constant, use -I instead of hard coding $tmp.
Therefore be a quoted heredoc.
Don't invoke `_au_disable', since ac was not loaded, but just
`unm4.m4'.

24 years agoBump to 2.52e.
Akim Demaille [Fri, 31 Aug 2001 15:57:17 +0000 (15:57 +0000)] 
Bump to 2.52e.

24 years agoRegen. AUTOCONF-2.52d
Akim Demaille [Fri, 31 Aug 2001 15:28:24 +0000 (15:28 +0000)] 
Regen.

24 years agoVersion 2.52d.
Akim Demaille [Fri, 31 Aug 2001 14:46:17 +0000 (14:46 +0000)] 
Version 2.52d.

24 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
Akim Demaille [Fri, 31 Aug 2001 13:37:36 +0000 (13:37 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
previous patch.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.

24 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
Akim Demaille [Fri, 31 Aug 2001 13:37:12 +0000 (13:37 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
serious problems handling heredocs in heredocs.
Reported by Nicolas Joly.

24 years ago* doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
Akim Demaille [Fri, 31 Aug 2001 13:36:51 +0000 (13:36 +0000)] 
* doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
(Making testsuite Scripts): Update.

24 years ago* lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
Akim Demaille [Fri, 31 Aug 2001 13:36:31 +0000 (13:36 +0000)] 
* lib/Makefile.am (CLEANFILES): Add autom4te.cfg.

24 years ago* doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
Akim Demaille [Fri, 31 Aug 2001 13:36:05 +0000 (13:36 +0000)] 
* doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
(testsuite Scripts): There is no such thing as `atconfig.in'.
And actually one diagram is missing: test suite runtime.

24 years ago* lib/Autom4te/General.pm (&find_file): Browse the includes in the
Akim Demaille [Fri, 31 Aug 2001 13:35:39 +0000 (13:35 +0000)] 
* lib/Autom4te/General.pm (&find_file): Browse the includes in the
inverse order.

24 years ago* bin/autoupdate.in (@include): `installcheck' revealed the path
Akim Demaille [Fri, 31 Aug 2001 13:35:17 +0000 (13:35 +0000)] 
* bin/autoupdate.in (@include): `installcheck' revealed the path
to m4sugar was lacking!

24 years ago* man/Makefile.am (.x.1): We really have pass
Akim Demaille [Fri, 31 Aug 2001 13:35:02 +0000 (13:35 +0000)] 
* man/Makefile.am (.x.1): We really have pass
autom4te_perllibdir.

24 years ago* lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
Akim Demaille [Fri, 31 Aug 2001 13:34:46 +0000 (13:34 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
debug scripts, in particular passing explicitly listed tests to
run is stupid.

24 years ago* bin/autom4te.in (&parse_args): Strip `.' from `@include'.
Akim Demaille [Fri, 31 Aug 2001 13:34:30 +0000 (13:34 +0000)] 
* bin/autom4te.in (&parse_args): Strip `.' from `@include'.
* bin/autoupdate.in: Use --include, -I, and --force, -f, too.
Use directly autom4te, not autoconf.
* tests/autoupdate: $top_srcdir/lib is needed too for melt files.

24 years ago* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
Akim Demaille [Fri, 31 Aug 2001 13:34:01 +0000 (13:34 +0000)] 
* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
* bin/autoheader.in (%symbol): Strip arguments of macros.

24 years ago* doc/autoconf.texi: Catch up -I, --include changes.
Akim Demaille [Fri, 31 Aug 2001 13:33:47 +0000 (13:33 +0000)] 
* doc/autoconf.texi: Catch up -I, --include changes.

24 years ago* bin/autom4te.in (&parse_args): Die on unknown languages.
Akim Demaille [Fri, 31 Aug 2001 13:33:26 +0000 (13:33 +0000)] 
* bin/autom4te.in (&parse_args): Die on unknown languages.
* bin/autoheader.in: Run directly autom4te --mode=autoconf, no
need for autoconf.
Promote --include over --macrodir and other obsolete options.

24 years ago* lib/Autom4te/General.pm ($version, $help, &getopt): New.
Akim Demaille [Fri, 31 Aug 2001 13:33:10 +0000 (13:33 +0000)] 
* lib/Autom4te/General.pm ($version, $help, &getopt): New.
* bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
* bin/autom4te.in ($autoconf): Pass --force.
`print $out' doesn't print `$_' but `$out'.
* tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
(autoheader): Pass --force since the test suite goes too fast for
the time stamps.
Adjust to the new autoheader messages.

24 years ago* bin/autoheader.in: Handle the acconfig.h etc. junk files.
Akim Demaille [Fri, 31 Aug 2001 13:32:54 +0000 (13:32 +0000)] 
* bin/autoheader.in: Handle the acconfig.h etc. junk files.
Check the completeness of the #template.
* lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
* tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
invocation.

24 years ago* lib/Autom4te/General.pm (&find_file, &update_file): New.
Akim Demaille [Fri, 31 Aug 2001 13:32:35 +0000 (13:32 +0000)] 
* lib/Autom4te/General.pm (&find_file, &update_file): New.
* bin/autoupdate.in, bin/autoheader.in: Adjust.
Drop AC_MACRODIR dead for real.
* tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
`autoheader: `config.hin' is created'.
* tests/tools.at (Syntax of the Perl scripts): Check autoheader.

24 years ago* bin/autoheader.in: Rewrite in Perl.
Akim Demaille [Fri, 31 Aug 2001 13:32:13 +0000 (13:32 +0000)] 
* bin/autoheader.in: Rewrite in Perl.
* tests/autoheader: Adjust.

24 years ago* bin/autoconf.in (--include, -I): New option.
Akim Demaille [Fri, 31 Aug 2001 13:31:54 +0000 (13:31 +0000)] 
* bin/autoconf.in (--include, -I): New option.
Map --localdir, --autoconf-dir onto it.
Forward autom4te's options instead of interpreting them.
* bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
There is no such envvar since the inception of autom4te.cfg.
* bin/autom4te.in (&parse_args): Uniquify `@include'.
* bin/autoupdate.in: Adjust, and perform more control.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
* tests/autoconf: Dittowise.

24 years ago* bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
Akim Demaille [Fri, 31 Aug 2001 13:31:37 +0000 (13:31 +0000)] 
* bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
* bin/autom4te.in (&find_file): Support `FILE?' standing for
optionally `FILE'.
Use -e, not -f, since /dev/null for instance is OK.
(&parse_args): Adjust.
* lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.

24 years ago* configure.ac: Also find tested executables in bin.
Akim Demaille [Fri, 31 Aug 2001 13:30:11 +0000 (13:30 +0000)] 
* configure.ac: Also find tested executables in bin.
* bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
* bin/autoscan.in, autoupdate.in: Use exclusively the name of the
installed peer executables, only PATH is allowed to resolve it.
Pass `autoconf_dir' via options, not via invisible envvars.
* lib/Autom4te/General.pm (&find_peer): Remove.
* lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
`abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
* man/Makefile.am: Let help2man rely on PATH instead of trying to
find the executables for it.
* tests/Makefile.am: Major cleanup.  Too lazy to document...
* tests/atlocal.in: Remove all the obscure envvar manipulations.
We only need PERL.
* tests/atspecific.m4, tests/tools.at: Passing --localdir is
indeed related to running the test suite, while passing
--autoconf-dir and others is related to running non installed
Autoconf executables.  So don't do that, leave it to...
* tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
* tests/autoscan: New.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
refer to library files: rely on --language.

24 years ago* bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
Akim Demaille [Wed, 29 Aug 2001 13:30:27 +0000 (13:30 +0000)] 
* bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
s/--set/--language/.

24 years ago* doc/autoconf.texi: Strip the @nodes.
Akim Demaille [Wed, 29 Aug 2001 13:12:10 +0000 (13:12 +0000)] 
* doc/autoconf.texi: Strip the @nodes.
Suggested by Paul Eggert.
(Initializing configure): Typo.

24 years ago* bin/autom4te.in (&handle_output): s/@__@/@&t@/.
Akim Demaille [Wed, 29 Aug 2001 13:11:16 +0000 (13:11 +0000)] 
* bin/autom4te.in (&handle_output): s/@__@/@&t@/.
Suggested by Paul Eggert.

24 years ago* Makefile.maint (do-po-update): Wget refuses to overwrite files:
Akim Demaille [Wed, 29 Aug 2001 10:49:47 +0000 (10:49 +0000)] 
* Makefile.maint (do-po-update): Wget refuses to overwrite files:
download in a tmp dir.

24 years ago* lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
Akim Demaille [Wed, 29 Aug 2001 09:55:40 +0000 (09:55 +0000)] 
* lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
case insensitive OSes out there :(
From Tim Van Holder.

24 years ago* lib/autom4te.in: New.
Akim Demaille [Wed, 29 Aug 2001 09:52:49 +0000 (09:52 +0000)] 
* lib/autom4te.in: New.
* lib/Makefile.am (edit, autom4te.cfg): New.
* bin/autom4te.in (BEGIN): Simplify.
Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
(&load_configuration): New.  Use it.
(&parse_args): Support --mode, --set, and --melt.
* bin/autoconf.in: Simplify and adjust.
* tests/Makefile.am (AUTOMAKE): Use --set.
* tests/atlocal.in: Adjust.
* BUGS: distcheck and check are weak.

24 years ago* lib/autotest/general.m4: Use
Akim Demaille [Wed, 29 Aug 2001 09:04:31 +0000 (09:04 +0000)] 
* lib/autotest/general.m4: Use
foo=`(command) 2>/dev/null`
not
foo=`command` 2>/dev/null
(at-devnull): Rename as...
(AT-devnull): this.
(--clean): Remove AT-* files too.
* doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
Reported by Nicolas Joly.

24 years ago* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
Akim Demaille [Tue, 28 Aug 2001 09:37:20 +0000 (09:37 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
quotes inside single quotes.
Reported by Nicolas Joly.

24 years ago* doc/autoconf.texi (Function Portability): Mention C right shifts.
Akim Demaille [Tue, 28 Aug 2001 09:05:29 +0000 (09:05 +0000)] 
* doc/autoconf.texi (Function Portability): Mention C right shifts.

24 years agoTypo.
Akim Demaille [Tue, 28 Aug 2001 08:55:06 +0000 (08:55 +0000)] 
Typo.

24 years ago* lib/autotest/general.m4: Reword some messages.
Tim Van Holder [Mon, 27 Aug 2001 11:55:21 +0000 (11:55 +0000)] 
* lib/autotest/general.m4: Reword some messages.
(AT_INIT): Check for the `times' builtin before using it.
Support test ranges as arguments to the testsuite.
Have -e imply -d as the help text suggested.