]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 May 2004 06:48:24 +0000 (06:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 May 2004 06:48:24 +0000 (06:48 +0000)
the user with complaints about multiple -e options.

lib/autoconf/programs.m4

index 089270e50e770cb9f8ce88416e2da574e2ab65bd..5b8b394e14cda37c14a7f591369359e294ad0e97 100644 (file)
@@ -471,7 +471,7 @@ m4_define([_AC_FEATURE_CHECK_LENGTH],
     mv "$tmp/conftest.tmp" "$tmp/conftest.in"
     cp "$tmp/conftest.in" "$tmp/conftest.nl"
     echo '$4' >> "$tmp/conftest.nl"
-    $3 < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
+    $3 < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
     diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
     ac_count=`expr $ac_count + 1`
     if test $ac_count -gt ${$1_max-0}; then