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

24 years agoRegen.
Akim Demaille [Mon, 27 Aug 2001 10:44:04 +0000 (10:44 +0000)] 
Regen.

24 years agoRun update.
Akim Demaille [Mon, 27 Aug 2001 10:24:57 +0000 (10:24 +0000)] 
Run update.

24 years ago* Makefile.maint: Formatting changes.
Akim Demaille [Mon, 27 Aug 2001 10:24:38 +0000 (10:24 +0000)] 
* Makefile.maint: Formatting changes.
(do-po-update, po-update, cvs-update, update): New targets.
(AMTAR): Remove.

24 years agoTypo.
Akim Demaille [Mon, 27 Aug 2001 08:40:30 +0000 (08:40 +0000)] 
Typo.

24 years agoRegen.
Akim Demaille [Mon, 27 Aug 2001 08:38:45 +0000 (08:38 +0000)] 
Regen.

24 years ago* lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
Akim Demaille [Mon, 27 Aug 2001 07:21:51 +0000 (07:21 +0000)] 
* lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
<at_cmd_line>: New.
Pass it to debug-*.sh scripts.
<AUTOTEST_PATH>: May contain absolute dir names.

24 years ago* lib/autotest/general.m4 (AT_INIT): Log the command line.
Akim Demaille [Mon, 27 Aug 2001 07:21:36 +0000 (07:21 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Log the command line.
Support `VAR=VAL' as arguments.
Compute PATH _after_ the options processing, so that AUTOTEST_PATH
may be set via the command line.

24 years ago* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
Akim Demaille [Mon, 27 Aug 2001 07:21:20 +0000 (07:21 +0000)] 
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
* lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
first the build dirs, then the src dirs.
* configure.ac (AC_CONFIG_TESTDIR): Adjust.

24 years ago* lib/autotest/general.m4 (AT_INIT): Output the definition of
Akim Demaille [Mon, 27 Aug 2001 07:20:37 +0000 (07:20 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Output the definition of
at_data_files earlier.
(--clean, -c): New option.
* tests/Makefile.am: Use this option.

24 years ago* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
Akim Demaille [Mon, 27 Aug 2001 07:20:21 +0000 (07:20 +0000)] 
* lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
`ac_top_builddir' to mimic Automake's vocabulary, which much more
readable.
Adjust callers.
* doc/autoconf.texi (Configuration Actions): Document the vars
available in commands.
Emphasize the risks of collisions in init-cmds.

24 years ago* doc/autoconf.texi (Input) <AC_INIT>: Move to..
Akim Demaille [Mon, 27 Aug 2001 07:20:00 +0000 (07:20 +0000)] 
* doc/autoconf.texi (Input) <AC_INIT>: Move to..
(Initializing configure): this new node.

24 years ago* Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
Akim Demaille [Mon, 27 Aug 2001 07:18:58 +0000 (07:18 +0000)] 
* Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.

24 years ago* m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
Akim Demaille [Mon, 27 Aug 2001 07:18:39 +0000 (07:18 +0000)] 
* m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
New file.
* m4/Makefile.am (EXTRA_DIST): Oops, adjust...

24 years ago* lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
Akim Demaille [Mon, 27 Aug 2001 07:17:23 +0000 (07:17 +0000)] 
* lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
to...
* lib/autoconf/autoheader.m4: this new file.
* lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
(_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
Move to...
* lib/autoconf/autoupdate.m4: this new file.

24 years ago* lib/autoconf/status.m4 (_AC_SRCPATHS): New.
Akim Demaille [Mon, 27 Aug 2001 07:16:23 +0000 (07:16 +0000)] 
* lib/autoconf/status.m4 (_AC_SRCPATHS): New.
(_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
-> ac_dir).
(_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
* lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.

24 years ago* lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
Akim Demaille [Mon, 27 Aug 2001 07:15:39 +0000 (07:15 +0000)] 
* lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
(AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
(AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
(AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
(AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
(AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
(AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
(AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
(AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
(_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
(_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
(_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
(_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
(_AC_OUTPUT_SUBDIRS): Move to...
* lib/autoconf/status.m4: this new file.
* lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
* tests/Makefile.am, tests/suite.at: Adjust.

24 years agoAutomake 1.5.
Akim Demaille [Mon, 27 Aug 2001 07:12:16 +0000 (07:12 +0000)] 
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.

24 years agoProvide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
Akim Demaille [Mon, 27 Aug 2001 07:08:56 +0000 (07:08 +0000)] 
Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
* lib/autoconf/version.in: Remove.
* lib/m4sugar/version.in: New.
* lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
Adjust callers.
* bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
the name of the directory they're in, instead of the filename,
since version.m4 is now in m4sugar, but m4_acversion must not be
classified as an Autoconf macro.
($input_m4): Don't qualify the path to m4sugar.
Rather, pass autoconf_dir to m4.
* tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
* tests/suite.at: Require 2.52c.

24 years agotestsuite.log should include config.log.
Akim Demaille [Mon, 27 Aug 2001 07:03:48 +0000 (07:03 +0000)] 
testsuite.log should include config.log.
* lib/autotest/autotest.m4: New.
* lib/autotest/general.m4, tests/atspecific.m4: Adjust.
* tests/suite.at : Adjust.
(AT_INIT): Log config.log.
* lib/m4sugar/m4sugar.m4 (m4_text_box): New.
* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
(_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
of config.log on traps.
(_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
for config.status'.
Open the log as soon as possible.
Use the same log introduction as configure's.

24 years ago(Indices): New node.
Paul Eggert [Wed, 22 Aug 2001 17:59:30 +0000 (17:59 +0000)] 
(Indices): New node.
Move indices out of the top level menu and into this submenu.

24 years ago* doc/autoconf.texi (Indices): New node.
Paul Eggert [Wed, 22 Aug 2001 17:58:59 +0000 (17:58 +0000)] 
* doc/autoconf.texi (Indices): New node.
Move indices out of the top level menu and into this submenu.

24 years agoAdd.
Akim Demaille [Wed, 22 Aug 2001 06:44:57 +0000 (06:44 +0000)] 
Add.

24 years ago* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
Akim Demaille [Wed, 22 Aug 2001 06:25:15 +0000 (06:25 +0000)] 
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
AC_TRY_COMMAND.
(AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.

24 years ago* lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
Akim Demaille [Wed, 22 Aug 2001 06:25:00 +0000 (06:25 +0000)] 
* lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
(AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
* lib/autoconf/programs.m4: here.
* lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
(AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
(AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
* lib/autoconf/programs.m4: here.
(_AC_DECL_YYTEXT): Rename as...
(_AC_PROG_LEX_YYTEXT_DECL): this.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
* tests/Makefile.am, tests/suite.am: Adjust.

24 years ago* lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
Akim Demaille [Wed, 22 Aug 2001 06:24:46 +0000 (06:24 +0000)] 
* lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
Move to...
* lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
here.
* lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
* lib/autoconf/functions.m4: here.
* lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
(AH_CHECK_LIB): Move to...
* lib/autoconf/libs: this new file.
* lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
(_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
* lib/autoconf/libs.m4: here.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.

24 years ago* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
Akim Demaille [Wed, 22 Aug 2001 06:24:29 +0000 (06:24 +0000)] 
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
(AC_SITE_LOAD): Better logging of config.site.

24 years ago* configure.ac (AT_CONFIG): Fix the path.
Akim Demaille [Mon, 20 Aug 2001 17:57:06 +0000 (17:57 +0000)] 
* configure.ac (AT_CONFIG): Fix the path.
* m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
can be used.

24 years agoMore ignore.
Akim Demaille [Mon, 20 Aug 2001 16:39:52 +0000 (16:39 +0000)] 
More ignore.

24 years agoAdd.
Akim Demaille [Mon, 20 Aug 2001 16:32:55 +0000 (16:32 +0000)] 
Add.

24 years agoEnglishos.
Akim Demaille [Mon, 20 Aug 2001 16:25:42 +0000 (16:25 +0000)] 
Englishos.

24 years ago* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
Alexandre Duret-Lutz [Mon, 20 Aug 2001 16:25:00 +0000 (16:25 +0000)] 
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
program with AC_LANG_PROGRAM before feeding it to
AC_COMPILE_IFELSE.  Cleanup grep usage.

24 years ago* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
Akim Demaille [Mon, 20 Aug 2001 15:16:54 +0000 (15:16 +0000)] 
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).

24 years agoInfo readers seem to need `Index' in the index node title :(
Akim Demaille [Mon, 20 Aug 2001 14:47:15 +0000 (14:47 +0000)] 
Info readers seem to need `Index' in the index node title :(
* doc/autoconf.texi: Reverse the 2001-08-15 change which
simplified index node names.

24 years ago* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
Akim Demaille [Mon, 20 Aug 2001 14:46:59 +0000 (14:46 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
arguments are not literals.
* doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
Specify the output variables, and macros defined.

24 years ago* doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
Akim Demaille [Mon, 20 Aug 2001 14:46:41 +0000 (14:46 +0000)] 
* doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
(Examining Syntax) <AC_TRY_COMPILE>
(Examining Libraries) <AC_TRY_LINK>
(Test Programs) <AC_TRY_RUN>: These macros double quote some of
their arguments.
Reported by Werner Lemberg.

24 years ago* lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
Akim Demaille [Mon, 20 Aug 2001 14:46:29 +0000 (14:46 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
Load atlocal late enough to dump it in the log.
* m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.

24 years ago* tests/torture.at (Configuring subdirectories): New test.
Akim Demaille [Mon, 20 Aug 2001 14:46:02 +0000 (14:46 +0000)] 
* tests/torture.at (Configuring subdirectories): New test.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
looking for.
* m4/atconfig.m4: Be sure the let $[0] be expandable.
(top_srcdir): Fix its computation.

24 years ago* lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
Akim Demaille [Mon, 20 Aug 2001 14:45:49 +0000 (14:45 +0000)] 
* lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
* m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
test suite lives.
Create `atconfig' automagically.
Configure atlocal.in if present.
* tests/atconfig.in: Remove.
* tests/atlocal.in: New.
* tests/Makefile.am: Adjust.

24 years agoHuh!?!?! There are still some user EOF tags used, which prevents
Akim Demaille [Mon, 20 Aug 2001 14:45:22 +0000 (14:45 +0000)] 
Huh!?!?!  There are still some user EOF tags used, which prevents
their use in AC_CONFIG_COMMANDS for instance...
* lib/autoconf/general.m4, lib/autoconf/specific.m4,
* lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
`_CSEOF', or `_ATEOF', as appropriate.
* lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
* lib/autotest/Makefile.am (check-local): Enforce this constraint.

24 years ago* tests/base.at, tests/m4sh.at, tests/m4sugar.at,
Akim Demaille [Mon, 20 Aug 2001 14:45:09 +0000 (14:45 +0000)] 
* tests/base.at, tests/m4sh.at, tests/m4sugar.at,
* tests/semantics.at, tests/tools.at, tests/torture.at:
s/^AT_DATA(([^][]+),/AT_DATA([$1],/.

24 years agoAutotest invokes M4sh's initialization.
Akim Demaille [Mon, 20 Aug 2001 14:45:00 +0000 (14:45 +0000)] 
Autotest invokes M4sh's initialization.
* lib/autotest/general.m4: Adjust the diversion names.
(AT_INIT): Run AS_INIT.
Use the BINSH diversion to invoke /bin/sh.
* tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
* tests/torture.at: Respect M4sugar and M4sh macro name spaces.

24 years agoLet M4sh have its own diversions.
Akim Demaille [Mon, 20 Aug 2001 14:44:48 +0000 (14:44 +0000)] 
Let M4sh have its own diversions.
* lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
(_m4_divert(NOTICE)): Rename as...
* lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
(_m4_divert(HEADER-COMMENT)): these.
(_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
(_m4_divert(NOTICE)): New, for Libtool.
* lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
long ago with `_m4_divert(GROW)'.
(AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.

24 years ago* tests/base.at, tests/compile.at, tests/foreign.at,
Akim Demaille [Mon, 20 Aug 2001 14:44:38 +0000 (14:44 +0000)] 
* tests/base.at, tests/compile.at, tests/foreign.at,
* tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
* tests/semantics.at, tests/suite.at, tests/tools.at,
* tests/torture.at: Ask Autotest mode, not Autoconf mode.

24 years ago* bin/autom4te.in (handle_output): Handle @__@.
Akim Demaille [Mon, 20 Aug 2001 14:44:26 +0000 (14:44 +0000)] 
* bin/autom4te.in (handle_output): Handle @__@.

24 years ago* lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
Akim Demaille [Mon, 20 Aug 2001 14:44:11 +0000 (14:44 +0000)] 
* lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
* lib/autotest/general.m4: Adjust the license.

24 years ago* doc/autoconf.texi (Function Portability): Mention snprintf,
Paul Eggert [Fri, 17 Aug 2001 16:10:31 +0000 (16:10 +0000)] 
* doc/autoconf.texi (Function Portability): Mention snprintf,
following up on a suggestion by Kevin Ryde.

24 years ago(Function Portability): Mention snprintf,
Paul Eggert [Fri, 17 Aug 2001 16:09:26 +0000 (16:09 +0000)] 
(Function Portability): Mention snprintf,
following up on a suggestion by Kevin Ryde.

24 years ago* doc/install.texi, doc/autoconf.texi: Use `autoconf', not
Akim Demaille [Fri, 17 Aug 2001 14:54:14 +0000 (14:54 +0000)] 
* doc/install.texi, doc/autoconf.texi: Use `autoconf', not
`autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.

24 years ago* lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
Akim Demaille [Fri, 17 Aug 2001 14:46:05 +0000 (14:46 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
`$0.log' as for projects where testsuite is in src, we'd have
testsuite.log created in src.

24 years ago* bin/autom4te.in (&parse_args): Recognize --normalize.
Akim Demaille [Fri, 17 Aug 2001 12:38:53 +0000 (12:38 +0000)] 
* bin/autom4te.in (&parse_args): Recognize --normalize.

24 years agoStart implementing the AC_CHECK_HEADER transition scheme.
Akim Demaille [Fri, 17 Aug 2001 12:08:38 +0000 (12:08 +0000)] 
Start implementing the AC_CHECK_HEADER transition scheme.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
(AC_CHECK_HEADER): Use them.

24 years ago* doc/autoconf.texi: Work around Texinfo buglets.
Akim Demaille [Fri, 17 Aug 2001 12:07:26 +0000 (12:07 +0000)] 
* doc/autoconf.texi: Work around Texinfo buglets.
(Transformation Rules): One example is enough, users are expected
to have their brains on. And BTW, use DESTDIR.
(dvar): New macro.  Use it.

24 years ago* doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
Akim Demaille [Fri, 17 Aug 2001 12:07:10 +0000 (12:07 +0000)] 
* doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
* lib/autotest/general.m4 (AT_INIT): Use the relative dir when
looking for ChangeLogs.

24 years ago* bin/autom4te.in: --normalize is a new option.
Akim Demaille [Fri, 17 Aug 2001 12:06:56 +0000 (12:06 +0000)] 
* bin/autom4te.in: --normalize is a new option.
* bin/autoconf.in: Use it.