Diff checksums with diff -w

to avoid line ending problems
This commit is contained in:
Jay Berkenbilt 2018-10-12 08:05:34 -04:00
parent a5ee55f2e8
commit b34cb54c5f
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ AC_CHECK_PROG(AUTOHEADER,autoheader,1,0)
AC_CHECK_PROG(ACLOCAL,aclocal,1,0)
AC_CHECK_PROG(MD5SUM,md5sum,1,0)
if test "$AUTOCONF$AUTOHEADER$ACLOCAL$MD5SUM" = "1111"; then
if ! md5sum configure.ac m4/* | diff - autofiles.sums; then
if ! md5sum configure.ac m4/* | diff -w - autofiles.sums; then
AC_MSG_ERROR(autofiles are autodated; rerun autogen.sh)
fi
fi