]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
25 years ago* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
Akim Demaille [Tue, 1 Aug 2000 11:22:42 +0000 (11:22 +0000)] 
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
LC_COLLATE and LC_NUMERIC.
* autoconf.m4: Don't rely on character ranges with tr.
* doc/autoconf.texi (Special Shell Variables): Adjust.

25 years ago* acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
Akim Demaille [Tue, 1 Aug 2000 11:16:33 +0000 (11:16 +0000)] 
* acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
AM_FUNC_STRTOD): New macros, from Automake.
* acfunctions: Adjust.

25 years ago* acidentifiers: Catch ptrdiff_t.
Akim Demaille [Tue, 1 Aug 2000 11:14:48 +0000 (11:14 +0000)] 
* acidentifiers: Catch ptrdiff_t.
* acspecific.m4 (AM_TYPE_PTRDIFF_T): AU define.

25 years ago* autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
Akim Demaille [Tue, 1 Aug 2000 11:12:12 +0000 (11:12 +0000)] 
* autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
Quote properly the output.
Remove useless backslashes.

25 years ago* acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
Akim Demaille [Tue, 1 Aug 2000 11:10:16 +0000 (11:10 +0000)] 
* acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.

25 years ago* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
Akim Demaille [Tue, 1 Aug 2000 10:16:20 +0000 (10:16 +0000)] 
* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.

25 years agoCreate acfunctions.m4, in charge of the macros related to
Akim Demaille [Tue, 1 Aug 2000 10:13:14 +0000 (10:13 +0000)] 
Create acfunctions.m4, in charge of the macros related to
functions.

* acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
Move to...
* acfunctions.m4: here, new file.
* acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
_AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
* Makefile.am: Adjust.

Move also the old definitions into acfunctions.m4, and adjust the
test suite.

* acgeneral.m4 (AU_ALIAS): New macro.
* acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
* acfunctions.m4: here, using AU_ALIAS.
* acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
define them.
* acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
* tests/Makefile.am (MACRO_FILES): Adjust.

25 years ago* autoscan.pl: Use Getopt::Long;
Akim Demaille [Tue, 1 Aug 2000 10:05:11 +0000 (10:05 +0000)] 
* autoscan.pl: Use Getopt::Long;
* acidentifiers: Classify, sort.

25 years ago* aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
Akim Demaille [Tue, 1 Aug 2000 10:03:41 +0000 (10:03 +0000)] 
* aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
Use grep instead of egrep, don't redirect stderr.

25 years ago* acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
Akim Demaille [Tue, 1 Aug 2000 09:12:34 +0000 (09:12 +0000)] 
* acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
empty lines in the header comments (should be `#' alone instead).
Reported by Didier Verna.

25 years ago* doc/autoconf.texi (Installation Directory Variables):
Akim Demaille [Tue, 1 Aug 2000 08:21:38 +0000 (08:21 +0000)] 
* doc/autoconf.texi (Installation Directory Variables):
Clarifications and typos.

25 years ago* acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
Akim Demaille [Tue, 1 Aug 2000 08:17:07 +0000 (08:17 +0000)] 
* acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
(_AC_INIT_HELP): Output the bug report address at
the end of a `configure --help' output.
(_AC_INIT_NOTICE): Ditto, but at the top of `configure'.

25 years ago* acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
Akim Demaille [Mon, 31 Jul 2000 09:22:47 +0000 (09:22 +0000)] 
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
(_AC_INIT_PREPARE): here, where it is called from.
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't test -z "`foo`".

25 years ago* acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
Akim Demaille [Mon, 31 Jul 2000 09:21:33 +0000 (09:21 +0000)] 
* acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
(_AC_DIVERT(PARSE_ARGS)): this.  Adjust dependencies.
(AC_ARG_WITH): Remove spurious newline.
(AC_ARG_VAR): No longer save precious variables in
ac_configure_args, rather snapshot them twice (one kept
unmodified, another one to be written to/overwritten by the cache
file).
(AC_CACHE_SAVE): Let the cache variables named `ac_cv_env_*'
be overwritten when loading the cache (i.e., don't use the
: ${foo=...} trick).
(_AC_ARG_VAR_VALIDATE): Compare the two snapshots of the precious
variables.
(_AC_INIT_PREPARE): Call it after having loaded the cache file.

25 years ago* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
Akim Demaille [Fri, 28 Jul 2000 07:55:01 +0000 (07:55 +0000)] 
* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext.  Use _ACEOF instead of ACEOF.

25 years ago* autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
Akim Demaille [Fri, 28 Jul 2000 07:41:52 +0000 (07:41 +0000)] 
* autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
* autoheader.sh: Likewise.
* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.

25 years ago* doc/autoconf.texi (Installation Directory Variables): New
Akim Demaille [Fri, 28 Jul 2000 07:37:50 +0000 (07:37 +0000)] 
* doc/autoconf.texi (Installation Directory Variables): New
section, Eved off from `Preset Output Variables', i.e., was a
small part of it, grew independent, and is its equal (at least).
(Coding Style): `$#' padding.
* Makefile.am (editsh, editpl): Do what the doc says you do: use
@datadir\@ instead of @''datadir''@.

25 years ago* aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
Akim Demaille [Fri, 28 Jul 2000 07:36:11 +0000 (07:36 +0000)] 
* aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext.  Use ACEOF instead of EOF.
(AC_LANG_CONFTEST): New macro.
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_F77_C_O,
_AC_PROG_F77_V_OUTPUT): Use it.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_COMPILE_IFELSE,
AC_LINK_IFELSE, AC_RUN_IFELSE): Likewise.

25 years agoUpdate Peter Simons' address.
Akim Demaille [Wed, 26 Jul 2000 10:01:26 +0000 (10:01 +0000)] 
Update Peter Simons' address.

25 years ago* aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
Akim Demaille [Mon, 24 Jul 2000 07:58:52 +0000 (07:58 +0000)] 
* aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
way of accessing Fortran name-mangling information other than
through CPP, and without having to know the different possible
name-mangling schemes.
* autoconf.texi: Documented AC_F77_FUNC

25 years ago* acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
Akim Demaille [Mon, 24 Jul 2000 06:54:53 +0000 (06:54 +0000)] 
* acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
`size_t' which are often used too.
Fix a bug which prevents recognition of `bool' and `char'.
(_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
(AC_CHECK_TYPE): Use it.

25 years ago* Makefile.am: Remove INSTALL.txt by maintainer-clean target.
Akim Demaille [Wed, 19 Jul 2000 16:43:04 +0000 (16:43 +0000)] 
* Makefile.am: Remove INSTALL.txt by maintainer-clean target.

25 years ago* autoupdate.sh: Typo: s/infile/file/.
Akim Demaille [Wed, 19 Jul 2000 10:15:09 +0000 (10:15 +0000)] 
* autoupdate.sh: Typo: s/infile/file/.

25 years ago* aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
Akim Demaille [Wed, 19 Jul 2000 09:56:18 +0000 (09:56 +0000)] 
* aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
_AC_F77_NAME_MANGLING.
(_AC_F77_NAME_MANGLING): Use independent checks for the
name mangling of symbols with and without underscores.
Use algorithm with for loops instead of recursive macro calls.
(AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Remove documentation of AC_F77_NAME_MANGLING.
Remove documentation of f77_case and f77_underscore.
Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.

25 years ago* NEWS: Fresh air.
Akim Demaille [Wed, 19 Jul 2000 09:35:30 +0000 (09:35 +0000)] 
* NEWS: Fresh air.
* TODO: Fresh blood.

25 years ago* doc/autoconf.texi (autoheader Invocation): Explain the purpose
Akim Demaille [Wed, 19 Jul 2000 09:33:19 +0000 (09:33 +0000)] 
* doc/autoconf.texi (autoheader Invocation): Explain the purpose
of autoheader.

25 years ago* doc/autoconf.texi: Various English fixes from Jim.
Akim Demaille [Wed, 19 Jul 2000 09:32:32 +0000 (09:32 +0000)] 
* doc/autoconf.texi: Various English fixes from Jim.

25 years ago* doc/autoconf.texi (Compilers and Preprocessors, Obsolete
Akim Demaille [Wed, 19 Jul 2000 09:28:34 +0000 (09:28 +0000)] 
* doc/autoconf.texi (Compilers and Preprocessors, Obsolete
Macros): Don't give boring internal details.
(Language Choice): Typo.
(Limitations of Builtins): Some about `!', `set', `$@'.
(Coding Style): Some about $[@] quotation.
Some about cross-compilation.

25 years ago* autoreconf.sh (dir): When verbose, say what are the tools you
Akim Demaille [Wed, 19 Jul 2000 09:24:10 +0000 (09:24 +0000)] 
* autoreconf.sh (dir): When verbose, say what are the tools you
will use.

25 years agoWarnings related to obsolete constructs should be properly
Akim Demaille [Wed, 19 Jul 2000 09:20:57 +0000 (09:20 +0000)] 
Warnings related to obsolete constructs should be properly
classified.

* acspecific.m4 (AC_RSH, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE,
AC_STRUCT_ST_RDEV, AC_HAVE_POUNDBANG, AC_ARG_ARRAY): Use
`AC_DIAGNOSE(obsolete, ...)' instead of `AC_WARNING'.

25 years agoautoconf -W error does not work.
Akim Demaille [Wed, 19 Jul 2000 09:20:19 +0000 (09:20 +0000)] 
autoconf -W error does not work.

* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
_AC_WARNING_ENABLE is dead.

25 years agoTODO update.
Akim Demaille [Wed, 19 Jul 2000 09:19:57 +0000 (09:19 +0000)] 
TODO update.

25 years agoMartin Wilck found a Fortran 77 compiler which always exits with
Akim Demaille [Wed, 19 Jul 2000 09:19:24 +0000 (09:19 +0000)] 
Martin Wilck found a Fortran 77 compiler which always exits with
success.

* acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
file was created and is nonempty.

25 years ago* doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
Akim Demaille [Wed, 19 Jul 2000 09:18:55 +0000 (09:18 +0000)] 
* doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
pages, and the mailing lists.

25 years ago* doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
Akim Demaille [Wed, 19 Jul 2000 09:14:48 +0000 (09:14 +0000)] 
* doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
(Coding Style): Move some into...
(Macro Definitions): here.

25 years agoThe --help message should have paragraphs starting with a title,
Akim Demaille [Wed, 19 Jul 2000 09:08:13 +0000 (09:08 +0000)] 
The --help message should have paragraphs starting with a title,
the options, and then optionally a small paragraph.

* acgeneral.m4 (AC_DIVERT_ONCE): New macro.
(HELP_VAR_END): New diversion.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Use AC_DIVERT_ONCE.
(AC_ARG_VAR): Follow the --help style.
* acspecific.m4 (AC_PATH_X): Use AC_DIVERT_ONCE.

25 years ago* aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
Akim Demaille [Wed, 19 Jul 2000 09:06:25 +0000 (09:06 +0000)] 
* aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
AC_PROG_CC instead.
From Martin Wilck.
(AC_PROG_F77_C_O): Require AC_PROG_F77.
Use a cache variable independent of $F77.

25 years ago* autoreconf.sh: Accept --symbolic and -s.
Akim Demaille [Wed, 19 Jul 2000 09:04:26 +0000 (09:04 +0000)] 
* autoreconf.sh: Accept --symbolic and -s.

25 years agoMake it clear that the regular user does not need --macrodir.
Akim Demaille [Wed, 19 Jul 2000 09:03:53 +0000 (09:03 +0000)] 
Make it clear that the regular user does not need --macrodir.
In fact, rename this option as -A, --autoconf-dir.

* autoconf.sh: Complain when -m, --macrodir is used.
Accept -A, --autoconf-dir.
Use $autoconf_dir instead of $AC_MACRODIR.
Adjust --help.
* autoheader.sh: Likewise.
* autoscan.sh: Likewise.
* autoupdate.sh: Likewise.
Use $optarg.
* autoreconf.sh: Likewise.
* doc/autoconf.texi: Adjust.
* tests: Adjust the test suite.

25 years ago* autoreconf.sh: Forward --debug to sub tools.
Akim Demaille [Wed, 19 Jul 2000 08:54:44 +0000 (08:54 +0000)] 
* autoreconf.sh: Forward --debug to sub tools.
Let them share the same tmp dir.

25 years ago* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
Akim Demaille [Wed, 19 Jul 2000 08:22:58 +0000 (08:22 +0000)] 
* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.

25 years ago* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
Akim Demaille [Tue, 18 Jul 2000 15:58:03 +0000 (15:58 +0000)] 
* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.

25 years agoFixed bug where the F77 compiler output was parsed differently
Akim Demaille [Tue, 18 Jul 2000 12:27:05 +0000 (12:27 +0000)] 
Fixed bug where the F77 compiler output was parsed differently
when detecting the verbose flag than when scanning for linker
options, and as a result the former test failed (under AIX/xlf).

* aclang.m4 (_AC_PROG_F77_V_OUTPUT): New macro to get the
output of linking an F77 program with a given verbose flag,
and preprocess it as required to scan for linker flags.
(_AC_PROG_F77_V): Use the above macro here...
(AC_F77_LIBRARY_LDFLAGS): ...and here, enforcing consistency.

25 years ago* autoupdate.sh (autoconf): s,$updated,$tmp/updated,.
Akim Demaille [Mon, 17 Jul 2000 09:19:14 +0000 (09:19 +0000)] 
* autoupdate.sh (autoconf): s,$updated,$tmp/updated,.

25 years ago* doc/autoconf.texi (Configuration Actions): Explain the
Akim Demaille [Mon, 17 Jul 2000 08:36:59 +0000 (08:36 +0000)] 
* doc/autoconf.texi (Configuration Actions): Explain the
behavior of  AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.

25 years agoChangeLog fixes.
Akim Demaille [Mon, 17 Jul 2000 08:20:23 +0000 (08:20 +0000)] 
ChangeLog fixes.

25 years agoMake it easier to trace what autoreconf does.
Akim Demaille [Thu, 13 Jul 2000 13:38:45 +0000 (13:38 +0000)] 
Make it easier to trace what autoreconf does.

* autoheader.sh: Be more verbose, and always report your name in
verbose messages.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
(update.sh): Redirect ls's stderr to /dev/null.

25 years ago* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
Akim Demaille [Thu, 13 Jul 2000 08:46:08 +0000 (08:46 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
handle absolute input file names.
From Alexandre Oliva.

25 years ago* aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
Akim Demaille [Wed, 12 Jul 2000 17:06:42 +0000 (17:06 +0000)] 
* aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
leads to unnecessary warnings if both C and Fortran are checked.
(AC_PROG_F77_C_O): AC_REQUIRE AC_PROG_F77 instead of pretend you
need to be AC_BEFORE it.

25 years ago* autoconf.sh (_ac_warnings): Fix call to tr.
Akim Demaille [Wed, 12 Jul 2000 16:33:38 +0000 (16:33 +0000)] 
* autoconf.sh (_ac_warnings): Fix call to tr.
Reported by Johan Danielsson.

25 years ago* aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
Akim Demaille [Wed, 12 Jul 2000 08:45:32 +0000 (08:45 +0000)] 
* aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
causes the compiler to output verbose linking information.
(AC_F77_LIBRARY_LDFLAGS): Use _AC_PROG_F77_V instead of
simply "-v"
(AC_F77_LIBRARY_LDFLAGS): New algorithm to parse flags, uses
set/shift shell commands.
(AC_F77_LIBRARY_LDFLAGS): Set FLIBS at end, after determining
ac_cv_flibs.

25 years ago!*^&$@ sed portability problems... The test on AC_CHECK_TYPES is
Akim Demaille [Tue, 11 Jul 2000 10:12:30 +0000 (10:12 +0000)] 
!*^&$@ sed portability problems...  The test on AC_CHECK_TYPES is
failing on RISC/OS 4.52 because of the forget-to-reset-the-flag
bug in its sed.

* acgeneral.m4 (_AC_OUTPUT_HEADERS): Work around this bug.

25 years ago* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.
Akim Demaille [Tue, 11 Jul 2000 09:44:39 +0000 (09:44 +0000)] 
* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.

25 years ago* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
Akim Demaille [Mon, 10 Jul 2000 14:44:01 +0000 (14:44 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
Accept special filename '-' for stdin and stdout.

25 years agoKill ^M in doc files.
Akim Demaille [Mon, 10 Jul 2000 14:28:22 +0000 (14:28 +0000)] 
Kill ^M in doc files.

25 years agoAlexandre's suggestions.
Akim Demaille [Mon, 10 Jul 2000 14:03:12 +0000 (14:03 +0000)] 
Alexandre's suggestions.

* autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
Use test instead of sed.
<automake>: If automake is used, always run it: it has its own
mechanism not to update if unneeded.

25 years agoTypos and Englishos spotted by Jim Meyering.
Akim Demaille [Mon, 10 Jul 2000 12:29:14 +0000 (12:29 +0000)] 
Typos and Englishos spotted by Jim Meyering.

25 years ago* acspecific.m4 (_AC_PROG_ECHO): Modernize.
Akim Demaille [Mon, 10 Jul 2000 10:55:48 +0000 (10:55 +0000)] 
* acspecific.m4 (_AC_PROG_ECHO): Modernize.

25 years agoRun `make wget-update'
Akim Demaille [Mon, 10 Jul 2000 10:55:07 +0000 (10:55 +0000)] 
Run `make wget-update'

25 years agoStop being ridiculous :*(
Akim Demaille [Mon, 10 Jul 2000 10:52:04 +0000 (10:52 +0000)] 
Stop being ridiculous :*(

* acgeneral.m4 (AC_SHELL_DIRNAME):  When using m4 the argument
is named `$1' not `$dir'.
When using m4 you ought to quote properly.
When using m4, you should check that there are not too many shell
quotes (inside the macro itself, and where it is called).
When you do this, Autoconf, hm, works better.

25 years agoImprove --help documentation of important environment variables.
Akim Demaille [Mon, 10 Jul 2000 10:37:19 +0000 (10:37 +0000)] 
Improve --help documentation of important environment variables.

* acgeneral.m4 (_AC_INIT_HELP): Direct reader to descriptions
of useful variables at the end of the --help.
(AC_ARG_VAR): Emphasize use of environment variables to override
and/or help the configure script.  Ensure that a given variable
is only documented once in the --help.
(AC_CHECK_LIB): Call AC_ARG_VAR to document and register the
LDFLAGS variable, and...
(AC_CHECK_HEADER): do the same for the CPPFLAGS variable.
* aclang.m4 (AC_PROG_CC): Call AC_ARG_VAR to document and register
the CC and CFLAGS variables, and do the same for...
(AC_PROG_CXX): CXX and CXXFLAGS, and...
(AC_PROG_F77): F77 and FFLAGS.

25 years ago* Makefile.am (wget-update): New target.
Akim Demaille [Mon, 10 Jul 2000 10:33:01 +0000 (10:33 +0000)] 
* Makefile.am (wget-update): New target.
(WGET): New variable.

25 years ago* doc/autoconf.texi (Coding Style): Some more constraints :).
Akim Demaille [Mon, 10 Jul 2000 10:28:50 +0000 (10:28 +0000)] 
* doc/autoconf.texi (Coding Style): Some more constraints :).

25 years ago* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg! Don't leave the
Akim Demaille [Mon, 10 Jul 2000 10:27:21 +0000 (10:27 +0000)] 
* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg!  Don't leave the
AC_DEFINE inside the AC_CACHE_CHECK.

25 years ago* acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
Akim Demaille [Mon, 10 Jul 2000 10:27:02 +0000 (10:27 +0000)] 
* acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
macros, from Jim's stat.m4 and lstat.m4 serial 6.
* doc/autoconf.texi (Particular Functions): Document
* acfunctions: Add them.

25 years agoAC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
Akim Demaille [Mon, 10 Jul 2000 10:26:42 +0000 (10:26 +0000)] 
AC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
variables as argument.

* acgeneral.m4 (_AC_LIBOBJ): Same as the former AC_LIBOBJ, but
takes an additional argument: action to perform when non-literal
argument.
(AC_LIBOBJ): Use it.
(AC_REPLACE_FUNCS): Use _AC_LIBOBJ, not AC_LIBOBJ.

25 years agoLANGUAGE should be neutralized too.
Akim Demaille [Mon, 10 Jul 2000 10:25:39 +0000 (10:25 +0000)] 
LANGUAGE should be neutralized too.

* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
* doc/autoconf.texi (Special Shell Variables): Mention it.

25 years agoUpdate NEWS and TODO.
Akim Demaille [Mon, 10 Jul 2000 10:24:05 +0000 (10:24 +0000)] 
Update NEWS and TODO.

25 years agoSet autoconf's default warnings to `syntax'.
Akim Demaille [Mon, 10 Jul 2000 10:23:08 +0000 (10:23 +0000)] 
Set autoconf's default warnings to `syntax'.

In fact, honor the most recent specification in the concatenation
of `syntax',$WARNINGS,<options> in that order.
Implement support for `none' and `noCATEGORY' so that the options
may override the previous choices.
Suggested by Didier Verna.

* acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
(AC_WARNING_IFELSE): Use this macro to implement the new specs.
(AC_WARNING): The empty category must not be used, default to
`syntax'.
* doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
* autoconf.sh: Adjust.
Use `optarg' to fetch the arguments of options.
Fix a bug in the handling of `--trace='.

* acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
it shouldn't have.

25 years ago* autoreconf.sh (--install, --symlink): New options.
Akim Demaille [Mon, 10 Jul 2000 10:22:06 +0000 (10:22 +0000)] 
* autoreconf.sh (--install, --symlink): New options.

25 years ago* autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
Akim Demaille [Mon, 10 Jul 2000 10:19:55 +0000 (10:19 +0000)] 
* autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
Adjust dependencies.
When using $verbose, redirect to stderr.

25 years ago* autoreconf.sh: Clarify the difference between the location of
Akim Demaille [Mon, 10 Jul 2000 10:18:57 +0000 (10:18 +0000)] 
* autoreconf.sh: Clarify the difference between the location of
`aclocal.m4' and that of the location Autoconf extensions.
(-M, --m4dir): New option.
(aclocal_flags): Do not use $localdir, but $m4dir.
(localdir_opt): Remove, since $autoconf, $autoheader already
include `-l $localdir'.

25 years ago* autoconf.sh (task install): We no longer use AC_INCLUDE.
Akim Demaille [Mon, 10 Jul 2000 10:12:44 +0000 (10:12 +0000)] 
* autoconf.sh (task install): We no longer use AC_INCLUDE.

25 years ago* acoldnames.m4: Remove the obsolete comments. The technology is
Akim Demaille [Mon, 10 Jul 2000 10:10:30 +0000 (10:10 +0000)] 
* acoldnames.m4: Remove the obsolete comments.  The technology is
now detailed in `autoupdate'.
Quote the names being defined.
Formatting changes.

25 years ago* acgeneral.m4 (AC_DEFUNCT): Remove.
Akim Demaille [Mon, 10 Jul 2000 10:10:04 +0000 (10:10 +0000)] 
* acgeneral.m4 (AC_DEFUNCT): Remove.
(AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
* doc/autoconf.texi (Obsolete Macros): but not fresh.

25 years ago* autoreconf.sh (debug): New variable.
Akim Demaille [Mon, 10 Jul 2000 10:08:29 +0000 (10:08 +0000)] 
* autoreconf.sh (debug): New variable.
(tmp): s/ac/ar/.
<options handling>: Support --debug.
* doc/autoconf.texi: Adjust.

25 years agoFix the bugs recently introduced in autoreconf.
Akim Demaille [Mon, 10 Jul 2000 10:07:41 +0000 (10:07 +0000)] 
Fix the bugs recently introduced in autoreconf.

* autoreconf.sh: Don't run automake when the package is not using
it.
When checking whether autoheader should be rerun, don't ask
config.h to be newer than stamp-h and vice-versa.
Remove an unbalanced `fi'.

25 years ago* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
Akim Demaille [Mon, 10 Jul 2000 10:06:48 +0000 (10:06 +0000)] 
* autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
the convention clash with autoconf.sh where `run_foo' is the
command to run `foo'.
(uses_autoheader): New variable.

25 years ago* autoreconf.sh (update.sh): New sub program.
Akim Demaille [Mon, 10 Jul 2000 10:01:42 +0000 (10:01 +0000)] 
* autoreconf.sh (update.sh): New sub program.
Use it in the whole process.
(acconfig_h): New variable.

25 years ago* autoreconf.sh <run_aclocal>: Use false/: instead of no/yes.
Akim Demaille [Mon, 10 Jul 2000 08:59:11 +0000 (08:59 +0000)] 
* autoreconf.sh <run_aclocal>: Use false/: instead of no/yes.
Formatting and factoring changes.

25 years ago* autoreconf.sh: You too can have a $tmp dir if you wish.
Akim Demaille [Mon, 10 Jul 2000 08:57:16 +0000 (08:57 +0000)] 
* autoreconf.sh: You too can have a $tmp dir if you wish.
(alflags.sed): New sub sed program.
Compute the flags of aclocal from Makefile.am instead of
Makefile.in, it is unlikely that aclocal be used but not automake,
while it is convenient to be able to run autoreconf even if
automake was not run yet.
Use `autoconf --trace' to get the list of configuration headers.

25 years ago* acgeneral.m4 (AC_PLAIN_SCRIPT): New macro.
Akim Demaille [Mon, 10 Jul 2000 08:56:19 +0000 (08:56 +0000)] 
* acgeneral.m4 (AC_PLAIN_SCRIPT): New macro.
* tests/base.m4 (m4_wrap, AC_REQUIRE, AC_SHELL_MKDIR_P): Use it.
* autoconf.sh: Properly handle the case where `$output' is `-'
(i.e., stdout).
Handle `-ofile', not only `-o file'.

25 years ago* autoreconf.sh: Formatting changes.
Akim Demaille [Mon, 10 Jul 2000 08:55:48 +0000 (08:55 +0000)] 
* autoreconf.sh: Formatting changes.
When verbose, display exactly what you do, not just a synopsis.
When using `$verbose' don't use quotes to avoid spurious spaces
for empty arguments.

25 years ago* autoreconf.sh (force): Instead of yes/no, use :/false.
Akim Demaille [Mon, 10 Jul 2000 08:54:41 +0000 (08:54 +0000)] 
* autoreconf.sh (force): Instead of yes/no, use :/false.
Adjust the code.
(automake_deps, automake_force): No longer used.

25 years ago* acgeneral.m4 (AC_DIRNAME): Use an `expr' solution instead of
Akim Demaille [Mon, 10 Jul 2000 08:53:58 +0000 (08:53 +0000)] 
* acgeneral.m4 (AC_DIRNAME): Use an `expr' solution instead of
echo|sed.
From Paul Eggert.
* doc/autoconf.texi (Limitations of Usual Tools): Include the
words from Paul about `|' with expr(1).

25 years ago* aclang.m4: Promote s,,, over s%%%, and `sed prog' over `sed -e
Akim Demaille [Mon, 10 Jul 2000 08:43:55 +0000 (08:43 +0000)] 
* aclang.m4: Promote s,,, over s%%%, and `sed prog' over `sed -e
prog'.
* acgeneral.m4: Likewise.
* acspecific.m4: Likewise.
* doc/autoconf.texi (Limitations of Usual Tools, Coding Style):
Likewise.

25 years ago* autoconf.sh: When using `mktemp -d', be sure that the directory
Akim Demaille [Mon, 10 Jul 2000 08:41:59 +0000 (08:41 +0000)] 
* autoconf.sh: When using `mktemp -d', be sure that the directory
was created.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.

25 years ago* AUTHORS: Update.
Akim Demaille [Mon, 10 Jul 2000 08:40:27 +0000 (08:40 +0000)] 
* AUTHORS: Update.
* doc/autoconf.texi: Free Franc,ois Pinard from iftex and ifinfo,
use @,c.
Don't use `@code{m4}' when you mean M4, just as you shall not say
`@code{cc}' when you refer to the C language.

25 years ago* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Set
Akim Demaille [Mon, 10 Jul 2000 08:38:51 +0000 (08:38 +0000)] 
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Set
ac_gnu_compiler.
(_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): Compute
ac_gnu_compiler.
* acgeneral.m4 (AC_LINKER_OPTION): Adjust.

25 years ago* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Move the code
Akim Demaille [Mon, 10 Jul 2000 08:34:42 +0000 (08:34 +0000)] 
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Move the code
processing the result of AC_PROG_CC_G, AC_PROG_CXX_G, and
AC_PROG_F77_G into them.

25 years ago* doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
Akim Demaille [Mon, 10 Jul 2000 08:33:19 +0000 (08:33 +0000)] 
* doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
Follow the coding style.

25 years ago* doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
Akim Demaille [Mon, 10 Jul 2000 08:31:44 +0000 (08:31 +0000)] 
* doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
`Dependencies Between Macros', but rather a section of `Writing
Macros'.

25 years ago* doc/autoconf.texi (Coding Style): New node.
Akim Demaille [Mon, 10 Jul 2000 08:21:04 +0000 (08:21 +0000)] 
* doc/autoconf.texi (Coding Style): New node.

25 years ago* acgeneral.m4 (AC_SHELL_MKDIR_P): s/ac_dir/ac_mkdir_dir/ to avoid
Akim Demaille [Fri, 7 Jul 2000 17:46:36 +0000 (17:46 +0000)] 
* acgeneral.m4 (AC_SHELL_MKDIR_P): s/ac_dir/ac_mkdir_dir/ to avoid
clashes with the numerous ac_dir loops.
Reported by Lars J. Aas.

25 years ago* acgeneral.m4 (_AC_SHELL_DIRNAME): Return `.', not `' when there
Akim Demaille [Fri, 7 Jul 2000 17:33:16 +0000 (17:33 +0000)] 
* acgeneral.m4 (_AC_SHELL_DIRNAME): Return `.', not `' when there
is no directory part.

25 years ago* tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
Akim Demaille [Fri, 7 Jul 2000 12:56:02 +0000 (12:56 +0000)] 
* tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.

25 years agoAC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
Akim Demaille [Fri, 7 Jul 2000 10:54:01 +0000 (10:54 +0000)] 
AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
in a messy state.  Don't even try to emulate AC_REQUIRE: just
introduce a diversion just for AC_REVISION, and let the magic
happen.
Fixes Autoconf PR/134, from Raja R Harinath.

* acgeneral.m4 (_AC_DIVERT(REVISION)): New diversion.
(AC_REVISION): Don't require AC_INIT, dump in your diversion.
(_AC_INIT): Delete, inline its body in...
(AC_INIT): here.
(_AC_INIT_NOTICE, _AC_INIT_COPYRIGHT): New macros so that...
(AC_INIT): be more uniform.
(AC_INIT, AC_REVISION, AC_COPYRIGHT): `define', don't AC_DEFUN.

25 years ago* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Keep -lm, if a Fortran
Akim Demaille [Fri, 7 Jul 2000 08:49:18 +0000 (08:49 +0000)] 
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Keep -lm, if a Fortran
compiler needs it, it is likely to be required when linking C/C++
with Fortran.
<-YP,*>: Fix the list of arguments to loop on.
Don't mess with the user variable name space.
<ac_ld_run_path>: Prepend LD_RUN_PATH directories with -R only
when running Solaris (without this, link errors occur).

25 years ago* acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
Akim Demaille [Thu, 6 Jul 2000 16:38:31 +0000 (16:38 +0000)] 
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.

25 years ago* aclang.m4: Formatting and quotations changes.
Akim Demaille [Thu, 6 Jul 2000 13:47:04 +0000 (13:47 +0000)] 
* aclang.m4: Formatting and quotations changes.