]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
18 years ago* tests/autotest.at (BSx641-newline in command):
Paul Eggert [Sun, 19 Nov 2006 01:14:34 +0000 (01:14 +0000)] 
* tests/autotest.at (BSx641-newline in command):
(BS-BS-newline in command, BSx640-newline in command):
(Newline-CODE-BS-newline in command):
(Single-quote-BS-newline in command):
(Single-quote-newline-BS-newline in command):
Use printf '%s\n' instead of echo, for portability to hosts
where echo interprets backslashes.  This will break on hosts
that lack printf, but for now let's assume all such hosts
are dead (if not, we should get reports of test failures).

18 years agoRegenerate.
Paul Eggert [Fri, 17 Nov 2006 21:10:38 +0000 (21:10 +0000)] 
Regenerate.

18 years ago'echo' has some portability problems, when given a first argument
Paul Eggert [Fri, 17 Nov 2006 21:04:54 +0000 (21:04 +0000)] 
'echo' has some portability problems, when given a first argument
with a leading '-', or when given any argument containing '\'.
Avoid using 'echo' in these cases.
* bin/Makefile.am $(bin_SCRIPTS): Rewrite to avoid 'echo' entirely.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* bin/autoconf.as: Use AS_ECHO rather than plain echo, when the
argument might be unportable.
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Likewise.
* lib/autoconf/erlang.m4 (AC_LANG(Erlang)): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT):
(_AC_FC_LIBRARY_LDFLAGS): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE, _AC_INIT_PREPARE):
(_AC_ARG_VAR_VALIDATE, AC_ARG_PROGRAM, _AC_MSG_LOG_CONFTEST):
(AC_RUN_LOG, _AC_RUN_IFELSE, _AC_LIBOBJS_NORMALIZE): Likewise.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
(AC_PROG_MAKE_SET): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS, _AC_OUTPUT_HEADER):
(_AC_OUTPUT_SUBDIRS, _AC_OUTPUT_CONFIG_STATUS): Likewise.
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT, AT_INIT):
(AT_CLEANUP, _AT_DECIDE_TRACEABLE, _AT_CHECK): Likewise.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE, _AS_ECHO_UNQUOTED):
(_AS_BASENAME_SED, _AS_DIRNAME_SED, AS_MKDIR_P, AS_TMPDIR, AS_UNAME):
(AS_TR_SH, AS_TR_CPP, AS_VAR_GET): Likewise.
* bin/autoconf.as: Redo verbose flag implementation, as the old
scheme wouldn't work with AS_ECHO.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED):
Don't use ECHO_T, since ECHO_N is now reliable.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use sed "$script"
rather than using a here-document to put the script into a file.
(_AC_DO_ECHO): Hoist the eval out of the echo, so that we can
use AS_ECHO.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Likewise.
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Use
AS_ECHO_N rather than ECHO_N and ECHO_C.  This doesn't fix any
bug, but we might as well stop using ECHO_N and ECHO_C internally.
* lib/autotest/general.m4 (AT_SETUP): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_ECHO_N): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
(_AC_OUTPUT_MAIN_LOOP): Rework echo so that it has just one
operand, as AS_ECHO requires.  Avoid double file name expansion.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke _AS_ECHO_PREPARE.
Don't set as_nl, since _AS_ECHO_PREPARE does that now.
(_AS_PREPARE): Comment that _AS_ECHO_N_PREPARE is just for user code.
(AS_ECHO, AS_ECHO_N, _AS_ECHO_PREPARE): New macros.
* tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
Double-quote strings that would otherwise contain M4 comments.
* tests/m4sh.at (AS_ECHO and AS_ECHO_N): New test.

18 years agoRegenerate.
Paul Eggert [Fri, 17 Nov 2006 20:01:56 +0000 (20:01 +0000)] 
Regenerate.

18 years ago* configure.ac (AC_INIT): Bump to 2.61a.
Paul Eggert [Fri, 17 Nov 2006 20:01:04 +0000 (20:01 +0000)] 
* configure.ac (AC_INIT): Bump to 2.61a.
* NEWS: Likewise.

2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>

18 years agoRegenerate. AUTOCONF-2.61
Paul Eggert [Fri, 17 Nov 2006 19:05:17 +0000 (19:05 +0000)] 
Regenerate.

18 years agoVersion 2.61.
Paul Eggert [Fri, 17 Nov 2006 19:04:48 +0000 (19:04 +0000)] 
Version 2.61.

* configure.ac (AC_INIT): Bump to 2.61.
* NEWS: Likewise.

18 years ago* tests/autotest.at (Macro with backslash in a test title):
Paul Eggert [Fri, 17 Nov 2006 09:17:38 +0000 (09:17 +0000)] 
* tests/autotest.at (Macro with backslash in a test title):
Comment out for now, as this tests neither fails nor passes
reliably.  Problem reported by Ralf Wildenhues.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
Paul Eggert [Fri, 17 Nov 2006 00:37:17 +0000 (00:37 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
in previous change, which caused test failures.

18 years ago* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
Paul Eggert [Fri, 17 Nov 2006 00:16:27 +0000 (00:16 +0000)] 
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
code for --enable, --disable, --with, and --without to...
(_AC_INIT_PARSE_ENABLE): ... a new macro.
* doc/autoconf.texi (Package Options):
* NEWS: Document that AC_ARG_ENABLE allows dots, too.

18 years agoImport upstream changes.
Paul Eggert [Fri, 17 Nov 2006 00:00:31 +0000 (00:00 +0000)] 
Import upstream changes.

18 years ago* NEWS: Document the AC_ARG_WITH change.
Paul Eggert [Mon, 13 Nov 2006 20:40:06 +0000 (20:40 +0000)] 
* NEWS: Document the AC_ARG_WITH change.

2006-11-13  Bruno Haible  <bruno@clisp.org>

* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
options, transliterate also dots to underscores.
(_AC_ENABLE_IF): Transliterate also dots to underscores.
* doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
first argument may also contain dots.

18 years ago* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
Paul Eggert [Thu, 9 Nov 2006 21:03:54 +0000 (21:03 +0000)] 
* tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
benefit of platforms like Solaris+GCC where it is common to have a
non-working g++ installation.

18 years ago* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
Paul Eggert [Thu, 9 Nov 2006 05:59:00 +0000 (05:59 +0000)] 
* tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
and non-portable sed scripts, and use $CONFIG_SHELL when invoking
./micro-suite.

18 years ago* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
Paul Eggert [Wed, 8 Nov 2006 21:44:32 +0000 (21:44 +0000)] 
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
Imported from a similar patch to gnulib by Bruno Haible.

2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>

18 years ago* NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
Paul Eggert [Wed, 8 Nov 2006 08:26:43 +0000 (08:26 +0000)] 
* NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
* doc/autoconf.texi (C Compiler): Document them.
* lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
New macros, taken from gnulib.

18 years ago* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Paul Eggert [Wed, 8 Nov 2006 06:25:34 +0000 (06:25 +0000)] 
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.

18 years ago* tests/torture.at (Configuring subdirectories): Do not skip
Ralf Wildenhues [Sat, 28 Oct 2006 09:41:07 +0000 (09:41 +0000)] 
* tests/torture.at (Configuring subdirectories): Do not skip
Automake 1.10 nor future Automake 11.1 (sic).

18 years agoHandle special characters in test case titles correctly.
Paul Eggert [Fri, 27 Oct 2006 23:05:33 +0000 (23:05 +0000)] 
Handle special characters in test case titles correctly.
* lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
properly.
(AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
* tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
argument.  Extend to check titles printed by ./micro-suite and
./micro-suite -l and the title in micro-suite.log.
(Backquote in a test title,
Single-quote in a test title,
Double-quote in a test title): Don't expect failure anymore.
(Backslash in a test title): Put a non-whitespace character after the
backslash so that Bourne shells might actually see it as an escape
sequence.
(Brackets in a test title,
Pound in a test title,
Comma in a test title,
Quoted Macro in a test title,
Macro in a test title,
Macro with single-quote in a test title): New tests.
(Macro with backquote in a test title,
Macro with double-quote in a test title,
Macro with backslash in a test title): New tests expected to fail.
* tests/torture.at (#define header templates): M4-quote this title in
AT_SETUP call so that no M4 code is commented inadvertently somewhere.
The visible effect was a stray [] in the testsuite output.

18 years ago* doc/autoconf.texi (Limitations of Builtins): Do not invoke
Ralf Wildenhues [Fri, 27 Oct 2006 23:01:06 +0000 (23:01 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): Do not invoke
`trap ... 0' inside a function, for AIX sh.

18 years ago* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
Paul Eggert [Thu, 26 Oct 2006 19:30:32 +0000 (19:30 +0000)] 
* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
5363) simply issues a warning when dividing by zero at compile
time.  Problem reported by Elias Pipping.

18 years ago* THANKS: Update.
Eric Blake [Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)] 
* THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.

18 years ago* THANKS: Update.
Eric Blake [Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)] 
* THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.

18 years ago* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Eric Blake [Thu, 26 Oct 2006 14:41:44 +0000 (14:41 +0000)] 
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Also work with M4 1.4.8.

18 years ago* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Paul Eggert [Wed, 25 Oct 2006 20:21:05 +0000 (20:21 +0000)] 
* doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Jim Meyering.

18 years ago* tests/tools.at (autom4te --force): New test, verifies that
Paul Eggert [Wed, 25 Oct 2006 18:31:02 +0000 (18:31 +0000)] 
* tests/tools.at (autom4te --force): New test, verifies that
`--force' always rewrites the output file.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Document that rm
Paul Eggert [Wed, 25 Oct 2006 00:35:45 +0000 (00:35 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Document that rm
needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.

18 years agoUpdate Simons email address.
Paul Eggert [Tue, 24 Oct 2006 19:47:07 +0000 (19:47 +0000)] 
Update Simons email address.

18 years ago* tools/trace.at (autoconf --trace: user macros): Test `$%'.
Stepan Kasal [Tue, 24 Oct 2006 19:44:31 +0000 (19:44 +0000)] 
* tools/trace.at (autoconf --trace: user macros): Test `$%'.

18 years ago* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Paul Eggert [Tue, 24 Oct 2006 19:34:09 +0000 (19:34 +0000)] 
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
reported by Nelson H. F. Beebe for Coreutils 6.4.

18 years ago.
Stepan Kasal [Tue, 24 Oct 2006 19:33:28 +0000 (19:33 +0000)] 
.

18 years ago* tests/tools.at (autoconf --trace: user macros): Remove test
Paul Eggert [Tue, 24 Oct 2006 19:25:46 +0000 (19:25 +0000)] 
* tests/tools.at (autoconf --trace: user macros): Remove test
for tracing multiline macros, since m4 1.4.7a uses a different
way to number lines.

18 years ago* bin/autom4te.in (handle_m4): Do not redirect stdin to
Stepan Kasal [Tue, 24 Oct 2006 18:25:30 +0000 (18:25 +0000)] 
* bin/autom4te.in (handle_m4): Do not redirect stdin to
/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.

18 years agoGive credit.
Stepan Kasal [Tue, 24 Oct 2006 16:03:52 +0000 (16:03 +0000)] 
Give credit.

18 years ago* bin/autom4te.in: With --force, always refresh the output
Stepan Kasal [Tue, 24 Oct 2006 15:57:57 +0000 (15:57 +0000)] 
* bin/autom4te.in: With --force, always refresh the output
file.

18 years ago* bin/autoconf.as: Fix the verbose message at the end.
Stepan Kasal [Tue, 24 Oct 2006 13:13:29 +0000 (13:13 +0000)] 
* bin/autoconf.as: Fix the verbose message at the end.

18 years agoRegenerate.
Paul Eggert [Mon, 23 Oct 2006 07:19:55 +0000 (07:19 +0000)] 
Regenerate.

18 years ago* configure.ac (AC_INIT): Bump to 2.60c.
Paul Eggert [Mon, 23 Oct 2006 07:18:28 +0000 (07:18 +0000)] 
* configure.ac (AC_INIT): Bump to 2.60c.
* NEWS: Likewise.

18 years agoVersion 2.60b. AUTOCONF-2.60b
Paul Eggert [Mon, 23 Oct 2006 06:50:26 +0000 (06:50 +0000)] 
Version 2.60b.

18 years agoImport this change from Texinfo:
Paul Eggert [Mon, 23 Oct 2006 06:21:53 +0000 (06:21 +0000)] 
Import this change from Texinfo:
2006-10-15  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex: automake 1.10

18 years agoRegenerate.
Paul Eggert [Mon, 23 Oct 2006 06:12:57 +0000 (06:12 +0000)] 
Regenerate.

18 years ago* NEWS: Remove AC_CACHE_CHECK_INT.
Paul Eggert [Mon, 23 Oct 2006 06:12:40 +0000 (06:12 +0000)] 
* NEWS: Remove AC_CACHE_CHECK_INT.
* doc/autoconf.texi (Caching Results): Likewise.
* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
AC_CACHE_CHECK_INT, since it's no longer public.
* lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
* tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.
Ralf Wildenhues [Fri, 20 Oct 2006 16:25:30 +0000 (16:25 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Fix two typos.

18 years ago* lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
Eric Blake [Fri, 20 Oct 2006 01:34:32 +0000 (01:34 +0000)] 
* lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
(m4_maketemp): Avoid warnings with M4 1.9a.
* lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
m4_mkstemp.
* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
* NEWS: Likewise.

18 years ago* doc/autoconf.texi (Setting Output Variables): Fix typo.
Eric Blake [Tue, 17 Oct 2006 02:31:44 +0000 (02:31 +0000)] 
* doc/autoconf.texi (Setting Output Variables): Fix typo.

18 years ago* bin/autoconf.as (version): Reword to match GNU Coding
Eric Blake [Mon, 16 Oct 2006 20:58:44 +0000 (20:58 +0000)] 
* bin/autoconf.as (version): Reword to match GNU Coding
Standards.
* bin/autoheader.in (version): Likewise.
* bin/autom4te.in (version): Likewise.
* bin/autoreconf.in (version): Likewise.
* bin/autoscan.in (version): Likewise.
* bin/autoupdate.in (version): Likewise.
* bin/ifnames.in (version): Likewise.

18 years ago* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
Paul Eggert [Sun, 15 Oct 2006 01:12:02 +0000 (01:12 +0000)] 
* lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
looking for special shell characters.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
macro defined by AS_VAR_PUSHDEF before passing it as a
parameter.
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
Likewise.
* lib/autotest/general.m4 (AT_INIT): Quote parameters of
AS_VAR_* properly.
* tests/m4sh.at (AS_LITERAL_IF): New test.

18 years ago(Imported from Automake.)
Paul Eggert [Sun, 15 Oct 2006 00:58:25 +0000 (00:58 +0000)] 
(Imported from Automake.)
* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory.  In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system.  We hope this is rare in practice, but it's clearly worth
fixing.  Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.

2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>

Import this change from Automake:

2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
is enabled by default with gnu and gnits strictness.
Report from Bruno Haible.

2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
gnu and gnits modes.

Import this change from Config:

2006-09-20  Ben Elliston  <bje@gnu.org>
* build-aux/config.sub (score, score-*): New.

Import this change from Gnulib:

2006-09-16  Karl Berry  <karl@gnu.org>
* doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
to avoid sectioning errors.

Import these changes from Texinfo:

2006-10-04  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
(\quoteexpand): rename to \rquoteexpand.
(\codequoteleft): new def, to look for @set codequotebacktick.
(\lquoteexpand, \quoteexpand): new defs.
(\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
(\code): must use new \...Char values, since now ` is active.

2006-08-26  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\textdegree): New command.

2006-08-12  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (error \box0): smaller font.

18 years ago* doc/autoconf.texi (Autoheader Macros): Fix syntax error.
Ralf Wildenhues [Sat, 14 Oct 2006 09:54:32 +0000 (09:54 +0000)] 
* doc/autoconf.texi (Autoheader Macros): Fix syntax error.

18 years ago* doc/autoconf.texi (Autoheader Macros): Warn that the text
Stepan Kasal [Fri, 13 Oct 2006 18:26:38 +0000 (18:26 +0000)] 
* doc/autoconf.texi (Autoheader Macros): Warn that the text
added to the template can get mangled.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
Ralf Wildenhues [Fri, 13 Oct 2006 05:19:20 +0000 (05:19 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
include the default headers, and redefine obstack_chunk_alloc
and obstack_chunk_free.  Fixes false failure with glibc.

18 years ago* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
Paul Eggert [Thu, 12 Oct 2006 19:44:22 +0000 (19:44 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
for backward compatibility with Libtool 1.5.22.  Problem reported
by Ralf Wildenhues.

18 years ago* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
Ralf Wildenhues [Thu, 12 Oct 2006 17:01:45 +0000 (17:01 +0000)] 
* lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
AC_PROG_CC.
Report by IOhannes m zmoelnig <zmoelnig@iem.at>.

18 years agoFix a typo in comment
Stepan Kasal [Thu, 12 Oct 2006 12:01:10 +0000 (12:01 +0000)] 
Fix a typo in comment

18 years ago* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
Paul Eggert [Wed, 11 Oct 2006 22:38:42 +0000 (22:38 +0000)] 
* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.

18 years ago* lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
Paul Eggert [Wed, 11 Oct 2006 21:50:57 +0000 (21:50 +0000)] 
* lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
(AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
(_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
Use a better substitute, by inspecting the output of "ls"
rather than just using ":".
* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
rather than AS_EXECUTABLE_P, since we needn't worry about
non-regular files here.

18 years ago* NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
Paul Eggert [Wed, 11 Oct 2006 19:35:57 +0000 (19:35 +0000)] 
* NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
due to configuration hassles with this.  See Tonya Underwood's report
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
* doc/autoconf.texi (Special Shell Variables): Likewise.

2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
    Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.

2006-10-11  Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
  initialization which is not inherited through the environment
(_AS_BOURNE_COMPATIBLE): ... to this new macro.
(_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.

18 years ago* doc/autoconf.texi (Limitations of Usual Tools): Describe
Paul Eggert [Mon, 9 Oct 2006 22:51:35 +0000 (22:51 +0000)] 
* doc/autoconf.texi (Limitations of Usual Tools): Describe
problems with mkdir -p -m.

18 years ago* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
Paul Eggert [Fri, 6 Oct 2006 17:43:55 +0000 (17:43 +0000)] 
* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
comment about ac_cpp_err; it was incorrect, and anyway
ac_cpp_err is being removed below.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
nobody uses it.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
with werror_flag and conftest.err and so forth.  This is more
compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
and anyway the user shouldn't normally want to see this gorp logged.
Problem reported by Ralf Wildenhues.
* lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
empty, not 'no', since the rest of the code uses 'test -z'.

18 years agoCancel the previous change for now.
Stepan Kasal [Fri, 6 Oct 2006 15:31:26 +0000 (15:31 +0000)] 
Cancel the previous change for now.

18 years agoImprove log entry.
Paul Eggert [Wed, 4 Oct 2006 21:18:54 +0000 (21:18 +0000)] 
Improve log entry.

18 years ago* doc/autoconf.texi (Special Shell Variables): Autoconf-generated
Paul Eggert [Wed, 4 Oct 2006 21:16:06 +0000 (21:16 +0000)] 
* doc/autoconf.texi (Special Shell Variables): Autoconf-generated
shel scripts no longer export BIN_SH, due to configuration
hassles with this.
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH
or DUALCASE.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
Use AS_EXECUTABLE_P rather than test -f.
(AS_SHELL_SANITIZE): Set DUALCASE.
(AS_EXECUTABLE_P): Just invoke as_executable_p.
(_AS_TEST_PREPARE): Default to test -f, rather than to nothing.

18 years ago* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
Paul Eggert [Wed, 4 Oct 2006 19:10:49 +0000 (19:10 +0000)] 
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE):
Use a single call to AC_DO_TOKENS rather than multiple, for
efficiency.
(_AC_LINK_IFELSE): Test that resulting file is executable.
Problem reported by mwoehlke in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>.

18 years ago* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
Paul Eggert [Wed, 4 Oct 2006 18:53:19 +0000 (18:53 +0000)] 
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather
than creating a file to use with test -x; this is much faster.

18 years ago* lib/autom4te.in (Automake-preselections): Add
Paul Eggert [Tue, 3 Oct 2006 06:27:17 +0000 (06:27 +0000)] 
* lib/autom4te.in (Automake-preselections): Add
AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10.

18 years ago* doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
Stepan Kasal [Wed, 27 Sep 2006 16:47:08 +0000 (16:47 +0000)] 
* doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
standard error, `experr' should be used, not `expout'.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
Paul Eggert [Tue, 26 Sep 2006 20:57:16 +0000 (20:57 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the
fseeko testing program twice; just use the earlier result.
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
Set cache var to 'unknown' (not 'no') if leaving the macro unset
still doesn't let the program compile.
(AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests
failed.

* lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues.
(AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h.  Just
include it, without including anything else.
(AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant
expressions.
(AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS.

* lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for
`error.h', and include it, for a `error_at_line' prototype.
Use a nonempty format string in the link test.
* lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>,
for a declaration of wait3.

18 years ago(AC_CHECK_DECL): Assume C89 or better,
Paul Eggert [Tue, 26 Sep 2006 20:43:43 +0000 (20:43 +0000)] 
(AC_CHECK_DECL): Assume C89 or better,
and simply cast the identifier to void.  This handles structure
values.

18 years agoAC_CHECK_DECL now also works with aggregate objects.
Paul Eggert [Tue, 26 Sep 2006 20:43:00 +0000 (20:43 +0000)] 
AC_CHECK_DECL now also works with aggregate objects.

18 years ago(AC_CHECK_DECLS): Also check macros,
Paul Eggert [Tue, 26 Sep 2006 20:42:43 +0000 (20:42 +0000)] 
(AC_CHECK_DECLS): Also check macros,
structure, function symbols, and enums.

18 years ago(Generic Declarations): Clarify that AC_CHECK_DECL
Paul Eggert [Tue, 26 Sep 2006 20:41:13 +0000 (20:41 +0000)] 
(Generic Declarations): Clarify that AC_CHECK_DECL
can apply to constants too, and that it checks for macro defns.

18 years ago* tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
Ralf Wildenhues [Tue, 26 Sep 2006 18:07:16 +0000 (18:07 +0000)] 
* tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
member.

18 years ago* NEWS: Recommend M4 1.4.7 instead of 1.4.6.
Paul Eggert [Tue, 26 Sep 2006 06:04:35 +0000 (06:04 +0000)] 
* NEWS: Recommend M4 1.4.7 instead of 1.4.6.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.

2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
Ralf Wildenhues [Mon, 25 Sep 2006 17:50:06 +0000 (17:50 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall'
warnings (uninitialized value).
(AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if
present.
* lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add
parentheses.
(AC_STRUCT_TM): Likewise, avoid unused variables.

18 years agotypo
Stepan Kasal [Thu, 21 Sep 2006 10:36:19 +0000 (10:36 +0000)] 
typo

18 years ago* lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
Ralf Wildenhues [Wed, 20 Sep 2006 18:07:47 +0000 (18:07 +0000)] 
* lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment.
(_AC_ARG_VAR_LIBS): New macro: let LIBS be precious.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS.
* lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise.
Report by Olly Betts.

18 years agoRegenerate.
Ralf Wildenhues [Wed, 20 Sep 2006 18:04:17 +0000 (18:04 +0000)] 
Regenerate.

18 years ago* m4/m4.m4: Change copyright.
Eric Blake [Wed, 20 Sep 2006 03:08:08 +0000 (03:08 +0000)] 
* m4/m4.m4: Change copyright.
* configure: Regenerate.
* Makefile.in: Likewise.
* bin/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* lib/Makefile.in: Likewise.
* lib/Autom4te/Makefile.in: Likewise.
* lib/autoconf/Makefile.in: Likewise.
* lib/autoscan/Makefile.in: Likewise.
* lib/autotest/Makefile.in: Likewise.
* lib/emacs/Makefile.in: Likewise.
* lib/m4sugar/Makefile.in: Likewise.
* man/Makefile.in: Likewise.
* tests/Makefile.in: Likewise.

18 years ago* m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
Eric Blake [Wed, 20 Sep 2006 02:44:51 +0000 (02:44 +0000)] 
* m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support.
* bin/Makefile.am (edit): Substitute M4_DEBUGFILE.
* bin/autom4te.in (handle_m4): Favor --debugfile over misnamed
--error-output, to avoid warnings with M4 2.0.

18 years ago* lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
Stepan Kasal [Tue, 19 Sep 2006 09:35:41 +0000 (09:35 +0000)] 
* lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be
  consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS.
* lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
Stepan Kasal [Fri, 15 Sep 2006 14:53:43 +0000 (14:53 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
expansion of AC_CHECK_FUNCS.

18 years agotypo
Stepan Kasal [Thu, 14 Sep 2006 15:21:20 +0000 (15:21 +0000)] 
typo

18 years ago* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
Stepan Kasal [Thu, 14 Sep 2006 09:40:59 +0000 (09:40 +0000)] 
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a
  the path at runtime.

18 years ago* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
Ralf Wildenhues [Wed, 13 Sep 2006 04:48:23 +0000 (04:48 +0000)] 
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
argument to `--prefix' for sub-configure scripts.
Pass `--silent' to sub-configure scripts.
* tests/torture.at (Configuring subdirectories): Add tests
for both changes.
* doc/autoconf.texi (Setting Output Variables): Fix example to
not show `--silent' being passed to a `configure' re-run.

18 years ago* doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
Paul Eggert [Tue, 12 Sep 2006 18:16:34 +0000 (18:16 +0000)] 
* doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
for the existence of the directory at configure-time.  That's
too late, anyway, and possibly the directory isn't part of the
distribution.  Problem reported by Stefan Seefeld.

18 years agoUpdate ChangeLog according to last changes.
Ralf Wildenhues [Tue, 12 Sep 2006 11:17:55 +0000 (11:17 +0000)] 
Update ChangeLog according to last changes.

18 years ago(_AS_TEST_PREPARE): Avoid bug in UnixWare
Paul Eggert [Tue, 12 Sep 2006 07:07:32 +0000 (07:07 +0000)] 
(_AS_TEST_PREPARE): Avoid bug in UnixWare
7.1.4 /usr/bin/posix/sh described by Tim Rice in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.

18 years agoUndo previous change; it doesn't seem to have been true.
Paul Eggert [Tue, 12 Sep 2006 07:01:50 +0000 (07:01 +0000)] 
Undo previous change; it doesn't seem to have been true.

18 years ago* tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
Stepan Kasal [Mon, 11 Sep 2006 16:42:57 +0000 (16:42 +0000)] 
* tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
  works with GNU M4 1.4.3 again; make the normalized form
  match the current m4 message; fix the description.
* test/tools.at (autom4te cache): Adapt to the change.

18 years ago* doc/autoconf.texi (Here-Documents): Document bug in UnixWare
Paul Eggert [Mon, 11 Sep 2006 15:37:27 +0000 (15:37 +0000)] 
* doc/autoconf.texi (Here-Documents): Document bug in UnixWare
7.1.4 /usr/bin/posix/sh.

18 years ago* lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test
Paul Eggert [Fri, 8 Sep 2006 22:36:16 +0000 (22:36 +0000)] 
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):  Add year_2050_test
to catch glibc bug 2821
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of
AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and
AC_CHECK_FUNCS.  Don't check for stdlib.h, since we now
assume C89.

18 years ago* lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
Stepan Kasal [Fri, 8 Sep 2006 12:38:38 +0000 (12:38 +0000)] 
* lib/autom4te.in (Autoconf-without-aclocal-m4): Move the
preselections ...
(Autoconf): ... here.
(Autoscan-preselections): Delete.

18 years ago* lib/autom4te.in (Automake-preselections): Preselect
Stepan Kasal [Thu, 7 Sep 2006 13:51:08 +0000 (13:51 +0000)] 
* lib/autom4te.in (Automake-preselections): Preselect
AM_ENABLE_MULTILIB.

18 years ago* doc/autoconf.texi (Preset Output Variables): srcdir and
Paul Eggert [Tue, 5 Sep 2006 23:27:53 +0000 (23:27 +0000)] 
* doc/autoconf.texi (Preset Output Variables): srcdir and
top_srcdir are not necessarily relative.

18 years ago* lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
Ralf Wildenhues [Tue, 5 Sep 2006 17:17:31 +0000 (17:17 +0000)] 
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
f90/f95 because the latter drivers of AIX Fortran 9.1 do not
accept files with extension `.f'.  For consistency, also prefer
xlf over f77.
* doc/autoconf.texi (Fortran Compiler): Remove mention of bug
from last patch.

18 years ago* lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
Paul Eggert [Tue, 5 Sep 2006 14:36:17 +0000 (14:36 +0000)] 
* lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
of ERLANG_LIB_VER_* variables.
* doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
variables.

18 years ago* doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC should be
Paul Eggert [Sun, 3 Sep 2006 19:53:07 +0000 (19:53 +0000)] 
* doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC should be
called before AC_PROG_FC, due to a bug in Autoconf.

18 years ago* doc/autoconf.texi (Limitations of Builtins): Document
Paul Eggert [Sun, 3 Sep 2006 19:41:12 +0000 (19:41 +0000)] 
* doc/autoconf.texi (Limitations of Builtins): Document
'unset' bugs of Bash 2.01 and 2.05a.

18 years ago* NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
Paul Eggert [Sat, 2 Sep 2006 05:37:07 +0000 (05:37 +0000)] 
* NEWS: New macro AC_CACHE_CHECK_INT.  It replaces the
old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
except the first two arguments are reversed.
* doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
(Generic Compiler Characteristics): AC_COMPUTE_INT no longer
caches nor outputs a diagnostic.  Suggested by Bruno Haible.
* lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
equivalent to the old AC_COMPUTE_INT.
(AC_COMPUTE_INT): No longer caches or reports.  New signature.
All uses changed to AC_CACHE_CHECK_INT.
* tests/base.at (AC_CACHE_CHECK_INT): New test.
* tests/mktests.sh (ac_exclude_lsit): Add AC_CACHE_CHECK_INT.

18 years ago* NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
Paul Eggert [Thu, 31 Aug 2006 22:38:30 +0000 (22:38 +0000)] 
* NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
programs should use their Gnulib counterparts.
* doc/autoconf.texi (Particular Functions): Likewise.
(Macro Names, testsuite Invocation): Replace uses of these
obsolete macros with uses of non-obsolete macros.