Mercurial > hg > octave-lyh > gnulib-hg
changeset 9747:33ce4386f256
bootstrap: sync from coreutils again
* build-aux/bootstrap: Remove dangling m4/*.m4 symlinks.
Signed-off-by: Jim Meyering <meyering@redhat.com>
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 02 Mar 2008 17:17:28 +0100 |
parents | 369ef3611137 |
children | c0c8409cb7a2 |
files | ChangeLog build-aux/bootstrap |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-02 Jim Meyering <meyering@redhat.com> + + bootstrap: sync from coreutils again + * build-aux/bootstrap: Remove dangling m4/*.m4 symlinks. + 2008-03-01 Jim Meyering <meyering@redhat.com> bootstrap: sync from coreutils
--- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -546,6 +546,16 @@ done fi +# Remove any dangling symlink matching "*.m4" in the gnulib-populated +# $m4_base directory, since such a file would cause aclocal to fail. +# The following requires GNU find 4.2.3 or newer. Considering the usual +# portability constraints of this script, that may seem a very demanding +# requirement, but it should be ok. Ignore any failure, which is fine, +# since this is only a convenience to help developers avoid the relatively +# unusual case in which a symlinked-to .m4 file is git-removed from gnulib +# between successive runs of this script. +find "$m4_base" -name '*.m4' -depth -type l -xtype l -delete > /dev/null 2>&1 + # Reconfigure, getting other files. for command in \