Sync from Automake.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Oct 2006 23:40:42 +0000 (23:40 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Oct 2006 23:40:42 +0000 (23:40 +0000)
commit79dc977cd1e43a271015416589e1a304be78ac69
treee44e5411e2e5d2c535238d8983b1b3770b58d3ee
parentcfead13def73da1aab4c182eb6cacc7c0e555d40
Sync 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  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

Sync from Automake.
* build-aux/depcomp (gcc3): Put dependency extraction flags before the
`-c' flag, so they appear at the same position as in %FASTDEP%
mode in depend2.am.  Fixes build failure for FreeBSD's c89,
which ignores unknown options only after the first non-option.
Bug report against M4 by Nelson H. F. Beebe.
ChangeLog
build-aux/depcomp
build-aux/install-sh