summaryrefslogtreecommitdiff
path: root/t/distcheck-configure-flags-am.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/distcheck-configure-flags-am.sh')
-rw-r--r--t/distcheck-configure-flags-am.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/t/distcheck-configure-flags-am.sh b/t/distcheck-configure-flags-am.sh
index e3f4bd800..097ce4ee2 100644
--- a/t/distcheck-configure-flags-am.sh
+++ b/t/distcheck-configure-flags-am.sh
@@ -37,11 +37,6 @@ END
$ACLOCAL
$AUTOMAKE
-$FGREP '$(DISTCHECK_CONFIGURE_FLAGS)' Makefile.in
-$FGREP '$(AM_DISTCHECK_CONFIGURE_FLAGS)' Makefile.in
-grep 'DISTCHECK_CONFIGURE_FLAGS.*AM_DISTCHECK_CONFIGURE_FLAGS' Makefile.in \
- && exit 1
-
$AUTOCONF
./configure --enable-success sentence='it works :-)'
@@ -59,8 +54,8 @@ END
$AUTOMAKE Makefile
./config.status Makefile
-run_make -e FAIL -M distcheck
-grep "^configure:.* success='no', sentence='it works :-)'" output
+run_make -E -e FAIL distcheck
+grep "^configure:.* success='no', sentence='it works :-)'" stderr
$MAKE distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-success=yes"