summaryrefslogtreecommitdiff
path: root/tests/depcomp2.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/depcomp2.test')
-rwxr-xr-xtests/depcomp2.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/depcomp2.test b/tests/depcomp2.test
index 2b4353c51..e8e4a6728 100755
--- a/tests/depcomp2.test
+++ b/tests/depcomp2.test
@@ -43,11 +43,12 @@ END
: > subdir/foo.c
# Ignore user CFLAGS.
-CFLAGS=
-export CFLAGS
+unset CFLAGS || :
$ACLOCAL
$AUTOMAKE --add-missing
$AUTOCONF
-./configure CC='gcc' 2>error.log
-test -z "`cat error.log`"
+./configure 2>stderr || { cat stderr >&2; Exit 1; }
+test ! -s stderr
+
+: