]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
17 years agoReduce overhead of m4_builtin([defn]).
Eric Blake [Sat, 19 Jul 2008 16:53:10 +0000 (10:53 -0600)] 
Reduce overhead of m4_builtin([defn]).

* lib/m4sugar/m4sugar.m4 (_m4_defn, _m4_popdef, _m4_undefine): New
internal macros, which are slightly more efficient than
m4_builtin([defn]) and company.
(m4_defn, m4_popdef, m4_undefine, m4_warn, m4_ifset)
(_m4_dumpdefs_up, _m4_dumpdefs_down, _m4_wrap, m4_for)
(_m4_divert_n_stack, m4_divert_pop, m4_expansion_stack_push)
(m4_expansion_stack_dump, _m4_defun_pro, _m4_defun_epi)
(_m4_defun_epi_outer, _m4_require_call, m4_combine, m4_append)
(_m4_append_uniq, m4_append_uniq_w, _m4_text_wrap, m4_text_box)
(m4_version_prereq): Use them.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoUse warnings from m4 when available.
Eric Blake [Fri, 18 Jul 2008 18:05:43 +0000 (12:05 -0600)] 
Use warnings from m4 when available.

* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Don't
define slower wrapper if m4 will warn on our behalf; key off of
__m4_version__, added alongside the new warnings in m4 1.6.
* tests/m4sugar.at (m4@&t@_defn): New test.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAdd m4_joinall.
Eric Blake [Fri, 18 Jul 2008 14:30:07 +0000 (08:30 -0600)] 
Add m4_joinall.

* lib/m4sugar/m4sugar.m4 (m4_joinall, _m4_joinall): New macros.
* tests/m4sugar.at (m4@&t@_join): Test them.
* doc/autoconf.texi (Text processing Macros) <m4_join>: Document
m4_joinall.
* NEWS: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoImprove documentation of config.h.in template rules.
Stepan Kasal [Fri, 18 Jul 2008 00:55:51 +0000 (18:55 -0600)] 
Improve documentation of config.h.in template rules.

* doc/autoconf.texi (Header Templates): Mention rules on comments
and whitespace, and that the user cannot rely on #undef to survive
through config.status.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoRevert m4_prepend; it is less efficient, and unused by bison.
Eric Blake [Wed, 16 Jul 2008 20:40:48 +0000 (14:40 -0600)] 
Revert m4_prepend; it is less efficient, and unused by bison.

* lib/m4sugar/m4sugar.m4 (m4_prepend, m4_prepend_uniq)
(m4_prepend_uniq_w): Delete addition from 2008-07-11.
(_m4_grow_uniq_1): Rename back...
(_m4_append_uniq): ...to this.
* NEWS: Revert NEWS blurb.
* doc/autoconf.texi (Text processing Macros) <m4_prepend>: Delete.
* tests/m4sugar.at (m4@&t@_prepend): Delete.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAvoid failure if version.m4 is omitted but m4_PACKAGE_* unused.
Eric Blake [Tue, 15 Jul 2008 20:53:21 +0000 (14:53 -0600)] 
Avoid failure if version.m4 is omitted but m4_PACKAGE_* unused.

* lib/m4sugar/m4sugar.m4 (m4_version_compare): Provide alternate
definition for non-Autoconf clients of m4sugar.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoTighten bound of potential speed of m4_append.
Eric Blake [Mon, 14 Jul 2008 16:13:28 +0000 (10:13 -0600)] 
Tighten bound of potential speed of m4_append.

* doc/autoconf.texi (Text processing Macros) <m4_append>
<m4_prepend>: If m4 is fixed, m4_append can be linear rather than
O(n log n).
* lib/m4sugar/m4sugar.m4 (m4_append, m4_append_uniq): Fix comments.
Analysis by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoInherit improvements from bison's fork of m4sugar.
Eric Blake [Fri, 11 Jul 2008 17:14:46 +0000 (11:14 -0600)] 
Inherit improvements from bison's fork of m4sugar.

* lib/m4sugar/m4sugar.m4 (m4_PACKAGE_VERSION): Ignore failure to
find version.texi, since bison does not provide it.
(m4_prepend): Add new macro, from bison.
(m4_prepend_uniq, m4_prepend_uniq_w): Add new macros, for
completeness.
(_m4_append_uniq): Rename...
(_m4_grow_uniq_1): ...to this to share implementation, and
optimize initial assignment.
(m4_append_uniq_w): Adjust caller.
* NEWS: Document new macros.
* doc/autoconf.texi (Text processing Macros) <m4_append>: Mention
speed consideration.
<m4_prepend>: Document the new prepend variants.
* tests/m4sugar.at (m4@&t@_prepend): New test.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoWork around M4 1.6 warning on undefined macros.
Eric Blake [Fri, 11 Jul 2008 14:55:15 +0000 (08:55 -0600)] 
Work around M4 1.6 warning on undefined macros.

* lib/m4sugar/m4sugar.m4 (changeword, symbols): Don't rename if
not already available as builtins.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix texinfo macros @dvar, @ovar.
Ralf Wildenhues [Sun, 6 Jul 2008 08:55:00 +0000 (10:55 +0200)] 
Fix texinfo macros @dvar, @ovar.

* doc/autoconf.texi (@dvar): Remove trailing newline.
(@ovar): Likewise.  Fix macro documentation.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAdd quotes to the header of autoscan-generated source.
Stepan Kasal [Wed, 2 Jul 2008 13:38:24 +0000 (15:38 +0200)] 
Add quotes to the header of autoscan-generated source.

* bin/autoscan.in: Add quotes to AC_PREREQ and AC_INIT.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
17 years agoReplace @item with @itemx where appropriate.
Andreas Schwab [Sat, 28 Jun 2008 09:30:16 +0000 (11:30 +0200)] 
Replace @item with @itemx where appropriate.

* doc/autoconf.texi (autoscan Invocation): Fix spacing.
(autoconf Invocation): Likewise.
(autoreconf Invocation): Likewise.
(autoheader Invocation): Likewise.
(autom4te Invocation): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAdd comment explaining recent patch.
Eric Blake [Thu, 19 Jun 2008 13:02:20 +0000 (07:02 -0600)] 
Add comment explaining recent patch.

* lib/autotest/general.m4 (AT_INIT) <at_pass_list>: Explain choice
of * vs. ? globbing.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoconfig.status should not warn when it does not link.
Ralf Wildenhues [Thu, 19 Jun 2008 05:55:16 +0000 (07:55 +0200)] 
config.status should not warn when it does not link.

* lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not warn when not
linking a file to itself.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoResync with gnulib.
Eric Blake [Thu, 19 Jun 2008 05:10:59 +0000 (23:10 -0600)] 
Resync with gnulib.

* GNUmakefile: Grab from upstream, to fix VPATH 'make dist' bug.
Reported by Stepan Kasal.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoReorganize autotest files, factorize for parallel execution.
Ralf Wildenhues [Wed, 18 Jun 2008 19:22:36 +0000 (21:22 +0200)] 
Reorganize autotest files, factorize for parallel execution.

* lib/autotest/general.m4 (AS_MESSAGE_LOG_FD): Move definition
earlier in the file.
(AT_INIT): Create line number cache in
$at_suite_dir/at-source-lines.
<at_helper_dir>: New directory at-groups below $at_suite_dir.
Add comment explaining the new directory structure.
(at_func_group_prepare, at_func_group_postprocess): New shell
functions to factorize per-test group work.  Keep the actual
test execution outside of a shell function in order to avoid
zsh 4.x exit status bugs.
<at_check_line_file, at_status_file, at_stdout, at_stder1>
<at_stderr, at_test_source>: Turn these into per-group files
below $at_helper_dir.  Also store test results there in files
named pass, fail, xpass, xfail, skip.  Let the parent collect
results from $at_helper_dir.  Adjust summary statistics
computation and result output.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix '#undef variable /* comment */' transform in config headers.
Ralf Wildenhues [Tue, 17 Jun 2008 06:42:14 +0000 (08:42 +0200)] 
Fix '#undef variable /* comment */' transform in config headers.

* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): For
undefined preprocessor macros that are followed by a comment
in the header template, do not create nested comments in the
output.
* tests/torture.at (@%:@define header templates): Extend test.
* NEWS: Update.
Report by Karsten Hopp <karsten@redhat.com>.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoMark AC_TYPE_SIGNAL as obsolete in NEWS, too.
Eric Blake [Mon, 9 Jun 2008 12:30:17 +0000 (06:30 -0600)] 
Mark AC_TYPE_SIGNAL as obsolete in NEWS, too.

* NEWS: Mention the change.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMark AC_TYPE_SIGNAL as obsolete.
Eric Blake [Mon, 9 Jun 2008 12:25:35 +0000 (06:25 -0600)] 
Mark AC_TYPE_SIGNAL as obsolete.

* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Switch to AU_DEFUN.
* doc/autoconf.texi (Function Portability): Update documentation.
(Particular Types): Move AC_TYPE_SIGNAL...
(Obsolete Macros): ...here, and mention why.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAllow lib64 as a default X library location.
Eric Blake [Mon, 9 Jun 2008 12:19:17 +0000 (06:19 -0600)] 
Allow lib64 as a default X library location.

* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Add lib64.
* NEWS: Mention the change.
* THANKS: Update.
Reported by Brad Walker.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAdd URL to previous commit.
Eric Blake [Fri, 6 Jun 2008 14:00:07 +0000 (08:00 -0600)] 
Add URL to previous commit.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
Eric Blake [Thu, 5 Jun 2008 21:18:11 +0000 (15:18 -0600)] 
Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.

* lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
converting it to lower case.
* tests/autotest.at (Keywords and ranges): Test this.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Karsten Hopp.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix 'make dist' regression from 2008-05-08.
Eric Blake [Tue, 3 Jun 2008 19:24:37 +0000 (13:24 -0600)] 
Fix 'make dist' regression from 2008-05-08.

* Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
GNUmakefile's _autoconf rule removes INSTALL.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument Solaris /bin/sh redirection pitfall.
Eric Blake [Tue, 27 May 2008 17:07:01 +0000 (11:07 -0600)] 
Document Solaris /bin/sh redirection pitfall.

* doc/autoconf.texi (File Descriptors): Mention redirection bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoImprove documentation of ! issues.
Eric Blake [Wed, 14 May 2008 19:41:18 +0000 (13:41 -0600)] 
Improve documentation of ! issues.

* doc/autoconf.texi (Limitations of Builtins) <!>: Touch up.
Reported by Noah Misch.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument some FreeBSD shell bugs.
Eric Blake [Wed, 14 May 2008 14:25:01 +0000 (08:25 -0600)] 
Document some FreeBSD shell bugs.

* doc/autoconf.texi (Limitations of Builtins) <!>: Mention ! issue
in compound pipe commands.
<export>: Mention difference of exporting an undefined variable.
(Shell Functions): Mention loss of $? in entry to shell functions.
Extracted from the git mailing list.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoWork around MSYS and Cygwin bugs when dealing with trailing space.
Stepan Kasal [Tue, 13 May 2008 19:40:55 +0000 (13:40 -0600)] 
Work around MSYS and Cygwin bugs when dealing with trailing space.

* tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
even when platform bugs are tickled.
Reported by Keith Marshall and Eric Blake.

17 years agoLet AC_MSG_FAILURE report pwd.
Ralf Wildenhues [Tue, 6 May 2008 20:41:54 +0000 (22:41 +0200)] 
Let AC_MSG_FAILURE report pwd.

* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE):
Output $ac_pwd along with fatal failure.
* tests/torture.at (Deep Package): Extend test.
Reported numerous times against GCC, and probably other packages.

17 years agoEnforce --help and --version compliance.
Eric Blake [Wed, 7 May 2008 15:00:16 +0000 (09:00 -0600)] 
Enforce --help and --version compliance.

* configure.ac (AM_INIT_AUTOMAKE): Add std-options option.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAvoid case-insensitive `make install' vs. `INSTALL' conflict.
Keith Marshall [Mon, 12 May 2008 12:41:51 +0000 (06:41 -0600)] 
Avoid case-insensitive `make install' vs. `INSTALL' conflict.

* Makefile.am ($(srcdir)/INSTALL): Replace all references...
($(abs_srcdir)/INSTALL): ...with this.

17 years agoFix typo.
Eric Blake [Tue, 6 May 2008 15:57:48 +0000 (09:57 -0600)] 
Fix typo.

* doc/autoconf.texi (Shell Substitutions): Drop at_ prefix.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAvoid overfull \hbox.
Eric Blake [Tue, 6 May 2008 15:33:11 +0000 (09:33 -0600)] 
Avoid overfull \hbox.

* doc/autoconf.texi (Versioning): Reword to fit line size.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument $(( )) pitfalls.
Eric Blake [Tue, 6 May 2008 15:31:55 +0000 (09:31 -0600)] 
Document $(( )) pitfalls.

* doc/autoconf.texi (Shell Substitutions): Mention octal
vs. decimal.  Mention autotest's at_func_arith.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoImprove behavior of './testsuite 01'.
Eric Blake [Tue, 6 May 2008 12:17:41 +0000 (06:17 -0600)] 
Improve behavior of './testsuite 01'.

* lib/autotest/general.m4 (AT_INIT) <at_func_validate_ranges>:
Alter usage to eval its arguments, in order to normalize away
leading zero.  All callers updated.
* tests/autotest.at (Keywords and ranges): Test range
normalization with leading 0.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMention Solaris /usr/ucb/tr pitfall.
Eric Blake [Sat, 26 Apr 2008 12:32:19 +0000 (06:32 -0600)] 
Mention Solaris /usr/ucb/tr pitfall.

* doc/autoconf.texi (Limitations of Usual Tools) <tr>: Add section.
Reported by Bruno Haible and Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMention m4sugar's internal quote strings.
Eric Blake [Thu, 24 Apr 2008 15:31:16 +0000 (09:31 -0600)] 
Mention m4sugar's internal quote strings.

* doc/autoconf.texi (Quadrigraphs): Mention alternate quote used
in m4sugar, and how to still output it literally.
* tests/m4sugar.at (m4@&t@_split): And test it.
Reported by Joel E. Denny.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAllow unbalanced () in m4_expand.
Eric Blake [Wed, 23 Apr 2008 15:24:46 +0000 (09:24 -0600)] 
Allow unbalanced () in m4_expand.

* lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
quotes.
(m4_noquote, _m4_split): Use consistent complex quote.
* tests/autotest.at (Left paren, Right paren): Test this.
(Parentheses): Ensure new quadrigraphs still work.
(AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
* NEWS: Mention the fix.
* doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
require quadrigraphs for ().
(Evaluation Macros) <m4_expand>: Relax the restriction against
unbalanced ().
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
Reported by Joel E. Denny, fix suggested by Noah Misch.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSupport unbalanced () in AT_SETUP by adding two new quadrigraphs.
Eric Blake [Tue, 22 Apr 2008 20:19:27 +0000 (14:19 -0600)] 
Support unbalanced () in AT_SETUP by adding two new quadrigraphs.

* bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
(handle_traces): Likewise.
* lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
* doc/autoconf.texi (Quadrigraphs): Document them.
(Evaluation Macros) <m4_expand>: Enhance documentation.
(Text processing Macros) <m4_text_box>: Document cases where
quadrigraphs can help for problemetic unbalanced parentheses.
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
(Limitations of Builtins) <case>: Consolidate text on unbalanced
parentheses, and add an example of creative comments.
* NEWS: Document the addition.
Reported by Joel E. Denny.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument pdksh exec behavior.
Eric Blake [Wed, 16 Apr 2008 16:10:31 +0000 (10:10 -0600)] 
Document pdksh exec behavior.

* doc/autoconf.texi (Limitations of Builtins) <exec>: New
subsection.
Discovered by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMention more details about git usage in bootstrap.
Eric Blake [Tue, 15 Apr 2008 12:56:56 +0000 (06:56 -0600)] 
Mention more details about git usage in bootstrap.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoNew tests: errexit, input from stdin.
Ralf Wildenhues [Mon, 14 Apr 2008 21:10:01 +0000 (23:10 +0200)] 
New tests: errexit, input from stdin.

* tests/autotest.at (AT_CHECK_AT): Allow to pass additional
arguments to the inner suite.
(errexit, input from stdin): New tests.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* NEWS: Post-release update.
Ralf Wildenhues [Sun, 13 Apr 2008 13:06:31 +0000 (15:06 +0200)] 
* NEWS: Post-release update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAC_AUTOCONF_VERSION might contain arbitrary macro names.
Eric Blake [Thu, 10 Apr 2008 19:57:36 +0000 (13:57 -0600)] 
AC_AUTOCONF_VERSION might contain arbitrary macro names.

* doc/autoconf.texi (Versioning): Mention problem with expansion.
* tests/tools.at (autoconf: AC_AUTOCONF_VERSION): Adjust test.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFlush buffered output before exit.
Slava Sysoltsev [Wed, 9 Apr 2008 16:46:08 +0000 (10:46 -0600)] 
Flush buffered output before exit.

* bin/autom4te.in (handle_output): Explicitly close file.
* THANKS: Update.
See http://lists.gnu.org/archive/html/autoconf/2008-04/msg00026.html.

17 years agoUpdate various hacking notes.
Eric Blake [Wed, 9 Apr 2008 16:15:28 +0000 (10:15 -0600)] 
Update various hacking notes.

* HACKING: Add more maintainer-specific details.
* README-hacking: Add more general-contributor details.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoGenerate web docs for 2.62.
Eric Blake [Tue, 8 Apr 2008 20:19:05 +0000 (14:19 -0600)] 
Generate web docs for 2.62.

* doc/autoconf.texi (Evaluation Macros): Fix typo.
(Notices): Use recommended means to escape RCS keyword.
* cfg.mk (gnulib_dir): New macro.
(web-manual): New target.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years ago./.prev-version: Record previous version: 2.62.
Eric Blake [Sat, 5 Apr 2008 23:13:26 +0000 (17:13 -0600)] 
./.prev-version: Record previous version: 2.62.

17 years agoRelease Version 2.62. v2.62
Eric Blake [Sat, 5 Apr 2008 22:56:13 +0000 (16:56 -0600)] 
Release Version 2.62.

* NEWS: Mention the release.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoUse GPLv2+ plus exception as license for release.
Eric Blake [Fri, 4 Apr 2008 15:09:47 +0000 (09:09 -0600)] 
Use GPLv2+ plus exception as license for release.

Return back to GPLv2+, until the text of the exceptions is
finalized, reverting the change from 2007-07-03 and the first
part of the change from 2007-07-20.

Also:
* COPYING: Revert to GPLv2.
* COPYINGv3: New file, since some auxiliary build tools, used for
building autoconf and not installed, are GPLv3.
* Makefile.am (EXTRA_DIST): Distribute COPYINGv3.
* NEWS: Remove mention of GPLv3.
* README: Clarify situation regarding GPLv3.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoPrepare for release.
Eric Blake [Sat, 5 Apr 2008 22:55:03 +0000 (16:55 -0600)] 
Prepare for release.

* maint.mk (announcement): Avoid deleted option.
* cfg.mk (release_archive_dir): Use default.
* build-aux/gnupload: New file, from automake/gnulib.
* Makefile.am (EXTRA_DIST): Distribute it.
* .x-sc_two_space_separator_in_usage: New file, to exempt gnupload
from syntax check.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoWork around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)
Jim Meyering [Sat, 5 Apr 2008 15:47:42 +0000 (09:47 -0600)] 
Work around CR EOL markers on OS/2 (www.ecomstation.com Ecs v2 rc4)

* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When CR
is the EOL marker, skip a step that would remove and translate
carriage return bytes.
* THANKS: Update.
Reported by Elbert Pol.

17 years agoAvoid some autoreconf -Wall warnings.
Eric Blake [Sat, 5 Apr 2008 13:09:46 +0000 (07:09 -0600)] 
Avoid some autoreconf -Wall warnings.

* configure.ac: Use proper quoting, to be a good example.
(PACKAGE_NAME): Remove setting covered by autoconf.
(AM_INIT_AUTOMAKE): Bump automake requirement, for html rules.
* doc/Makefile.am (TEXI2DVI): Remove settings covered by
automake.
(html, autoconf_1.html, standards_1.html): Likewise.
(TEXI2HTML, TEXI2HTML_FLAGS): Remove unused macros.
* Makefile.am (html): Likewise.
* doc/autoconf.texi (Quoting and Parameters): Add missing section
name.
* tests/Makefile.am (AUTOMAKE_OPTIONS): Intentionally ignore
warning about our override, until Automake is fixed.
* README-hacking: Document minimum requirements for bootstrap.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix version number generation in man pages.
Eric Blake [Thu, 3 Apr 2008 22:45:11 +0000 (16:45 -0600)] 
Fix version number generation in man pages.

* Makefile.am (EXTRA_DIST): Distribute .version.
(.version): New rule.
* man/Makefile.am (common_dep): Depend on .version, not
configure.ac.
(.x.1): Use package name for version string.
* GNUmakefile [!_have-Makefile]: Sync from upstream, again.
* build-aux/git-version-gen: Sync from upstream.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMore maintainer tweaks: pass 'make maintainer-distcheck'.
Eric Blake [Thu, 3 Apr 2008 17:02:50 +0000 (11:02 -0600)] 
More maintainer tweaks: pass 'make maintainer-distcheck'.

* GNUmakefile (_is-dist-target): Sync from upstream.
* build-aux/vc-list-files: Sync from upstream, yet again.
* tests/atlocal.in (unsupported_fs_chars): Always remove tdir.
* tests/Makefile.am (EXTRA_DIST): Don't distribute the built
package.m4.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Bump year.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix VPATH 'make syntax-check'.
Eric Blake [Thu, 3 Apr 2008 14:31:37 +0000 (08:31 -0600)] 
Fix VPATH 'make syntax-check'.

* maint.mk (VC_LIST, VC_LIST_EXCEPT, sc_changelog)
(sc_prohibit_jm_in_m4, makefile-check): Support VPATH.
* build-aux/vc-list-files: Sync from upstream again.
* build-aux/texinfo.tex: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSync files from upstream, and pass 'make syntax-check'.
Eric Blake [Thu, 3 Apr 2008 12:22:48 +0000 (06:22 -0600)] 
Sync files from upstream, and pass 'make syntax-check'.

* config/announce-gen: Move...
* build-aux/announce-gen: ...here, and sync from gnulib.
* Makefile.am (EXTRA_DIST): Adjust accordingly.
* cfg.mk (announce_gen): Likewise.
(prev_version_file): Delete, relying on default in maint.mk.
(gpg_key_ID): New macro.
(url_dir_list): Rewrite to match coreutils.
* config/prev-version.txt: Move...
* .prev-version: ...here, and adjust to 2.61.
* build-aux/vc-list-files: Sync from coreutils.
* maint.mk: Resynchronize with coreutils, where possible.
(ME): Remove $(srcdir) from definition.
(CVS): Delete.
(GIT, VC, VC-tag): New macros.
(CVS_LIST, CVS_LIST_EXCEPT): Rename...
(VC_LIST, VC_LIST_EXCEPT): ...to this.
(cvs-tag-check): Delete.
(cvs-diff-check): Rename...
(vc-diff-check): ...to this.
(sc_file_system): Allow FHS acronym.
* doc/autoconf.texi (Particular Functions): Recommend
unconditional <config.h>.
* build-aux/config.guess: Sync from upstream (manually).
* build-aux/config.sub: Likewise.
* build-aux/texinfo.tex: Likewise.
* doc/make-stds.texi: Likewise.
* doc/standards.texi: Likewise.
* .gitattributes: Ignore whitespace problems in upstream files.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument awk printf %u bug on HP-UX/IA.
Ralf Wildenhues [Thu, 3 Apr 2008 06:04:34 +0000 (08:04 +0200)] 
Document awk printf %u bug on HP-UX/IA.

* doc/autoconf.texi (Limitations of Usual Tools): Mention awk %u
bug on HP-UX/IA.
Report by Peter O'Gorman.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoRecommend the just-released M4 1.4.11.
Eric Blake [Wed, 2 Apr 2008 19:21:33 +0000 (13:21 -0600)] 
Recommend the just-released M4 1.4.11.

* NEWS: Update recommendation.
* README: Likewise.
* doc/autoconf.texi (Introduction): Likewise.
* m4/m4.m4 (AC_PROG_GNU_M4): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix config.status --version.
Eric Blake [Tue, 1 Apr 2008 03:58:58 +0000 (21:58 -0600)] 
Fix config.status --version.

* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Bump
copyright year.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFind X11 on Mac OS X too.
Peter O'Gorman [Fri, 28 Mar 2008 17:37:23 +0000 (12:37 -0500)] 
Find X11 on Mac OS X too.

* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF):
Check for libX11 with extensions dylib la and dll too.
* THANKS: Update.
Reported by Martin Costabel.

17 years agoUpdate TODO based on completed tasks.
Eric Blake [Fri, 28 Mar 2008 14:42:39 +0000 (08:42 -0600)] 
Update TODO based on completed tasks.

* TODO (AC_PROG_INSTALL takes multiple files): Done.
(AC_GNU_SOURCE deprecation): Done, see AC_USE_SYSTEM_EXTENSIONS.
(AC_COMPILE_IFELSE documentation): Done.
(Tracing builtins): Done, now that we require M4 1.4.5.
(AC_PROG_CC_POSIX suggestion, providing header files)
(AC_TYPE_SIGNAL): Not needed; gnulib's approach is better.
(cache consistency): Done with precious variables.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument --trace=macro:format in --help output.
Eric Blake [Wed, 26 Mar 2008 02:34:43 +0000 (20:34 -0600)] 
Document --trace=macro:format in --help output.

* bin/autom4te.in (help): Mention optional trace format.
* bin/autoconf.as (usage): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoTypo fix.
Eric Blake [Wed, 26 Mar 2008 12:07:41 +0000 (06:07 -0600)] 
Typo fix.

* doc/autoconf.texi (Limitations of Usual Tools) <sed>: Fix
typos in last patch.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFix texinfo syntax error.
Jim Meyering [Wed, 26 Mar 2008 09:30:49 +0000 (10:30 +0100)] 
Fix texinfo syntax error.

* doc/autoconf.texi (Limitations of Usual Tools): s/@kbd {/@kbd{/

Signed-off-by: Jim Meyering <meyering@redhat.com>
17 years agoWarn, not fail on whitespace-only precious variable differences.
Ralf Wildenhues [Wed, 26 Mar 2008 05:55:22 +0000 (06:55 +0100)] 
Warn, not fail on whitespace-only precious variable differences.

* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Output
precious variable differences less ambiguous with `ugly-quotes'.
If their settings differ only in whitespace, do not fail, but
reuse the old value.
* tests/torture.at (AT_CHECK_AC_ARG_VAR): Extend macro to allow
an optional status and expected-warning argument.  Fix m4
quotation for initial value.
(AC_ARG_VAR): Also test for whitespace-only differences, and
that the old value is retained in this case.
* doc/autoconf.texi (Setting Output Variables): Document this.
* NEWS: Update.
Report and initial patch by Paolo Bonzini.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoDocument busybox sed bug.
Eric Blake [Wed, 26 Mar 2008 03:19:58 +0000 (21:19 -0600)] 
Document busybox sed bug.

* doc/autoconf.texi (Limitations of Usual Tools): Mention
restrictions when using back-references.
Reported by Vincent Lefevre:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13013>.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument Automake interaction with AC_CONFIG_MACRO_DIR.
Eric Blake [Wed, 26 Mar 2008 02:50:05 +0000 (20:50 -0600)] 
Document Automake interaction with AC_CONFIG_MACRO_DIR.

* doc/autoconf.texi (Input): Mention ACLOCAL_AMFLAGS for automake
users.
* THANKS: Update.
Reported by Chris Pickett.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years ago* tests/autotest.at (Using atlocal): Quote instances of `pwd`.
Ralf Wildenhues [Tue, 25 Mar 2008 06:35:29 +0000 (07:35 +0100)] 
* tests/autotest.at (Using atlocal): Quote instances of `pwd`.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFactorize m4 warning output normalization.
Ralf Wildenhues [Tue, 25 Mar 2008 06:01:49 +0000 (07:01 +0100)] 
Factorize m4 warning output normalization.

* tests/local.at (AT_CHECK_M4): Factorize warning output
normalization.
Suggested by Eric Blake.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix .exe-related test failure on MinGW.
Ralf Wildenhues [Mon, 24 Mar 2008 14:38:49 +0000 (15:38 +0100)] 
Fix .exe-related test failure on MinGW.

* tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
for comparing warning output.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix Fortran testsuite failures with gfortran 4.3.
Ralf Wildenhues [Mon, 24 Mar 2008 10:44:36 +0000 (11:44 +0100)] 
Fix Fortran testsuite failures with gfortran 4.3.

* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
verbose compiler output, skip lines that set variables; gfortran
4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS.
* THANKS: Update.
Report by Vincent Lefèvre.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* GNUmakefile: Resynchronize with gnulib.
Eric Blake [Sat, 22 Mar 2008 04:43:01 +0000 (22:43 -0600)] 
* GNUmakefile: Resynchronize with gnulib.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDocument more uses of $cross_compiling.
Eric Blake [Fri, 21 Mar 2008 19:27:01 +0000 (13:27 -0600)] 
Document more uses of $cross_compiling.

* doc/autoconf.texi (Runtime): Document that a temporary override
is permissible.
* THANKS: Update.
Reported by Ineiev, example by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoDon't swallow $1 in textual local variables.
Eric Blake [Fri, 21 Mar 2008 17:07:08 +0000 (11:07 -0600)] 
Don't swallow $1 in textual local variables.

* lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
expansion of text arguments, as that swallows $1.
(m4_text_wrap): Likewise, by splitting out...
(_m4_text_wrap): ...new helper macro.  Also, allow arbitrary
expression for width.
* tests/m4sugar.at (m4@&t@_text_wrap): Test this.
(m4@&t@_combine): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAvoid leftover files on Leopard.
Ralf Wildenhues [Fri, 21 Mar 2008 06:57:26 +0000 (07:57 +0100)] 
Avoid leftover files on Leopard.

* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove a.out.dSYM
directory created on darwin.
(AC_NO_EXECUTABLES): Likewise; also remove objects which may be
left over from a broken link.
* tests/c.at (AC_NO_EXECUTABLES (working linker))
(AC_NO_EXECUTABLES (broken linker)): New tests.
Report by Gary V. Vaughan.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAdd traces for AM_COND_IF.
Ralf Wildenhues [Thu, 20 Mar 2008 22:03:35 +0000 (23:03 +0100)] 
Add traces for AM_COND_IF.

* lib/autom4te.in (Automake-preselections): Trace
_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoKill more CVS references.
Eric Blake [Thu, 20 Mar 2008 20:14:44 +0000 (14:14 -0600)] 
Kill more CVS references.

* README-cvs: Delete.  See README-hacking instead.
* README-hacking: Update wording, based on older file.
* BUGS: Remove CVS mention.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSkip whitespace test if aclocal is not present.
Ralf Wildenhues [Thu, 20 Mar 2008 19:56:49 +0000 (20:56 +0100)] 
Skip whitespace test if aclocal is not present.

* tests/tools.at (autotools and whitespace in file names): Skip
if aclocal is not present.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoActually delete GNUmakefile.cfg this time.
Eric Blake [Thu, 20 Mar 2008 14:48:55 +0000 (08:48 -0600)] 
Actually delete GNUmakefile.cfg this time.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSync GNUmakefile with gnulib.
Eric Blake [Thu, 20 Mar 2008 13:18:23 +0000 (07:18 -0600)] 
Sync GNUmakefile with gnulib.

* GNUmakefile (Makefile.cfg): Rename...
(cfg.mk): ...to this, and make optional.
(GNUmakefile.cfg): Delete, redundant with cfg.mk.
(Makefile.maint): Rename...
(maint.mk): ...to this.
(all) [!_have-Makefile]: Rename...
(abort-due-to-no-makefile): ...to this, and invoke via
.DEFAULT_GOAL to pick up all targets.
* Makefile.cfg: Rename...
* cfg.mk: ...to this.
* Makefile.maint: Rename...
* maint.mk ...to this.
(ME): Reflect name change.
(makefile-check, m4-check, author_mark_check, msg): Use $(ME)
rather than hard-coded name.
* GNUmakefile.cfg: Delete; move rules into cfg.mk.
* Makefile.am (EXTRA_DIST): Reflect file name changes.
* .x-sc_prohibit_atoi_atof: Likewise.
* lib/freeze.mk: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years ago* doc/autoconf.texi (Introduction): Improve the paraphrase of
Stepan Kasal [Wed, 19 Mar 2008 10:52:35 +0000 (11:52 +0100)] 
* doc/autoconf.texi (Introduction): Improve the paraphrase of
Henry Spencer's quotation.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
17 years agoAC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.
Eric Blake [Wed, 19 Mar 2008 02:53:42 +0000 (20:53 -0600)] 
AC_CONFIG_HEADERS replaced AC_CONFIG_HEADER.

* bin/autoscan.in (output): Avoid obsolete spelling.
* tests/local.at (AC_STATE_SAVE): Update usage.
* THANKS: Update.
Reported by John Calcote.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoEmphasize that ease of configure triumphs over ease of autoconf.
Eric Blake [Wed, 19 Mar 2008 01:05:42 +0000 (19:05 -0600)] 
Emphasize that ease of configure triumphs over ease of autoconf.

* doc/autoconf.texi (Introduction): Expand on primary
vs. secondary goal of autoconf.
* THANKS: Update.
Inspired by Paul Smith.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoProvide a helpful message if autopoint or libtoolize do not exist.
Ralf Wildenhues [Mon, 17 Mar 2008 05:58:49 +0000 (06:58 +0100)] 
Provide a helpful message if autopoint or libtoolize do not exist.

* lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
$hint, show if the executing program does not exist.
(xsystem_hint): New function, like xsystem but allows to pass
a hint.
* bin/autoreconf.in: Use xsystem_hint for spawning autopoint and
libtoolize.
Report by Bruce Korb.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* tests/fortran.at, tests/mktests.sh, tests/wrapper.as: Fix typos.
Stepan Kasal [Fri, 14 Mar 2008 14:33:35 +0000 (15:33 +0100)] 
* tests/fortran.at, tests/mktests.sh, tests/wrapper.as: Fix typos.

17 years ago* lib/Autom4te/ChannelDefs.pm: Fix typos.
Stepan Kasal [Fri, 14 Mar 2008 13:59:58 +0000 (14:59 +0100)] 
* lib/Autom4te/ChannelDefs.pm: Fix typos.

17 years agoUse a more general GNUmakefile.
Jim Meyering [Wed, 12 Mar 2008 12:14:44 +0000 (13:14 +0100)] 
Use a more general GNUmakefile.

* GNUmakefile: Sync from coreutils.
* Makefile.am (EXTRA_DIST): Add GNUmakefile.cfg.
* GNUmakefile.cfg: New file.

17 years agoFix yesterday's regression in m4_wrap([$1]).
Eric Blake [Wed, 12 Mar 2008 02:05:49 +0000 (20:05 -0600)] 
Fix yesterday's regression in m4_wrap([$1]).

* lib/m4sugar/m4sugar.m4 (_m4_wrap): Don't directly invoke wrapped
text, since it may contain text that looks like parameters.
* tests/m4sh.at (AS@&t@_INIT cleanup): Enhance test.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoImprove error messages for common testsuite bugs.
Eric Blake [Wed, 5 Mar 2008 20:39:23 +0000 (13:39 -0700)] 
Improve error messages for common testsuite bugs.

* lib/autotest/general.m4 (_AT_DEFINE_INIT, _AT_DEFINE_SETUP): New
macros for defining order-enforced macros.
(AT_INIT, AT_SETUP, AT_CLEANUP, AT_BANNER, AT_XFAIL_IF)
(AT_CAPTURE_FILE, AT_DATA, AT_CHECK, AT_CHECK_NOESCAPE): Add error
messages when order violations are detected.
* tests/autotest.at (AT_CHECK_AT_SYNTAX): New helper macro.
(AT_SETUP without AT_INIT, AT_BANNER without AT_INIT)
(AT_CLEANUP without AT_INIT, Missing AT_CLEANUP)
(AT_CHECK without AT_SETUP, AT_DATA without AT_SETUP)
(AT_XFAIL_IF without AT_DATA, AT_KEYWORDS without AT_SETUP,
(AT_CLEANUP without AT_SETUP, AT_BANNER inside AT_SETUP)
(AT_SETUP inside AT_SETUP, Multiple AT_INIT)
(Banner-only test suite): New tests.
Reported by Christopher Hulbert.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoTweak m4_wrap to force FIFO or LIFO semantics.
Eric Blake [Tue, 11 Mar 2008 13:11:44 +0000 (07:11 -0600)] 
Tweak m4_wrap to force FIFO or LIFO semantics.

* lib/m4sugar/m4sugar.m4 (m4_wrap): Override M4 implementation.
(m4_wrap_lifo, _m4_wrap): New macros.
* lib/m4sugar/m4sh.m4 (AS_INIT): Combine all cleanup into known
order, prior to m4sugar's.
(_AS_DETECT_BETTER_SHELL): Use cleanup parameter, rather than
m4_wrap.
* lib/autotest/general.m4 (AT_INIT): Combine all cleanup into
known order, prior to m4sh's.
* doc/autoconf.texi (Diagnostic Macros) <m4_fatal>: Document
argument.
(Redefined M4 Macros) <m4_wrap>: Rewrite documentation to match
new behavior.
* tests/m4sh.at (AS_INIT cleanup): New test.
* NEWS: Document the change.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoEncode nested autotest data.
Eric Blake [Wed, 5 Mar 2008 16:32:04 +0000 (09:32 -0700)] 
Encode nested autotest data.

* tests/autotest.at (AT_CHECK_AT_PREP): Avoid raw AT_ in output.
(unusual file names): Likewise.
(m4_pattern_allow): Remove loophole, to make it easier to catch
poorly written tests.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoFactor some autotest tests.
Eric Blake [Wed, 5 Mar 2008 16:20:23 +0000 (09:20 -0700)] 
Factor some autotest tests.

* tests/autotest.at (AT_CHECK_AT_PREP): New macro, to factor out
common initialization.
(AT_CHECK_AT, Banners, Keywords and ranges, srcdir propagation)
(whitespace in absolute testdir, unusual file names): Use it.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMinor documentation fix.
Eric Blake [Thu, 6 Mar 2008 15:20:48 +0000 (08:20 -0700)] 
Minor documentation fix.

* doc/autoconf.texi (Evaluation Macros): Fix typo.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMake AT_CHECK act like a simple command.
Eric Blake [Tue, 4 Mar 2008 23:29:23 +0000 (16:29 -0700)] 
Make AT_CHECK act like a simple command.

* lib/autotest/general.m4 (_AT_CHECK): Wrap commands in {;}.
* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Test it.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoOn MinGW, substitution of CR and 0xFF fails.
Ralf Wildenhues [Tue, 4 Mar 2008 22:52:07 +0000 (23:52 +0100)] 
On MinGW, substitution of CR and 0xFF fails.

* tests/torture.at (Substitute and define special characters):
MinGW awk cannot handle 0xFF, and on MinGW, the test does the
wrong thing for CR.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoPull in recent maintainer improvements from coreutils.
Eric Blake [Tue, 4 Mar 2008 22:26:02 +0000 (15:26 -0700)] 
Pull in recent maintainer improvements from coreutils.

* GNUmakefile (_is-dist-target): 'make distclean' should not
trigger autoreconf.
(_dummy): Change directories before removing autom4te.cache.
(check dist distcheck install) [!_have-Makefile]: Provide nicer
diagnostics.
* configure.ac (AC_CONFIG_LINKS): Copy GNUmakefile into VPATH
builds, after initial bootstrap.
* Makefile.am (distclean-local): Work around current automake bug.
* Makefile.maint (ME): Allow VPATH usage.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoUse git-merge-changelog when available.
Eric Blake [Tue, 4 Mar 2008 22:13:25 +0000 (15:13 -0700)] 
Use git-merge-changelog when available.

* .gitattributes: New file.
* README-hacking: Document use of git-merge-changelog.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoWork around cygwin bug.
Eric Blake [Tue, 4 Mar 2008 22:02:22 +0000 (15:02 -0700)] 
Work around cygwin bug.

* tests/atlocal.in (unsupported_fs_chars): Avoid cygwin bug where
"touch 't\'" creates regular file 't'.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoIgnore tests that require read-only directories under root.
Eric Blake [Tue, 4 Mar 2008 21:28:54 +0000 (14:28 -0700)] 
Ignore tests that require read-only directories under root.

* tests/torture.at (AT_CHECK_CONFIG_CREATION_NOWRITE): Skip
no-write portion if user has root-like privileges.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years ago* lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
Ralf Wildenhues [Tue, 4 Mar 2008 06:36:58 +0000 (07:36 +0100)] 
* lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.