diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-15 05:37:43 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-15 05:37:43 -0500 |
commit | 989600e64b9e3e5ea894e317c50b25c1abfb6cf8 (patch) | |
tree | ebb9162af7b15e2f55bd317000429e57eda6d5ea | |
parent | tests: fix swapped arg parsing with at dirfd (diff) | |
download | sandbox-989600e64b9e3e5ea894e317c50b25c1abfb6cf8.tar.gz sandbox-989600e64b9e3e5ea894e317c50b25c1abfb6cf8.tar.bz2 sandbox-989600e64b9e3e5ea894e317c50b25c1abfb6cf8.zip |
scrub generated m4 files before rebuilding autotools
When the local m4 code is a diff version of libtool, updating in place
likes to generate ugly harmless warnings. But I don't want to see them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,10 @@ # we'll generate ChangeLog when doing `make dist` touch ChangeLog +# avoid ugly warnings due to mismatch between local libtool and +# whatever updated version is on the host +find m4/*.m4 '!' -name 'ax_*.m4' -delete 2>/dev/null + # not everyone has sys-devel/autoconf-archive installed for macro in $(grep -o '\<AX[A-Z_]*\>' configure.ac | sort -u) ; do if m4=$(grep -rl "\[${macro}\]" /usr/share/aclocal/) ; then |