]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
25 years ago* aclang.m4 (AC_LANG_INT_SAVE(C++)): Be a copy of
Akim Demaille [Thu, 6 Jul 2000 13:19:19 +0000 (13:19 +0000)] 
* aclang.m4 (AC_LANG_INT_SAVE(C++)): Be a copy of
AC_LANG_INT_SAVE(C), not AC_LANG_INT_SAVE_TRY(C).
Fixes Autoconf PR/133.

25 years ago* acgeneral.m4 (_AC_INIT_PARSE_ARGS, AC_CHECK_TOOLS): Change
Akim Demaille [Thu, 6 Jul 2000 13:05:47 +0000 (13:05 +0000)] 
* acgeneral.m4 (_AC_INIT_PARSE_ARGS, AC_CHECK_TOOLS): Change
warning message printed when only --host is given. Fix printing
of multiple compiler cache values, use PATH argument.
* aclang.m4 (AC_LANG_COMPILER_WORKS): Print the cross compile
status, fix problem where two results were printed at once.

25 years agoTypos in ChangeLog.
Akim Demaille [Thu, 6 Jul 2000 12:39:42 +0000 (12:39 +0000)] 
Typos in ChangeLog.

25 years ago* acgeneral.m4 (_AC_SHELL_TMPDIR): Typo.
Akim Demaille [Thu, 6 Jul 2000 11:54:28 +0000 (11:54 +0000)] 
* acgeneral.m4 (_AC_SHELL_TMPDIR): Typo.

25 years ago* acgeneral.m4 (_AC_SHELL_DIRNAME): Behave properly when the
Akim Demaille [Thu, 6 Jul 2000 11:25:26 +0000 (11:25 +0000)] 
* acgeneral.m4 (_AC_SHELL_DIRNAME): Behave properly when the
argument is a dir with trailing slashes, and when its depth is
just one (`/tmp').

25 years ago* acgeneral.m4 (_AC_SHELL_DIRNAME): New macro.
Akim Demaille [Thu, 6 Jul 2000 08:57:37 +0000 (08:57 +0000)] 
* acgeneral.m4 (_AC_SHELL_DIRNAME): New macro.
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS):
Use _AC_SHELL_DIRNAME.

25 years ago* aclang.m4 (AC_PROG_F77): Add two compilers,
Akim Demaille [Thu, 6 Jul 2000 08:03:55 +0000 (08:03 +0000)] 
* aclang.m4 (AC_PROG_F77): Add two compilers,
lf95 (Lahey/Fujitsu Fortran) and pgf77 (Portland Group Fortran)
(_AC_PROG_F77_G): Some Fortran compilers produce stdout/stderr
output even if no errors occur - check exit status rather than
output.

25 years ago* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
Akim Demaille [Wed, 5 Jul 2000 16:01:57 +0000 (16:01 +0000)] 
* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
that the directory was created: under Ultrix 4.3 it just returns
a name, but does not create the directory.
Reported by Christian Krackowizer.

25 years ago* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.
Akim Demaille [Tue, 4 Jul 2000 18:20:05 +0000 (18:20 +0000)] 
* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS,
AC_PROG_INSTALL): Use AC_SHELL_MKDIR_P.
* tests/base.m4 (AC_SHELL_MKDIR_P): Test it.

25 years ago* acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
Akim Demaille [Tue, 4 Jul 2000 10:34:21 +0000 (10:34 +0000)] 
* acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
when `.' is not in the PATH.
* doc/install.texi (configure Invocation): Adjust.

25 years ago* acgeneral.m4 (_AC_INIT_PARSE_ARGS) <-C>: Use `./config.cache', not
Akim Demaille [Mon, 3 Jul 2000 10:41:30 +0000 (10:41 +0000)] 
* acgeneral.m4 (_AC_INIT_PARSE_ARGS) <-C>: Use `./config.cache', not
`config.cache'.
* doc/install.texi (configure Invocation): Adjust.

25 years ago(AC_REQUIRE): Tweak a diagnostic.
Jim Meyering [Fri, 30 Jun 2000 13:54:14 +0000 (13:54 +0000)] 
(AC_REQUIRE): Tweak a diagnostic.

25 years ago.
Jim Meyering [Fri, 30 Jun 2000 13:53:48 +0000 (13:53 +0000)] 
.

25 years agoRe-enable the old behavior of --host and --build.
Akim Demaille [Fri, 30 Jun 2000 13:34:37 +0000 (13:34 +0000)] 
Re-enable the old behavior of --host and --build.

* acgeneral.m4 (build_alias): Set to host_alias if --build is not
given but --host is, and enable cross-compile auto-detection.  If
both are, and are different, enable cross compilation.
(AC_CANONICAL_HOST): Adjust help message.
(cross_compiling): Enclose in quotes when testing.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): If cross_compiling is
maybe, set it to yes or no depending on the result of the
execution test.
* doc/autoconf.texi: Document the change.
* doc/install.texi: Likewise.

25 years ago.
Jim Meyering [Tue, 27 Jun 2000 20:21:18 +0000 (20:21 +0000)] 
.

25 years ago(_AC_LIBOBJ_GETLOADAVG): Put quotes around use of
Jim Meyering [Tue, 27 Jun 2000 20:21:04 +0000 (20:21 +0000)] 
(_AC_LIBOBJ_GETLOADAVG): Put quotes around use of
`$ac_cv_lib_elf_elf_begin', since that variable may not be defined.
From Volker Borchert.

25 years ago* doc/autoconf.texi: Fix various typos.
Akim Demaille [Tue, 27 Jun 2000 10:31:05 +0000 (10:31 +0000)] 
* doc/autoconf.texi: Fix various typos.
(Limitations of Usual Tools) <sed>: Anchors and groups.
(Language Choice): Don't mention cross_compiling here, do it...
(Specifying Names) <--host>: here.
(Obsoleting Macros): Don't document AC_DEFUNCT, it's going to be
removed anyway, obsoleted itself by AU_DEFUN.

25 years ago* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
Akim Demaille [Mon, 26 Jun 2000 10:57:46 +0000 (10:57 +0000)] 
* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
Reported by Alexandre Oliva.

25 years ago* autoreconf.sh (automake, aclocal): New variables. Import
Akim Demaille [Mon, 26 Jun 2000 10:51:17 +0000 (10:51 +0000)] 
* autoreconf.sh (automake, aclocal): New variables.  Import
$AUTOMAKE and $ACLOCAL.
Pass --verbose to the tools.
Avoid using plenty of variables, just append to existing
variables.
* doc/autoconf.texi: List options in the order --help, --version,
--verbose, --debug, and then specific options.

25 years ago* doc/autoconf.texi: Various Texinfo adjustments.
Akim Demaille [Mon, 26 Jun 2000 10:34:24 +0000 (10:34 +0000)] 
* doc/autoconf.texi: Various Texinfo adjustments.
(Specifying Names): When describing the system triplets, use the
same names as the shell variables.
(System Type Variables): Delete, merge its content into...
(Canonicalizing): here.
Clarify the difference between the `foo_target' and `foo'
variables.

25 years ago* acgeneral.m4 (_AC_INIT_PARSE_ARGS, _AC_OUTPUT_CONFIG_STATUS):
Akim Demaille [Mon, 26 Jun 2000 10:21:29 +0000 (10:21 +0000)] 
* acgeneral.m4 (_AC_INIT_PARSE_ARGS, _AC_OUTPUT_CONFIG_STATUS):
s/echo | sed/expr/.

25 years ago* acgeneral.m4 (AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
Akim Demaille [Mon, 26 Jun 2000 10:20:36 +0000 (10:20 +0000)] 
* acgeneral.m4 (AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
AC_CONFIG_COMMANDS, AC_CONFIG_FILES): Use a shell variable instead
of an m4 variable to store what must be done, so that sh
conditionals are honored.
(_AC_OUTPUT_LINKS, _AC_OUTPUT_HEADERS,
_AC_OUTPUT_COMMANDS, _AC_OUTPUT_FILES): Adjust.
* tests/semantics.m4: Test the four AC_CONFIG sisters.
* doc/autoconf.texi (Configuration Actions): Promote the use of
literals, show it works properly with sh conditionals.

25 years ago* acgeneral.m4 (AC_CACHE_VAL): Too many people put AC_DEFINE in
Akim Demaille [Mon, 26 Jun 2000 09:08:13 +0000 (09:08 +0000)] 
* acgeneral.m4 (AC_CACHE_VAL): Too many people put AC_DEFINE in
the commands-to-set-it part of it.  Give them a warning.

25 years ago* doc/autoconf.texi (Prerequisite Macros): More about AC_REQUIRE.
Akim Demaille [Mon, 26 Jun 2000 09:07:36 +0000 (09:07 +0000)] 
* doc/autoconf.texi (Prerequisite Macros): More about AC_REQUIRE.

25 years agoGiven better names to the diversions.
Akim Demaille [Mon, 26 Jun 2000 09:06:50 +0000 (09:06 +0000)] 
Given better names to the diversions.

* acgeneral.m4 (_AC_DIVERT(NORMAL_2), _AC_DIVERT(NORMAL_3),
_AC_DIVERT(NORMAL_4)): Delete, unused.
(_AC_DIVERT(NORMAL_1), _AC_DIVERT(NORMAL), AC_DIVERT_DIVERSION):
Rename as _AC_DIVERT(PREPARE), _AC_DIVERT(BODY),
_AC_DIVERT_DIVERSION.

25 years agoThe current implementation of AC_REQUIRE fails on
Akim Demaille [Mon, 26 Jun 2000 09:06:02 +0000 (09:06 +0000)] 
The current implementation of AC_REQUIRE fails on

| AC_DEFUN([TEST1],  [REQUIRE([TEST2a])REQUIRE([TEST2b])])
| AC_DEFUN([TEST2a], [])
| AC_DEFUN([TEST2b], [REQUIRE([TEST3])])
| AC_DEFUN([TEST3],  [REQUIRE([TEST2a])])
|
| AC_INIT
| TEST1

because it produces TEST3; TEST2a; TEST2b; TEST1.
Fix this bug, implement the solution provided by Axel Thimm,
and test AC_REQUIRE.

* acgeneral.m4: Document this implementation.
(_AC_DEFUN_PRO, _AC_DEFUN_EPI, AC_REQUIRE): Be sure that macros
are emitted in the same order as they are expanded.
(AC_REQUIRE): Forbid being calling out of an AC_DEFUN'd macro (in
particular the top level).
* tests/base.m4 (AC_REQUIRE): New test.

25 years agoA macro which is not defined with AC_DEFUN should not be
Akim Demaille [Mon, 26 Jun 2000 09:04:40 +0000 (09:04 +0000)] 
A macro which is not defined with AC_DEFUN should not be
AC_REQUIRE'd, since it doesn't AC_PROVIDE itself.

* acgeneral.m4 (AC_REQUIRE): Issue a warning when after expansion,
the macro is not AC_PROVIDE'd.

25 years agoVarious cleanups.
Akim Demaille [Mon, 26 Jun 2000 09:03:15 +0000 (09:03 +0000)] 
Various cleanups.

* acgeneral.m4 (AC_PRO, AC_EPI): Rename as _AC_DEFUN_PRO and
_AC_DEFUN_EPI.
Adjust dependencies.
(AC_DEFUN): Remove the not-to-be-released specializing mechanism.
(AC_SPECIALIZE): Remove for the same reasons.
Adjust dependencies.
(_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS, _AC_INIT_VERSION,
_AC_INIT_PREPARE, _AC_CANONICAL_SPLIT, _AC_CHECK_TYPE_NEW,
_AC_CHECK_TYPE_OLD): Define via `define' instead of `AC_DEFUN':
they are not related to AC_REQUIRE in any way.
* acspecific.m4 (AC_PROG_ECHO, _AC_DECL_YYTEXT, _AC_PATH_X_XMKMF,
_AC_PATH_X_DIRECT): Define via `define' instead of `AC_DEFUN'.

25 years ago* acgeneral.m4 (AC_CHECK_TOOL): Use two variables in order to
Akim Demaille [Mon, 19 Jun 2000 10:18:31 +0000 (10:18 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOL): Use two variables in order to
avoid cache variable conflicts between AC_CHECK_PROG invocations.
(AC_PATH_TOOL): Fix same bugs as in 6/9/00 fixes to AC_CHECK_TOOL.
Pass correct arguments to AC_CHECK_PATH (different from
AC_CHECK_PROG).  Use AC_CHECK_PATH cache variable, not
AC_CHECK_PROG var, and use two variables for two invocations as
above.  Quote AC_CHECK_* args.

25 years agoThe test suite reveals AC_OUTPUT_MAKE_DEFS fails on RISC/OS.
Akim Demaille [Fri, 16 Jun 2000 17:40:44 +0000 (17:40 +0000)] 
The test suite reveals AC_OUTPUT_MAKE_DEFS fails on RISC/OS.

* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: Reset the
t flag between each cycle.
* doc/autoconf.texi (Limitations of Usual Tools): Some about the t
flag in sed.

25 years ago* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Don't obsolete them, let
Akim Demaille [Fri, 16 Jun 2000 15:49:39 +0000 (15:49 +0000)] 
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Don't obsolete them, let
them be empty, so that Automake still provide support for $(EXEEXT).

25 years ago* autoconf.sh (option handling): Give a more understandable
Akim Demaille [Thu, 15 Jun 2000 11:33:04 +0000 (11:33 +0000)] 
* autoconf.sh (option handling): Give a more understandable
message when an option is missing its argument.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.

25 years ago`./config.status -d' is buggy.
Akim Demaille [Tue, 13 Jun 2000 14:56:23 +0000 (14:56 +0000)] 
`./config.status -d' is buggy.

* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
--debug.
* doc/autoconf.texi (Limitations of Builtins): Some about shift.

25 years agoTypos in ChangeLog.
Akim Demaille [Tue, 13 Jun 2000 10:33:49 +0000 (10:33 +0000)] 
Typos in ChangeLog.

25 years agoTypos in ChangeLog.
Akim Demaille [Tue, 13 Jun 2000 09:42:49 +0000 (09:42 +0000)] 
Typos in ChangeLog.

25 years ago* doc/autoconf.texi (Caching Results): Bigger warning about the
Akim Demaille [Tue, 13 Jun 2000 09:31:55 +0000 (09:31 +0000)] 
* doc/autoconf.texi (Caching Results): Bigger warning about the
extremely frequent action-in-commands bug.
Move the documentation of AC_CACHE_SAVE and AC_CACHE_LOAD...
(Cache Files): in here.

25 years ago* acgeneral.m4 (AC_CHECK_TOOL): Even if VALUE-IF-NOT-FOUND is not
Akim Demaille [Fri, 9 Jun 2000 13:48:33 +0000 (13:48 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOL): Even if VALUE-IF-NOT-FOUND is not
specified, we should still check whether PROG-TO-CHECK-FOR
actually works before returning it when the prefixed program is
not found. Also, fixed a bug where it failed to pass the PATH
argument in the second call to AC_CHECK_PROG.

25 years ago* acgeneral.m4 (AC_CHECK_TOOLS): Rewrite.
Akim Demaille [Fri, 9 Jun 2000 13:20:32 +0000 (13:20 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOLS): Rewrite.

25 years ago* doc/autoconf.texi: Use `@option' for options, not `@samp' nor
Akim Demaille [Fri, 9 Jun 2000 11:37:15 +0000 (11:37 +0000)] 
* doc/autoconf.texi: Use `@option' for options, not `@samp' nor
`@code'.
* doc/install.texi: Likewise.

25 years ago* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
Akim Demaille [Fri, 9 Jun 2000 11:14:05 +0000 (11:14 +0000)] 
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
(AC_F77_NAME_MANGLING): Removed useless comment.
(_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
processed by Abysoft's Fortran compiler.

25 years ago* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
Akim Demaille [Fri, 9 Jun 2000 10:57:16 +0000 (10:57 +0000)] 
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
compiler output to stdout was not caught and interpreted.

25 years ago`autoconf --trace' dies on filenames with `:'.
Akim Demaille [Fri, 9 Jun 2000 10:02:19 +0000 (10:02 +0000)] 
`autoconf --trace' dies on filenames with `:'.
Reported by Mark Elbrecht.

* autoconf.sh <trace> (trace2m4.sed): Use `..*' instead of
`[^:][^:]*' to catch file names.  The rest of regex is probably
precise enough to avoid incorrect parsing.

25 years agoFormatting changes.
Akim Demaille [Fri, 9 Jun 2000 10:00:36 +0000 (10:00 +0000)] 
Formatting changes.

25 years ago* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Always initialize
Akim Demaille [Fri, 9 Jun 2000 08:22:37 +0000 (08:22 +0000)] 
* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Always initialize
$3 to no

25 years agoImport AC_SYS_LARGEFILE from largefile.m4 serial 12.
Akim Demaille [Thu, 8 Jun 2000 12:07:14 +0000 (12:07 +0000)] 
Import AC_SYS_LARGEFILE from largefile.m4 serial 12.

* acspecific.m4 (AC_SYS_LARGEFILE, _AC_SYS_LARGEFILE_MACRO_VALUE,
_AC_SYS_LARGEFILE_SOURCE): New.
* doc/autoconf.texi (System Services): Document AC_SYS_LARGEFILE.

25 years ago* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
Akim Demaille [Thu, 8 Jun 2000 08:23:30 +0000 (08:23 +0000)] 
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
specified by the user.
Fix a bug: use the cached value to set FLIBS.

25 years ago* aclang.m4 (AC_PROG_F77): Check for f95 and fc too.
Akim Demaille [Wed, 7 Jun 2000 13:25:54 +0000 (13:25 +0000)] 
* aclang.m4 (AC_PROG_F77): Check for f95 and fc too.

25 years ago`foo=1 foo=2 cmd' has an undefined behavior.
Akim Demaille [Wed, 7 Jun 2000 11:57:11 +0000 (11:57 +0000)] 
`foo=1 foo=2 cmd' has an undefined behavior.

* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Do not put two shell
variable assignments in one shell command.
* doc/autoconf.texi (Shell Substitutions): Document.

25 years agoMore about test -e.
Akim Demaille [Wed, 7 Jun 2000 10:39:37 +0000 (10:39 +0000)] 
More about test -e.

25 years ago* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
Akim Demaille [Wed, 7 Jun 2000 07:16:15 +0000 (07:16 +0000)] 
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
confusion from the link command getting echoed in quotes.  In the
future, a more general fix for quoted arguments with spaces might
be better.

25 years ago* doc/autoconf.texi (Limitations of Builtins): More on `test' and
Akim Demaille [Wed, 7 Jun 2000 07:07:39 +0000 (07:07 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): More on `test' and
`case'.
Some on `if' and `break'.

25 years ago* acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
Akim Demaille [Wed, 7 Jun 2000 07:07:01 +0000 (07:07 +0000)] 
* acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
when trying to use `XtMalloc' to actually have a chance of
succeeding.

25 years agoHard (code) X.
Akim Demaille [Wed, 7 Jun 2000 07:02:26 +0000 (07:02 +0000)] 
Hard (code) X.

* acspecific.m4 (_AC_PATH_X_DIRECT): Hard code `X11/Intrinsic.h'
instead of using `ac_x_direct_test_include', likewise for `Xt' and
`ac_x_direct_test_lib', `XtMalloc' and
`ac_x_direct_test_function'.

25 years ago* acspecific.m4 (AC_PATH_X): Use AC_DIVERT.
Akim Demaille [Wed, 7 Jun 2000 07:00:07 +0000 (07:00 +0000)] 
* acspecific.m4 (AC_PATH_X): Use AC_DIVERT.
Use `no', not `NO' for ac_x_includes and ac_x_libraries.
Adjust dependencies.
(_AC_PATH_X_DIRECT): Introduce ac_x_header_dirs to factor the list
of places where headers and libs might be.
(AC_PATH_XTRA): Don't quote the argument of `case'.

25 years ago* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Put the expansion of
Akim Demaille [Wed, 7 Jun 2000 06:57:51 +0000 (06:57 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Put the expansion of
AC_LIST_LINKS in an unquoted `here'-document.

25 years ago* tests/aclocal.m4 (AC_ENV_SAVE): Skip `no_x'.
Akim Demaille [Tue, 6 Jun 2000 17:00:46 +0000 (17:00 +0000)] 
* tests/aclocal.m4 (AC_ENV_SAVE): Skip `no_x'.
From Mark Elbrecht.

25 years ago* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Move the setting
Akim Demaille [Mon, 5 Jun 2000 16:05:49 +0000 (16:05 +0000)] 
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Move the setting
of ac_tool_prefix before the call to AC_DIVERT_POP.

25 years agoTODO: less pressure on 2.50.
Akim Demaille [Mon, 5 Jun 2000 13:30:07 +0000 (13:30 +0000)] 
TODO: less pressure on 2.50.

25 years agoTODO: less pressure on 2.50.
Akim Demaille [Mon, 5 Jun 2000 12:45:53 +0000 (12:45 +0000)] 
TODO: less pressure on 2.50.

25 years ago* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): AU define it.
Akim Demaille [Mon, 5 Jun 2000 10:04:15 +0000 (10:04 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): AU define it.
Suggested by Mo DeJong.

25 years ago* aclang.m4 (AC_C_CHAR_UNSIGNED): Use the new compiler-test
Akim Demaille [Mon, 5 Jun 2000 10:00:41 +0000 (10:00 +0000)] 
* aclang.m4 (AC_C_CHAR_UNSIGNED): Use the new compiler-test
technology so that we can do the test via compilations only.  Also
use (char) -1 instead of (char) 255 to check if char is unsigned.

25 years agoUpdate TODO.
Akim Demaille [Mon, 5 Jun 2000 09:54:00 +0000 (09:54 +0000)] 
Update TODO.

25 years agofix typo
Jim Meyering [Fri, 2 Jun 2000 12:41:18 +0000 (12:41 +0000)] 
fix typo

25 years ago(AC_FUNC_STRERROR_R): Call strerror_r with 2nd arg
Jim Meyering [Sun, 28 May 2000 16:27:56 +0000 (16:27 +0000)] 
(AC_FUNC_STRERROR_R): Call strerror_r with 2nd arg
of type char*, not int.  Suggestion from Paul Eggert.

25 years ago.
Jim Meyering [Sun, 28 May 2000 16:21:08 +0000 (16:21 +0000)] 
.

25 years ago.
Jim Meyering [Sun, 28 May 2000 16:18:49 +0000 (16:18 +0000)] 
.

25 years ago(Particular Functions): Give better description of
Jim Meyering [Sun, 28 May 2000 16:18:40 +0000 (16:18 +0000)] 
(Particular Functions): Give better description of
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.  From Paul Eggert.

25 years ago* doc/autoconf.texi (Limitations of Usual Tools): Document `ln -s'
Akim Demaille [Fri, 26 May 2000 18:16:46 +0000 (18:16 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Document `ln -s'
on DJGPP, based on the comments from Mark Elbrecht.

25 years ago* autoreconf.sh (autoconf, autoheader): Be more conscientious when
Akim Demaille [Fri, 26 May 2000 18:09:43 +0000 (18:09 +0000)] 
* autoreconf.sh (autoconf, autoheader): Be more conscientious when
looking for the executable.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Suggested by Alexandre Oliva.

25 years agoThanks to --program-transform-name, `autoconf' might be install as
Akim Demaille [Fri, 26 May 2000 17:45:10 +0000 (17:45 +0000)] 
Thanks to --program-transform-name, `autoconf' might be install as
`yo-man-i-am-the-all-mighty-AVt0c0nF-eh-eh'.  But when
`yo-man-i-am-the-all-mighty-AVt0h3Ad3R-eh-eh' and the other tools
want to trace, they might stupidly invoke the program named
`autoconf' instead.  Pfff, stupid scripts :)

* Makefile.am (editsh): Transfer the names of the install
`autoconf' and `autoheader'.
* autoconf.sh: Add a missing period at the end of the comment
# Parse command line
Make sure to have a ChangeLog much longer than the patch.
* autoheader.sh: Use the right `autoconf'.
* autoupdate.sh: Likewise.
* autoreconf.sh: Likewise, and for `autoheader' too.
Simplify the handling of localdir and AC_MACRODIR.
* ifnames.sh: Formatting changes.

25 years agoDon't use f2c as a possible Fortran compiler, since by itself it
Akim Demaille [Fri, 26 May 2000 17:30:07 +0000 (17:30 +0000)] 
Don't use f2c as a possible Fortran compiler, since by itself it
cannot produce object code.

* aclang.m4 (AC_PROG_F77): Remove f2c from the search list.
* doc/autoconf.texi: Excise mentions of f2c in AC_PROG_F77 docs.

25 years agoCurrently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
Akim Demaille [Fri, 26 May 2000 17:27:24 +0000 (17:27 +0000)] 
Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
is because the DJGPP `ln' emulates soft links for executables by
generating a stub that in turn calls the real program.  This
feature also works with nonexistent files like in the Unix
spec. So `ln -s X conftestdata' will generate `conftestdata.exe'
which will attempt to call 'X.exe'. But this feature only works
for executables.  Fix it.

* acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to
test `ln -s'.

25 years agoFix the archive: some parts of the following patches were missing:
Akim Demaille [Fri, 26 May 2000 17:12:01 +0000 (17:12 +0000)] 
Fix the archive: some parts of the following patches were missing:
- CC < aCC
- unquote the argument of case
- AC_FUNC_STRERROR_R
- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
- typos in autoconf.texi

25 years ago* aclang.m4 (AC_PROG_CXX): Look for aCC before CC.
Akim Demaille [Fri, 26 May 2000 16:01:46 +0000 (16:01 +0000)] 
* aclang.m4 (AC_PROG_CXX): Look for aCC before CC.

25 years ago* acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
Akim Demaille [Fri, 26 May 2000 15:59:19 +0000 (15:59 +0000)] 
* acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
serial 2, by Jim Meyering.
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): New, from
`lstat-slash.m4', serial 1, by Jim Meyering.
* acfunctions: Adjust.

25 years ago* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
Akim Demaille [Fri, 26 May 2000 15:50:04 +0000 (15:50 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
AC_CHECK_TOOL_PREFIX, it's dead.

25 years ago* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
Akim Demaille [Fri, 26 May 2000 15:04:33 +0000 (15:04 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOLS): Don't require
AC_CHECK_TOOL_PREFIX, it's dead.

25 years ago* acgeneral.m4: Simplify all the
Akim Demaille [Fri, 26 May 2000 15:02:42 +0000 (15:02 +0000)] 
* acgeneral.m4: Simplify all the
case "$switch" in
into
case $switch in
* acspecific.m4: Likewise.
* aclang.m4: Likewise.

25 years agoTypos in documentation.
Akim Demaille [Fri, 26 May 2000 14:55:42 +0000 (14:55 +0000)] 
Typos in documentation.

25 years ago* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Remove.
Akim Demaille [Fri, 26 May 2000 14:41:17 +0000 (14:41 +0000)] 
* acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Remove.
Adjust dependencies.
(_AC_INIT_PARSE_ARGS): Set ac_tool_prefix.

25 years agoIn `info', it is easier to type `autoconf <TAB>' to reach the list
Akim Demaille [Fri, 26 May 2000 14:38:15 +0000 (14:38 +0000)] 
In `info', it is easier to type `autoconf <TAB>' to reach the list
of options, that `Invoking autoc<TAB>'.

* doc/autoconf.texi: s/Invoking foo/foo Invocation/.

25 years agoMerge `Upgrading' and `Obsolete Constructs' together.
Akim Demaille [Fri, 26 May 2000 14:34:21 +0000 (14:34 +0000)] 
Merge `Upgrading' and `Obsolete Constructs' together.

* doc/autoconf.texi (Obsolete Constructs): Move right after
`Recreation a Configuration.
(Invoking autoupdate): Be a subsection of
`Obsolete Constructs'.
(Upgrading): Demote from chapter to section.
Be a section of `Obsolete Constructs'.
Rename as `Autoconf 1'.

25 years agoFind a means to extract integers from the compiler.
Akim Demaille [Fri, 26 May 2000 11:33:54 +0000 (11:33 +0000)] 
Find a means to extract integers from the compiler.
Use this technology to compute `sizeof' even when cross-compiling.
Ideas and initial suggestion by Kaveh Ghazi.
Binary search by Bruno Haible.

* aclang.m4 (AC_LANG_BOOL_COMPILE_TRY,
AC_LANG_BOOL_COMPILE_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C++),
AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C), AC_LANG_INT_SAVE(C++)): New
macros.
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE, _AC_COMPUTE_INT_RUN,
_AC_COMPUTE_INT): New.
(AC_CHECK_SIZEOF): Use them.
Check whether the type exists beforehand.
* tests/semantics.m4 (AC_CHECK_SIZEOF): Strengthen.

25 years ago* aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
Akim Demaille [Fri, 26 May 2000 09:42:13 +0000 (09:42 +0000)] 
* aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
s/c++ g++/g++ c++/.
* doc/autoconf.texi (Compilers and Preprocessors): Adjust.

25 years agoNo library nor special privilege is needed to run `getloadavg'
Akim Demaille [Fri, 26 May 2000 08:37:38 +0000 (08:37 +0000)] 
No library nor special privilege is needed to run `getloadavg'
under FreeBSD.
Reported by Alec Wolman.

* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for `getloadavg'
without any additional library.
Fixes Autoconf/109.

25 years ago* doc/autoconf.texi (Limitations of Usual Tools, Limitations of
Akim Demaille [Fri, 26 May 2000 08:32:45 +0000 (08:32 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools, Limitations of
Builtins): Integrate comments from Paul Eggert and Jim Meyering.
Add the sed limitation discovered by Philippe De Muyter.
Typo from Pavel Roskin.

25 years agoThe test suite needs GNU m4.
Akim Demaille [Thu, 25 May 2000 16:37:12 +0000 (16:37 +0000)] 
The test suite needs GNU m4.
Reported by Bob Friesenhahn.

* tests/atconfig.in (M4): Set it.
* tests/base.m4: Use it.

25 years agoUpdate `missing'.
Akim Demaille [Thu, 25 May 2000 16:31:12 +0000 (16:31 +0000)] 
Update `missing'.

25 years agoRegenerate configure.
Akim Demaille [Thu, 25 May 2000 10:16:22 +0000 (10:16 +0000)] 
Regenerate configure.

25 years ago* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character
Akim Demaille [Thu, 25 May 2000 07:49:39 +0000 (07:49 +0000)] 
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character
classes with `case'.  Use `expr' instead.
Suggested by Paul Eggert.
* doc/autoconf.texi (Limitations of Builtins): Explain expr, the
`x' trick, and negated character classes.

25 years agoFix the ChangeLog.
Akim Demaille [Wed, 24 May 2000 16:47:51 +0000 (16:47 +0000)] 
Fix the ChangeLog.

25 years ago* aclang.m4 (AC_LANG(C++)): Change `ac_ext' from from `C' to `cc'
Akim Demaille [Wed, 24 May 2000 15:50:19 +0000 (15:50 +0000)] 
* aclang.m4 (AC_LANG(C++)): Change `ac_ext' from from `C' to `cc'
to avoid potential ambiguities on case-insensitive shells.

25 years agoFix ChangeLog.
Akim Demaille [Wed, 24 May 2000 15:46:45 +0000 (15:46 +0000)] 
Fix ChangeLog.

25 years agoHave --host=sun4 automatically look for CC=sun4-cc etc.
Akim Demaille [Wed, 24 May 2000 15:46:12 +0000 (15:46 +0000)] 
Have --host=sun4 automatically look for CC=sun4-cc etc.

* acgeneral.m4 (AC_CHECK_TOOLS): New.
* aclang.m4 (AC_PROG_CXX, AC_PROG_CC, AC_PROG_F77): Use new
AC_CHECK_TOOLS macro instead of AC_CHECK_PROGS so that a cross
compiler is found by default with --host.
* doc/autoconf.texi (Generic Programs, Manual Configuration):
Describe new AC_CHECK_TOOLS macro. Fix unclear working about
AC_CHECK_PROGS.
* tests/Makefile.am (FILTER_MACROS): Adjust.

25 years agoThe night of the living dead...
Akim Demaille [Wed, 24 May 2000 14:39:24 +0000 (14:39 +0000)] 
The night of the living dead...

* acspecific.m4 (AC_XENIX_DIR, AC_DYNIX_SEQ, AC_IRIX_SUN,
AC_SCO_INTL): Wake up a few zombies.
* doc/autoconf.texi: Adjust.
* tests/aclocal.m4 (AC_ENV_SAVE): Likewise.

25 years ago* acgeneral.m4 (AC_LANG_FUNC_LINK_TRY, AC_LANG_FUNC_LINK_TRY(C),
Akim Demaille [Wed, 24 May 2000 14:22:39 +0000 (14:22 +0000)] 
* acgeneral.m4 (AC_LANG_FUNC_LINK_TRY, AC_LANG_FUNC_LINK_TRY(C),
AC_LANG_FUNC_LINK_TRY(C++)): New macros.
(AC_CHECK_FUNC): Use it, together with AC_LINK_ELSE.

25 years ago* acspecific.m4 (AC_FUNC_VFORK): Quote properly.
Akim Demaille [Wed, 24 May 2000 13:14:13 +0000 (13:14 +0000)] 
* acspecific.m4 (AC_FUNC_VFORK): Quote properly.
(AC_FUNC_STRFTIME, AC_FUNC_VFORK, AC_FUNC_VPRINTF): Don't use
AC_DEFINE, just use the AC_CHECK_*S macro.

25 years ago* acgeneral.m4 (_AC_WHICH_A): Replace it with...
Akim Demaille [Wed, 24 May 2000 13:07:38 +0000 (13:07 +0000)] 
* acgeneral.m4 (_AC_WHICH_A): Replace it with...
(AC_SHELL_PATH_WALK): this.
(AC_CHECK_PROG, AC_PATH_PROG): Use it.

25 years ago* doc/autoconf.texi (Limitations of Builtins): Document `unset'.
Akim Demaille [Wed, 24 May 2000 13:00:34 +0000 (13:00 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): Document `unset'.
(Special Shell Variables): Adjust.
(Shellology): New section.  Introduce bash and zsh.
(Special Shell Variables): Some data on NULLCMD.
(Quotation Thumb Rule): Rename as
(Quotation Rule of Thumb): this.
* acgeneral.m4 (AC_SHELL_UNSET): Remove.
(AC_SHELL_UNSETENV): Rename as...
(AC_SHELL_UNSET): this.
(_AC_INIT_PREPARE_ENVIRONMENT): Prepare bash and zsh.
Adjust to AC_SHELL_UNSET.

25 years agoThe options --build etc. used to set `$build'. *If*
Akim Demaille [Wed, 24 May 2000 12:18:35 +0000 (12:18 +0000)] 
The options --build etc. used to set `$build'.  *If*
AC_CANONICAL_SYSTEM was run, then the value of `$build' given by
the user was saved into `$build_alias', and `$build' was
normalized using `config.sub'.

Now, let `--build' set `$build_alias' so that scripts with or
without `AC_CANONICAL_BUILD' have the same semantics.  This allows
to use `AC_CHECK_TOOL' without requiring `config.guess' and
`config.sub' (which was bizarre anyway).

* acgeneral.m4 (_AC_INIT_PARSE_ARGS): --build, --host and --target
set `build_alias' etc.
After the option handling, set host to $host_alias etc. for
bugward compatibility.
(AC_CANONICALIZE): Mutate into...
(_AC_CANONICAL_SPLIT): this, which does not canonicalize, it just
computes `$foo_os' etc.
(_AC_CANONICAL_THING): Remove, too confusing.
(AC_CANONICAL_BUILD): Adjust.
Do not assign any value to `build_alias', just compute `build', and
`build_{cpy, vendor, os}'.
(AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
(AC_CHECK_TOOL_PREFIX): Fire your rule when `$host_alias' is
given, not when `$host != $build'.

* acgeneral.m4 (sinclude): Fix typo.