]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
24 years agoThis patch implements a `long double' suggestion by Oliver Kiddle.
Paul Eggert [Fri, 16 Nov 2001 20:12:10 +0000 (20:12 +0000)] 
This patch implements a `long double' suggestion by Oliver Kiddle.

* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
static, to catch errors if the value isn't known at compile-time
and the compiler supports dynamic arrays.  Change its name from
`_array_' to `test_array' to avoid potential name clashes.
(AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
better than double.  Catch a bug in GCC 2.95.2 x86.
* doc/autoconf.texi (C Compiler): Document the above.
* NEWS: Likewise.

24 years agoDocument that HAVE_LONG_DOUBLE is defined only if long double is
Paul Eggert [Fri, 16 Nov 2001 20:11:46 +0000 (20:11 +0000)] 
Document that HAVE_LONG_DOUBLE is defined only if long double is
better than double.

24 years ago(C Compiler): Document that HAVE_LONG_DOUBLE is defined only if
Paul Eggert [Fri, 16 Nov 2001 20:10:52 +0000 (20:10 +0000)] 
(C Compiler): Document that HAVE_LONG_DOUBLE is defined only if
long double is better than double.

24 years ago(AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
Paul Eggert [Fri, 16 Nov 2001 20:09:58 +0000 (20:09 +0000)] 
(AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
static, to catch errors if the value isn't known at compile-time
and the compiler supports dynamic arrays.  Change its name from
`_array_' to `test_array' to avoid potential name clashes.
(AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
test.  Do not define HAVE_LONG_DOUBLE if `long double' is no
better than double.  Catch a bug in GCC 2.95.2 x86.

24 years ago* tests/m4sh.at (LINENO): Protect from autom4te's substitution by
Akim Demaille [Tue, 13 Nov 2001 15:18:26 +0000 (15:18 +0000)] 
* tests/m4sh.at (LINENO): Protect from autom4te's substitution by
hand.
* tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.

24 years agoTypo.
Akim Demaille [Tue, 13 Nov 2001 15:05:20 +0000 (15:05 +0000)] 
Typo.

24 years ago* lib/autotest/general.m4 (AT_INIT): After having run the test
Akim Demaille [Tue, 13 Nov 2001 15:04:16 +0000 (15:04 +0000)] 
* lib/autotest/general.m4 (AT_INIT): After having run the test
group, go back to the initial directory, not to at_suite_dir.

24 years ago* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
Akim Demaille [Tue, 13 Nov 2001 14:43:50 +0000 (14:43 +0000)] 
* tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
(AT_DATA_AUTOCONF):  Also protect @&t@ from autom4te.
(AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
option.
(AT_CHECK_CONFIGURE): Use absolute paths.
(_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
The problem is still the old one: there is no means in M4 (that I
know about) to create a defining macro, because there is no means
to create `$1' etc., therefore, the defining macro ``swallows''
all the arguments meant to the defined macro.

24 years ago* tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
Akim Demaille [Tue, 13 Nov 2001 14:05:25 +0000 (14:05 +0000)] 
* tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
* tests/aclocal.m4: Remove, as it is no longer used.

24 years ago* lib/autotest/general.m4: Change `tests?' into `groups?' in
Akim Demaille [Tue, 13 Nov 2001 14:03:01 +0000 (14:03 +0000)] 
* lib/autotest/general.m4: Change `tests?' into `groups?' in
variable names when referring to a single test group, or to
`suite' when referring to the whole test suite.
`at_last_test' is removed: m4 compute at_format itself.
(at_stdout, at_stder1, at_stderr): New variables.
(AT_CHECK): Use them.

24 years ago* lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
Akim Demaille [Tue, 13 Nov 2001 13:15:48 +0000 (13:15 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
in PATH.
Create `testsuite.dir/003/run' instead of `testsuite.003'.
Do it as soon as a test fails, don't wait till the end of the test
suite.
Don't remove $as_me.[0-9]*, since these files no longer exist.

24 years ago* tests/tools.at: Use absolute paths, since we are no longer run
Akim Demaille [Tue, 13 Nov 2001 12:03:11 +0000 (12:03 +0000)] 
* tests/tools.at: Use absolute paths, since we are no longer run
in place.

24 years agoNow that tests are running in their own private dir, there is no
Akim Demaille [Tue, 13 Nov 2001 11:41:08 +0000 (11:41 +0000)] 
Now that tests are running in their own private dir, there is no
need to list the files to remove at the end of tests groups.
* lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
(AT_data_files, at_data_files): Remove.
(AT_CLEANUP, AT_DATA): Simplify.
(AT_INIT): Adjust.
Remove the group dir if !debug && !failed.
* tests/atspecific.m4: Adjust.

24 years agoStart a new layout for Autotest: `testsuite' creates
Akim Demaille [Tue, 13 Nov 2001 11:39:14 +0000 (11:39 +0000)] 
Start a new layout for Autotest: `testsuite' creates
`testsuite.dir' in which the at-check-line etc. files are to be
found, and `testsuite.dir/003' where the test group 3 is run.
* lib/autotest/general.m4 (AT_INIT): at_tests_dir,
at_check_line_file, at_format, at_test_normalized, at_group_dir
are new variables.
Create the directories.
Use absolute paths for at- files.
(AT_CHECK): Adjust.

24 years ago* m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
Akim Demaille [Tue, 13 Nov 2001 10:42:05 +0000 (10:42 +0000)] 
* m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
(m4_car2): New.
(m4_car): Properly quote arguments.

24 years ago* tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
Akim Demaille [Tue, 13 Nov 2001 09:56:46 +0000 (09:56 +0000)] 
* tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
with stricter rules on LIBOBJS.

24 years ago* lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
Paul Eggert [Mon, 12 Nov 2001 18:48:58 +0000 (18:48 +0000)] 
* lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
* doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
  __PROTOTYPES too.

24 years ago(C Compiler): AC_C_PROTOTYPES now defines __PROTOTYPES too.
Paul Eggert [Mon, 12 Nov 2001 18:48:02 +0000 (18:48 +0000)] 
(C Compiler): AC_C_PROTOTYPES now defines __PROTOTYPES too.

24 years ago(AC_C_PROTOTYPES): Define __PROTOTYPES too.
Paul Eggert [Mon, 12 Nov 2001 18:46:44 +0000 (18:46 +0000)] 
(AC_C_PROTOTYPES): Define __PROTOTYPES too.

24 years ago* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
Akim Demaille [Mon, 12 Nov 2001 16:11:43 +0000 (16:11 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.

24 years ago* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
Akim Demaille [Mon, 12 Nov 2001 16:08:52 +0000 (16:08 +0000)] 
* lib/autoconf/c.m4, lib/autoconf/fortran.m4,
* lib/autoconf/functions.m4, lib/autoconf/general.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
specify to what the macro should be defined (typically to 1).

24 years ago* lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
Akim Demaille [Mon, 12 Nov 2001 15:47:35 +0000 (15:47 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
From Jim Meyering.

24 years ago* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
Akim Demaille [Mon, 12 Nov 2001 08:59:54 +0000 (08:59 +0000)] 
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
definition used by Automake where LEX is +/- "${missing} lex" and
`missing' itself contains variables.

24 years ago* lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
Akim Demaille [Mon, 12 Nov 2001 08:59:40 +0000 (08:59 +0000)] 
* lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
Now that M4sh pushes BODY, the comments were output at the end of
the test suites.

24 years agoTypo.
Akim Demaille [Fri, 9 Nov 2001 16:04:55 +0000 (16:04 +0000)] 
Typo.

24 years ago* bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
Akim Demaille [Thu, 8 Nov 2001 17:21:38 +0000 (17:21 +0000)] 
* bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
that we can trace macros from aclocal.m4.
Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
obsoleted, and redirect to the former anyway.
Reported by Ralf Corsepius.

24 years ago* bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
Akim Demaille [Thu, 8 Nov 2001 16:15:20 +0000 (16:15 +0000)] 
* bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
processed only if present.
* tests/torture.at (Configuring subdirectories): Use autoreconf
instead of successive calls to autoconf.
Add a nonexistent subdirectory to exercise the patch above.
Reported by Ralf Corsepius.

24 years ago* autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
Kevin Ryde [Thu, 8 Nov 2001 00:29:44 +0000 (00:29 +0000)] 
* autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
doesn't accept .S files.

24 years ago* lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
Akim Demaille [Wed, 7 Nov 2001 19:34:20 +0000 (19:34 +0000)] 
* lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
* lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
(_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
* bin/autom4te.in (warn_forbidden): New.
(handle_output): Use it.
Read m4_pattern_forbid with messages.

24 years ago* bin/autom4te.in (--normalize): Remove.
Akim Demaille [Mon, 5 Nov 2001 17:39:33 +0000 (17:39 +0000)] 
* bin/autom4te.in (--normalize): Remove.
* lib/autom4te.in: Adjust.

24 years ago* tests/Makefile.am (testsuite): Rename this target as...
Akim Demaille [Mon, 5 Nov 2001 17:35:02 +0000 (17:35 +0000)] 
* tests/Makefile.am (testsuite): Rename this target as...
($(TESTSUITE)): this.
From Nicolas Joly.

24 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
Alexandre Duret-Lutz [Mon, 5 Nov 2001 13:04:41 +0000 (13:04 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
the --prefix option, also remove it's argument.

24 years ago* doc/autoconf.texi (testsuite Invocation): Update.
Akim Demaille [Mon, 5 Nov 2001 09:32:35 +0000 (09:32 +0000)] 
* doc/autoconf.texi (testsuite Invocation): Update.
(Writing testsuite.at): Update.

24 years ago* doc/autoconf.texi: s/@code/@command/ where appropriate.
Akim Demaille [Sat, 3 Nov 2001 12:02:16 +0000 (12:02 +0000)] 
* doc/autoconf.texi: s/@code/@command/ where appropriate.

24 years ago* lib/Autom4te/General.pm: (&catfile, &canonfile)
Akim Demaille [Sat, 3 Nov 2001 12:01:35 +0000 (12:01 +0000)] 
* lib/Autom4te/General.pm: (&catfile, &canonfile)
(&file_name_is_absolute): New, wrappers around routines from
File::Spec.
Use and export them.
(&find_configure_ac): Optionally take a directory where to look at.
* bin/autoreconf.in (&parse_args): Trim the configure.ac part of
the arguments.
Default @ARGV to `.', not find_configure_ac.
(&autoreconf): Argument is a directory.
Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
* doc/autoconf.texi (autoreconf Invocation): Update.

24 years ago* lib/Autom4te/General.pm (@export_vars, @export_subs)
Akim Demaille [Sat, 3 Nov 2001 11:59:48 +0000 (11:59 +0000)] 
* lib/Autom4te/General.pm (@export_vars, @export_subs)
(@export_forward_subs): New.
Add basename, dirname, and fileparse.
(@EXPORT): Adjust.
* bin/autoreconf.in (&autoreconf): Fix call to fileparse.
Don't look for aclocal flags if we already know aclocal is not
used.
Move aclocal.m4t only if it exists.
Reported by Ezra Peisach.

24 years ago* bin/autoreconf.in (&parse_args): Work only on the configure.ac
Akim Demaille [Sat, 3 Nov 2001 11:59:35 +0000 (11:59 +0000)] 
* bin/autoreconf.in (&parse_args): Work only on the configure.ac
passed on command line, defaulting to ./configure.ac if present.
(&maybe_autoreconf, File::Find): Remove, unused.
(&autoreconf): If autoconf is not used, don't try to trace.

24 years ago* configure.ac: Bump to 2.52g.
Akim Demaille [Fri, 2 Nov 2001 17:35:50 +0000 (17:35 +0000)] 
* configure.ac: Bump to 2.52g.

24 years ago.
Akim Demaille [Fri, 2 Nov 2001 17:26:24 +0000 (17:26 +0000)] 
.

24 years agoVersion 2.52f. AUTOCONF-2.52f
Akim Demaille [Fri, 2 Nov 2001 16:39:02 +0000 (16:39 +0000)] 
Version 2.52f.

24 years ago* config/config.guess, config/config.sub, doc/standards.texi:
Akim Demaille [Fri, 2 Nov 2001 16:38:15 +0000 (16:38 +0000)] 
* config/config.guess, config/config.sub, doc/standards.texi:
* config/lispdir.m4: Update from masters.
* configure.ac: Bump to 2.52f.

24 years ago* bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
Akim Demaille [Fri, 2 Nov 2001 16:28:33 +0000 (16:28 +0000)] 
* bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
Don't run aclocal when aclocal.m4 is not from aclocal.
From Ezra Peisach.
Don't run libtoolize and gettextize if --install is not given.

24 years agoRegen.
Paul Eggert [Thu, 1 Nov 2001 22:46:36 +0000 (22:46 +0000)] 
Regen.

24 years ago(AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
Paul Eggert [Thu, 1 Nov 2001 22:44:48 +0000 (22:44 +0000)] 
(AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
be invoked before _AS_LINENO_PREPARE.
(_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
than character ranges.

24 years ago(AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to be invoked before
Paul Eggert [Thu, 1 Nov 2001 22:41:54 +0000 (22:41 +0000)] 
(AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to be invoked before
_AS_LINENO_PREPARE.

(_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather than
character ranges.

24 years agoRegen.
Paul Eggert [Thu, 1 Nov 2001 20:16:49 +0000 (20:16 +0000)] 
Regen.

24 years ago* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
Paul Eggert [Thu, 1 Nov 2001 20:14:32 +0000 (20:14 +0000)] 
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
invoking AS_BASENAME.  Set the locale variables to 'C' if
possible, as POSIX requires this to get the traditional
behavior.
* doc/autoconf.texi (Special Shell Variables): Describe the above.

24 years ago(Special Shell Variables): Update description of LC_ALL, LANG, LANGUAGE, etc.
Paul Eggert [Thu, 1 Nov 2001 20:12:27 +0000 (20:12 +0000)] 
(Special Shell Variables): Update description of LC_ALL, LANG, LANGUAGE, etc.
to match current Autoconf behavior.

24 years ago(AS_SHELL_SANITIZE): Fix NLS before invoking AS_BASENAME. Set the
Paul Eggert [Thu, 1 Nov 2001 19:44:57 +0000 (19:44 +0000)] 
(AS_SHELL_SANITIZE): Fix NLS before invoking AS_BASENAME.  Set the
locale variables to 'C' if possible, as POSIX requires this to get the
traditional behavior.

24 years agoRegen.
Paul Eggert [Wed, 31 Oct 2001 20:11:46 +0000 (20:11 +0000)] 
Regen.

24 years ago* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
Paul Eggert [Wed, 31 Oct 2001 20:10:13 +0000 (20:10 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
with {}, as that triggers a bug in Bash 2.05.

24 years ago(_AS_LINENO_WORKS): Do not surround body with {}, as that triggers a
Paul Eggert [Wed, 31 Oct 2001 20:07:48 +0000 (20:07 +0000)] 
(_AS_LINENO_WORKS): Do not surround body with {}, as that triggers a
bug in Bash 2.05.

24 years ago* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use Sed rather than
Paul Eggert [Wed, 31 Oct 2001 19:32:35 +0000 (19:32 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use Sed rather than
Awk.  Fix the sed prepass to work even if there are multiple
instances of $LINENO on the same line.  Do not substitute for
other variables like $LINENOT.  Do not check file dates; such a
check is unreliable on sufficiently fast machines, and removing
the check makes the code simpler and more reliable.  Check for
output and chmod failures.

* doc/autoconf.texi (Special Shell Variables): Document the above.

24 years ago(Special Shell Variables): Autoconf now uses Sed rather than Awk for
Paul Eggert [Wed, 31 Oct 2001 19:26:21 +0000 (19:26 +0000)] 
(Special Shell Variables): Autoconf now uses Sed rather than Awk for
LINENO substitution, and some LINENO bugs have been fixed when using
Sed.

24 years ago(_AS_LINENO_PREPARE): Use Sed rather than Awk. Fix the sed prepass to
Paul Eggert [Wed, 31 Oct 2001 19:23:37 +0000 (19:23 +0000)] 
(_AS_LINENO_PREPARE): Use Sed rather than Awk.  Fix the sed prepass to
work even if there are multiple instances of $LINENO on the same line.
Do not substitute for other variables like $LINENOT.  Do not check
file dates; such a check is unreliable on sufficiently fast machines,
and removing the check makes the code simpler and more reliable.
Check for output and chmod failures.

24 years agoRegen.
Akim Demaille [Wed, 31 Oct 2001 10:43:31 +0000 (10:43 +0000)] 
Regen.

24 years ago* tests/Makefile.am (atconfig): Remove this target, Automake
Akim Demaille [Wed, 31 Oct 2001 10:42:16 +0000 (10:42 +0000)] 
* tests/Makefile.am (atconfig): Remove this target, Automake
handles it now.

24 years ago* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
Akim Demaille [Wed, 31 Oct 2001 10:40:12 +0000 (10:40 +0000)] 
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
provided, while it is optional.
* configure.ac: Adjust.

24 years ago* NEWS, README, configure.ac, lib/Autom4te/General.pm,
Paul Eggert [Fri, 26 Oct 2001 19:54:34 +0000 (19:54 +0000)] 
* NEWS, README, configure.ac, lib/Autom4te/General.pm,
  lib/Autom4te/Struct.pm:
Require Perl 5.005_03 instead of just 5.005, as some tests fail
with 5.005_02.

* doc/autoconf.texi (Special Shell Variables): Document some
more LINENO gotchas, particularly with respect to the Awk+Sed hack.

* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
(_AS_LINENO_PREPARE): Use it instead of shell eval, since
eval $LINENO is not portable in practice.

24 years agoRequire Perl 5.005_03 instead of just 5.005, as some tests fail
Paul Eggert [Fri, 26 Oct 2001 19:52:43 +0000 (19:52 +0000)] 
Require Perl 5.005_03 instead of just 5.005, as some tests fail
with 5.005_02.

24 years ago(_AS_LINENO_WORKS): New macro.
Paul Eggert [Fri, 26 Oct 2001 19:52:43 +0000 (19:52 +0000)] 
(_AS_LINENO_WORKS): New macro.
(_AS_LINENO_PREPARE): Use it instead of shell eval, since
eval $LINENO is not portable in practice.

24 years ago(Special Shell Variables): Document some
Paul Eggert [Fri, 26 Oct 2001 19:52:07 +0000 (19:52 +0000)] 
(Special Shell Variables): Document some
more LINENO gotchas, particularly with respect to the Awk+Sed hack.

24 years agoRegenerate for Perl 5.005_03 and LINENO patches.
Paul Eggert [Fri, 26 Oct 2001 19:49:45 +0000 (19:49 +0000)] 
Regenerate for Perl 5.005_03 and LINENO patches.

24 years agoRegenerate for LINENO and Perl 5.005_03 requirement patches.
Paul Eggert [Fri, 26 Oct 2001 19:48:50 +0000 (19:48 +0000)] 
Regenerate for LINENO and Perl 5.005_03 requirement patches.

24 years agoRequire Perl 5.005_03 instead of just 5.005,
Paul Eggert [Fri, 26 Oct 2001 19:44:59 +0000 (19:44 +0000)] 
Require Perl 5.005_03 instead of just 5.005,
as some tests fail with 5.005_02.

24 years ago* lib/Autom4te/General.pm (backname): New.
Akim Demaille [Wed, 24 Oct 2001 14:29:16 +0000 (14:29 +0000)] 
* lib/Autom4te/General.pm (backname): New.

24 years ago* m4/: Remove, merged into...
Akim Demaille [Wed, 24 Oct 2001 13:30:56 +0000 (13:30 +0000)] 
* m4/: Remove, merged into...
* config/: here.

24 years ago* doc/autoconf.texi (Shellology): Mention the problems with bash 2.05's use
Tim Van Holder [Tue, 23 Oct 2001 17:18:44 +0000 (17:18 +0000)] 
* doc/autoconf.texi (Shellology): Mention the problems with bash 2.05's use
  of ANSI quoting in its `set' builtin.

24 years ago* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
Paul Eggert [Mon, 22 Oct 2001 17:52:28 +0000 (17:52 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
POSIX decided to standardize on the int flavor of strerror_r.
Always do char* test, as there's no reason not to.
Assign to a char* var, to catch strerror_r that returns int*.

* doc/autoconf.texi (Particular Functions):
Document the above changes.  Also, document the fact that
AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.

* NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.

24 years agoMention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
Paul Eggert [Mon, 22 Oct 2001 17:51:16 +0000 (17:51 +0000)] 
Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.

24 years ago(Particular Functions): Document the HAVE_WORKING_STRERROR_R ->
Paul Eggert [Mon, 22 Oct 2001 17:50:09 +0000 (17:50 +0000)] 
(Particular Functions): Document the HAVE_WORKING_STRERROR_R ->
STRERROR_R_CHAR_P change suggested by POSIX.  Also, document the fact
that AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.

24 years ago(AC_FUNC_STRERROR_R): Rename ac_cv_func_strerror_r_works to
Paul Eggert [Mon, 22 Oct 2001 17:42:32 +0000 (17:42 +0000)] 
(AC_FUNC_STRERROR_R): Rename ac_cv_func_strerror_r_works to
ac_cv_func_strerror_r_char_p, and rename HAVE_WORKING_STRERROR_R to
STRERROR_R_CHAR_P, since POSIX decided to standardize on the int
flavor of strerror_r.  Always do char* test, as there's no reason not
to.  Assign to a char* var, to catch strerror_r that returns int*.

24 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
Akim Demaille [Sat, 20 Oct 2001 06:57:21 +0000 (06:57 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
the executable was missing from the log.

24 years ago* lib/Autom4te/General.pm (&update_file): If destination is
Akim Demaille [Sat, 20 Oct 2001 06:56:45 +0000 (06:56 +0000)] 
* lib/Autom4te/General.pm (&update_file): If destination is
unchanged, remove the source.
(&up_to_date_p): Don't be verbose, be debug.
* bin/autoreconf.in: No longer support --m4dir.
(&autoreconf): Display the full path of the configure.ac we are
studying.
Trace it only once.
Be sure to honor --force with gettextize.
Always run aclocal.
* doc/autoconf.texi: Adjust.

24 years ago* bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
Akim Demaille [Sat, 20 Oct 2001 06:51:41 +0000 (06:51 +0000)] 
* bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
Remove, dead.
* bin/autoreconf.in (&autoreconf): Do not run gettextize when
`intl' is already present, as it refuses unless --force.
(&parse_args): Use -I, --include instead of the old Autoconf
options.
($localdir, $autoconf_dir): Remove.
(@include): New.
(&maybe_autoreconf): New, to preserve $_ for File::Find.

24 years ago* lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
Paul Eggert [Fri, 19 Oct 2001 18:36:43 +0000 (18:36 +0000)] 
* lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
* doc/autoconf.texi (Particular Programs): Likewise.

24 years ago(AC_PROG_AWK): Prefer gawk to mawk.
Paul Eggert [Fri, 19 Oct 2001 18:34:42 +0000 (18:34 +0000)] 
(AC_PROG_AWK): Prefer gawk to mawk.

24 years ago(Particular Programs): Prefer gawk to mawk.
Paul Eggert [Fri, 19 Oct 2001 18:12:48 +0000 (18:12 +0000)] 
(Particular Programs): Prefer gawk to mawk.

24 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
Akim Demaille [Fri, 19 Oct 2001 17:34:53 +0000 (17:34 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
file in @configure_input@.
Don't mention `automatically' in addition to `generated'.
* tests/torture.at (#define header templates): Adjust.

24 years ago* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
Akim Demaille [Fri, 19 Oct 2001 16:02:37 +0000 (16:02 +0000)] 
* lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
comment, explain how to install automatic mode selection.
From Russ Allbery.

24 years ago* bin/autoreconf.in (autoreconf): Display the path to the
Akim Demaille [Fri, 19 Oct 2001 14:26:45 +0000 (14:26 +0000)] 
* bin/autoreconf.in (autoreconf): Display the path to the
configure.ac being studied.

24 years ago* lib/m4sugar/m4sh.m4 (as_me): Shell-quote the argument of
Paul Eggert [Fri, 19 Oct 2001 00:26:15 +0000 (00:26 +0000)] 
* lib/m4sugar/m4sh.m4 (as_me): Shell-quote the argument of
AS_BASENAME, in case $0 contains white space.

24 years agoRegen.
Paul Eggert [Fri, 19 Oct 2001 00:24:47 +0000 (00:24 +0000)] 
Regen.

24 years ago(as_me): Shell-quote the argument of AS_BASENAME, in case $0 contains
Paul Eggert [Fri, 19 Oct 2001 00:20:03 +0000 (00:20 +0000)] 
(as_me): Shell-quote the argument of AS_BASENAME, in case $0 contains
white space.

24 years ago(DIRNAME_TEST): New arg $3.
Paul Eggert [Thu, 18 Oct 2001 23:44:54 +0000 (23:44 +0000)] 
(DIRNAME_TEST): New arg $3.
Allow "dirname //FOO" to return either / or //, as POSIX allows
either behavior.

24 years ago(AS_DIRNAME): Use 'dirname' if that works.
Paul Eggert [Thu, 18 Oct 2001 23:43:52 +0000 (23:43 +0000)] 
(AS_DIRNAME): Use 'dirname' if that works.
(AS_BASENAME_EXPR): New macro.
(AS_BASENAME_SED): Do not assume GNU sed semantics.
(AS_BASENAME): Use 'basename' if that works; then try 'expr';
and fall back on 'sed' only if the other two fail.  This makes
AS_BASENAME act more like AS_DIRNAME.

24 years ago(AC_CHECK_SIZEOF): Cast sizeof to unsigned long, to work around a bug
Paul Eggert [Thu, 18 Oct 2001 23:42:01 +0000 (23:42 +0000)] 
(AC_CHECK_SIZEOF): Cast sizeof to unsigned long, to work around a bug
in the HP C compiler version HP92453-01 B.11.11.23709.GP.

24 years ago(_AC_INIT_SRCDIR): Use AS_DIRNAME, since I think it's now DOS-friendly.
Paul Eggert [Thu, 18 Oct 2001 23:40:44 +0000 (23:40 +0000)] 
(_AC_INIT_SRCDIR): Use AS_DIRNAME, since I think it's now DOS-friendly.

24 years ago* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
Paul Eggert [Thu, 18 Oct 2001 23:39:26 +0000 (23:39 +0000)] 
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
long, to work around a bug in the HP C compiler version HP92453-01
B.11.11.23709.GP.

* lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
(AS_BASENAME_EXPR): New macro.
(AS_BASENAME_SED): Do not assume GNU sed semantics.
(AS_BASENAME): Use 'basename' if that works; then try 'expr';
and fall back on 'sed' only if the other two fail.  This makes
AS_BASENAME act more like AS_DIRNAME.
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
Use AS_DIRNAME, since I think it's now DOS-friendly.
* tests/m4sh.at (DIRNAME_TEST): New arg $3.
Allow "dirname //FOO" to return either / or //, as POSIX allows
either behavior.

24 years ago* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
Akim Demaille [Sun, 14 Oct 2001 11:48:18 +0000 (11:48 +0000)] 
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
`a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
From Eric Sharkey.

24 years agoAdd install-sh.
Pavel Roskin [Wed, 10 Oct 2001 20:08:15 +0000 (20:08 +0000)] 
Add install-sh.

24 years ago* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
Akim Demaille [Wed, 10 Oct 2001 12:59:27 +0000 (12:59 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
m4_define, since...
(_AS_ECHO_N): AS_REQUIREs it.

24 years ago* lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
Akim Demaille [Wed, 10 Oct 2001 12:58:44 +0000 (12:58 +0000)] 
* lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
(AC_INCLUDES_DEFAULT): Move to...
* lib/autoconf/headers.m4: here.
* lib/autoconf/types.m4: Comment changes.
* doc/autoconf.texi: Specify where the default includes are used
in the macro prototypes.

24 years ago* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
Akim Demaille [Wed, 10 Oct 2001 12:57:35 +0000 (12:57 +0000)] 
* lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
transition code.

24 years ago* bin/autoreconf.in (&autoreconf): Remove debugging code.
Akim Demaille [Mon, 8 Oct 2001 09:40:33 +0000 (09:40 +0000)] 
* bin/autoreconf.in (&autoreconf): Remove debugging code.
(&parse_args): Pass verbosity/debugging options to subtools when
--debug, not when --verbose.
* lib/autom4te.in (Autoreconf-preselections): New.
(Autoconf): Use it.

24 years ago* bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
Akim Demaille [Mon, 8 Oct 2001 08:27:15 +0000 (08:27 +0000)] 
* bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.

24 years ago* doc/autoconf.texi (autoreconf Invocation): Adjust.
Akim Demaille [Mon, 8 Oct 2001 08:26:58 +0000 (08:26 +0000)] 
* doc/autoconf.texi (autoreconf Invocation): Adjust.
* bin/autoreconf.in (autoreconf): Run gettextize when appropriate.

24 years ago* tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
Akim Demaille [Mon, 8 Oct 2001 08:26:43 +0000 (08:26 +0000)] 
* tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
(Syntax of the shell scripts): Don't.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
bother with $force since...
* lib/Autom4te/General.pm: does.

24 years ago* bin/autoreconf.in: Rewrite in Perl.
Akim Demaille [Mon, 8 Oct 2001 08:25:44 +0000 (08:25 +0000)] 
* bin/autoreconf.in: Rewrite in Perl.
* configure.ac: Adjust.
* lib/Autom4te/General.pm (&up_to_date_p): New.
* bin/autom4te.in (&up_to_date_p): Use it.
Rename as...
(&up_to_date): this.

24 years agoUse m4_bmatch.
Akim Demaille [Mon, 8 Oct 2001 08:25:34 +0000 (08:25 +0000)] 
Use m4_bmatch.