Akim Demaille
cbd2228627
* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
...
Change name of cache variable to ac_cv_func_malloc_0_nonnull.
(AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
(_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
to ac_cv_func_realloc_0_nonnull.
(AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
2002-10-31 17:33:26 +00:00
Akim Demaille
e657196560
The test suite was no longer checking for trailing envvars and files.
...
* tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
(AT_CHECK_ENV): Make sure the `state-ls.before file exists.
2002-10-31 13:57:37 +00:00
Akim Demaille
1fe8a44d1f
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
...
`$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
Make variable, not a shell variable.
Suggested by Bruno Haible.
2002-10-31 13:15:03 +00:00
Akim Demaille
fad4a1fa3c
* bin/autom4te.in (load_configuration): Reject #args out of any
...
language.
2002-10-31 08:37:20 +00:00
Akim Demaille
c4e69deefd
* lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
...
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Use it.
* lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
(_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
inline it.
2002-10-31 08:27:15 +00:00
Akim Demaille
8429b06424
* bin/autom4te.in (&parse_args, $help): Support --no-cache.
...
* doc/autoconf.texi (autom4te Invocation): Adjust.
Suggested by Tim van Holder.
2002-10-30 09:00:23 +00:00
Paul Eggert
2c5a6c838f
* doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
...
AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
Problem reported by Bruno Haible.
2002-10-29 20:23:09 +00:00
Akim Demaille
7b5d569111
* doc/autoconf.texi (Header Templates): Put also in words what the
...
pictures says to assist free style readers.
(Customizing autom4te): s/--cache=/--cache /.
2002-10-29 13:07:18 +00:00
Akim Demaille
fee20e50c9
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
...
sys/wait.h.
sparc_address_test returns void.
Use it with an argument, as prototyped.
From Bruno Haible.
2002-10-29 12:52:36 +00:00
Akim Demaille
843be1cfae
* doc/autoconf.texi (Subdirectories): Cygnus dirs have
...
configure.in, not configure.ac.
Reported by Bruno Haible.
2002-10-29 12:41:16 +00:00
Akim Demaille
e69ce16623
* tests/torture.at (Deep Package): New test.
...
(Configuring subdirectories): Don't use a testSubDir as Autotest
now does it itself.
2002-10-29 08:09:40 +00:00
Akim Demaille
e17454b662
* bin/autoreconf.in (&parse_args, $help): Support --warnings.
...
* doc/autoconf.texi (Invoking autom4te): Rename as...
(autom4te Invocation): this, for consistency with the other nodes.
2002-10-29 08:09:05 +00:00
Akim Demaille
5082c93acf
* lib/autom4te.in (Autoconf): s/automate/autom4te/.
...
Reported by Ralf Corsepius.
2002-10-29 08:07:29 +00:00
Akim Demaille
f77ff8f591
* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
...
characters is a back as an `obsolete' warning now.
Reported by Ralf Corsepius.
2002-10-29 08:06:36 +00:00
Akim Demaille
12da19c97b
* configure.ac: Bumpto 2.54c.
2002-10-28 10:52:05 +00:00
Akim Demaille
85b3b2acdd
Version 2.54b.
...
* tests/foreign.at (Libtool): Adjust to broken libtoolize.
2002-10-28 08:57:40 +00:00
Akim Demaille
20fc2abed5
Version 2.54b.
2002-10-28 07:30:59 +00:00
Akim Demaille
701557402c
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
...
m4 executable names, and different GNU M4 version.
Reported by Ezra Peisach and Paul Jarc.
2002-10-28 07:15:05 +00:00
Akim Demaille
5c5c6ff00b
* lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
...
AC_RUN_IFELSE.
2002-10-27 18:30:39 +00:00
Akim Demaille
1b597ea9b3
* doc/autoconf.texi: More AC_MSG_FAILURE promotion.
...
* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
Die when a simple Fortran program cannot be compiled.
* lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
Issue a warning if no function is given.
2002-10-27 18:24:51 +00:00
Akim Demaille
0357fc513f
* doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
...
Move the documentation of AC_TRY_RUN to...
(Obsolete Macros): here.
Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
(autoconf Invocation): Remove the duplicates with `invoking
autom4te'.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2002-10-27 18:23:14 +00:00
Akim Demaille
459078b633
* doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
...
and AC_LANG_FUNC_LINK_TRY.
(Examining Libraries): Rename as...
(Running the Linker): this.
Document AC_LINK_IFELSE.
Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
(Obsolete Macros): here.
* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
AC_TRY_LINK_FUNC nor AC_TRY_LINK.
* lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
* lib/autoconf/headers.m4 (AC_USG): Likewise.
2002-10-27 18:21:31 +00:00
Akim Demaille
b2504ea98a
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
...
More `check config.log' messages.
* lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
* doc/autoconf.texi (Printing Messages): Document it.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
appropriate.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
(_AC_COMPILER_OBJEXT): Likewise.
* lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
* lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
Likewise.
* lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
Likewise.
Deprecate macros with unsual interface.
* lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
(AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
Document the new ones, and proper style.
* doc/autoconf.texi (Generating Sources): New.
Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
(Examining Declarations): Rename as...
(Running the Preprocessor): this.
Document AC_PREPROC_IFELSE.
(Examining Syntax): Rename as...
(Running the Compiler): this.
(AC_FOO_IFELSE vs AC_TRY_FOO): New section.
(Obsolete Macros): Move the definition of AC_TRY_CPP and
AC_TRY_COMPILE here.
2002-10-27 18:19:38 +00:00
Akim Demaille
001b84ce56
Move sections around.
...
* doc/autoconf.texi (Customizing autom4te): Remove a lost
sentence.
Reported by Burno Haible.
(Language Choice): Now the first section of...
(Writing Tests): this section.
Make the introduction less C-centric.
(Guidelines, Test Functions): Move to...
(Writing Test Programs): this new section.
(Test Programs): Merge into...
(Run Time): this.
2002-10-27 18:17:28 +00:00
Akim Demaille
017a1dc5e5
* lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
...
autom4te.in that resulted in the need for two `make' runs.
2002-10-27 18:16:06 +00:00
Akim Demaille
c54fb7e2e7
* configure.ac: Bump to 2.54b.
2002-10-27 18:14:58 +00:00
Akim Demaille
47dcd42876
* lib/autoscan/Makefile.am (autoscan.list): Disable the cache.
...
* bin/Makefile.am: Include freeze.mk.
2002-10-25 15:12:59 +00:00
Akim Demaille
277d32d307
* lib/autoscan/Makefile.am (CLEANFILES): Add autoscan.list.
2002-10-25 14:30:51 +00:00
Akim Demaille
38c162b207
* lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA): autoscan.pre is not to be installed, and autoscan.list is not to be shipped.
2002-10-25 13:19:25 +00:00
Akim Demaille
12e8751edd
* lib/autoscan/Makefile.am: autoscan.list is in srcdir.
2002-10-25 13:04:42 +00:00
Akim Demaille
9fcb17a71c
Version 2.54a.
...
* Makefile.maint: Update from the Coreutils.
(AMTAR): Remove, obsolete.
(-automake_repo): Update to redhat.com.
(cvs_file): New.
Adjust to the fact that ansi2knr is now hosted by Automake.
* Maekfile.am (cvs_files): Add install-sh and mkinstalldirs.
* config/config.guess, config/mkinstalldirs, config/texinfo.tex:
Update from masters.
2002-10-25 12:17:22 +00:00
Akim Demaille
da6caf35ba
* bin/autom4te.in (&load_configuration): Take the file as
...
argument.
(&parse_args): Handle -C, --cache.
($help): Adjust.
(MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
* lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
* doc/autoconf.texi (Invoking autom4te): Document --cache.
Now a subsection of...
(Using autom4te): This new section.
(Customizing autom4te): New.
(autom4te.cache): Adjust.
2002-10-25 11:52:37 +00:00
Akim Demaille
a2091f872e
* doc/autoconf.texi (Generic Headers): More information on how to
...
use AC_CHECK_HEADERS.
2002-10-25 08:44:23 +00:00
Akim Demaille
eb898adee6
* bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
...
Space changes.
2002-10-25 08:24:16 +00:00
Akim Demaille
bd71c86380
* bin/autoscan.in (output): Output AC_PREREQ.
...
(%needed_macros): Add AC_PREREQ so that configure.ac without one
be reported.
2002-10-25 08:22:52 +00:00
Akim Demaille
4d6410c531
* doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
...
document _Bool.
2002-10-23 07:41:20 +00:00
Akim Demaille
3c17011eec
* bin/autom4te.in (handle_traces): Handle @&t@ in traces.
...
Reported by Peter Eisentraut.
2002-10-23 07:37:38 +00:00
Akim Demaille
38999f6a79
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
...
type _Bool.
Fix a typo.
* doc/autoconf.texi (Particular Headers): Adjust according to Paul
Eggert's recommandations.
2002-10-23 07:27:03 +00:00
Akim Demaille
86c6702369
* lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
...
Bison, by Paul Eggert.
* doc/autoconf.texi (Particular Headers): Document it.
2002-10-22 12:34:21 +00:00
Akim Demaille
94ee3f9807
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
...
`$ac_configure_args'.
2002-10-22 12:18:46 +00:00
Akim Demaille
e6d7289f9e
* doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
...
(AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
From Art Haas.
2002-10-22 12:13:21 +00:00
Akim Demaille
a70900d82a
Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
...
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
(AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
(_AC_CHECK_HEADER_NEW): Rename as...
(AC_CHECK_HEADER): this.
2002-10-22 12:02:08 +00:00
Akim Demaille
de6bcf45c9
* doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
...
words about HP-UX cmp: it was actually a user-written cmp.
2002-10-22 11:41:58 +00:00
Akim Demaille
cba40759dd
* tests/foreign.at (Libtool): Don't check autoconf's stderr: there
...
are a few warnings.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl '' strings, not "".
* bin/autoheader.in: Invoke autoconf to get '' strings, not ""
strings.
2002-10-22 11:14:44 +00:00
Akim Demaille
33c894c0bf
* lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
...
characters is a syntax warning now.
(_AS_QUOTE): Accept $2 as list of characters to quote.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl, not sh.
* bin/autoheader.in: When $debug, report the file which is
`do'ne.
* tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
`@', to tickle Perl's lists.
Reported by Carlos Velasco.
2002-10-22 08:20:19 +00:00
Akim Demaille
a6cc487161
* bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
...
missing included files _are_ errors.
Thanks to Alexandre Duret-Lutz.
* tests/tools.at (autom4te cache): Adjust.
* tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
(AT_CHECK_M4SUGAR): Use it.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Adjust.
* tests/tools.at (autom4te): Now it does exit 1.
2002-10-18 15:20:46 +00:00
Akim Demaille
a73415cbc4
* lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
...
Fixes the `AC_ARG_VAR' test failures.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
* lib/freeze.mk (check-forbidden-patterns): New.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am
* lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
* doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
/dev/null.
Reported months ago by H. Merijn Brand.
2002-10-17 10:34:09 +00:00
Akim Demaille
9524c5794f
* tests/tools.at (autoheader): Put randoms `@' to stress Perl.
2002-10-17 09:57:31 +00:00
Paul Eggert
dfabce7da8
* Makefile.maint (wget_files): Remove ansi2knr.c.
...
(ansi2knr.c-url_prefix): Remove.
2002-10-17 01:33:37 +00:00
Akim Demaille
aef93a0d75
Because of caching, some files that no longer exist and are no
...
longer required can still cause errors.
Reported by Alexandre Duret-Lutz.
* bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
to frozen files in @ARGV, as @ARGV must remain being a list of
files. Rather, at M4 call sites, use this...
(&files_to_options): New function.
(&freeze): Use &error.
(&up_to_date): If a file that was included according to the cache
is no longer there, then the output is out dated.
(&main): Don't even check whether a file is up to date is anyway
--force is given.
* tests/tools.at (autom4te cache): New.
2002-10-16 17:06:57 +00:00