X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fbootstrap;h=9a85762014de6d765dd61918b846522ab6c8ff26;hb=562bd0a0f75b014c38b6ff0a712331270d8770bc;hp=1a24e82db084c3369783009bbc143e235e6bd8a9;hpb=4f4b3279ed99b823c04f09e990bfe6b13b7a00c1;p=gnulib.git diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 1a24e82db..9a8576201 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -416,7 +416,7 @@ version_controlled_file() { elif test -d .git; then git rm -n "$dir/$file" > /dev/null 2>&1 && found=yes elif test -d .svn; then - svn log -r HEAD "$dir/$file" > /dev/null 2>&1 && found=yes + svn log -r HEAD "$dir/$file" > /dev/null 2>&1 && found=yes else echo "$0: no version control for $dir/$file?" >&2 fi @@ -548,15 +548,17 @@ if test -f $mam_template; then done fi -# Remove any dangling symlink matching "*.m4" in the gnulib-populated -# $m4_base directory, since such a file would cause aclocal to fail. +# Remove any dangling symlink matching "*.m4" or "*.[ch]" in some +# gnulib-populated directories. Such .m4 files 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 +find "$m4_base" "$source_base" \ + -depth \( -name '*.m4' -o -name '*.[ch]' \) \ + -type l -xtype l -delete > /dev/null 2>&1 # Reconfigure, getting other files.