autoconf: fixup do_check.

Closes #9375.
This commit is contained in:
maxice8 2017-11-20 16:36:32 -02:00 committed by Enno Boland
parent dd231e7a14
commit 7f2e0d86b4

View file

@ -13,10 +13,8 @@ homepage="http://www.gnu.org/software/autoconf"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
do_check() {
pre_check() {
# Disable failing test by adding
# AT_XFAIL_IF([:])
sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
make check
}