I'm not sure whether this patch is (at least partly) overkill,
so I'd be glad about some feedback on this; thanks.
When the user has CDPATH set, a 'cd $dir' may end up someplace
unwanted (plus produce extraneous output), iff $dir is a relative
directory not beginning with a dot.
Now, the part I'm
* m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
first argument of `enable' or `disable', setting the default.
* doc/automake.texi (Optional, maintainer-mode): Document.
* tests/mmode.test: New test.
* tests/Makefile.am: Adjust.
* NEWS: Update.
Suggestion by Vincent Lefevre.
Signed-o
Ralf Wildenhues gmx.de> writes:
> Somebody please check what I'm currently not seeing in the m4 fu I
> tried (the test fails, because there is something wrong in
> m4/maintainer.m4). Also a review of the rest would be nice as well.
>
> +[m4_if(m4_default([$1], [disable]),
s/m4_if/m4_case/
>