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

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.