]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
The syntax ">&/dev/null" is csh-style, not bourne-style shell syntax.
authorMartin Kraemer <martin@apache.org>
Mon, 29 May 2006 08:37:43 +0000 (08:37 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 29 May 2006 08:37:43 +0000 (08:37 +0000)
Change it so that all bourne-style shells understand it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@410054 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 52a2630f9966afa0e44c121bdaf6552bfee4ef7c..3a8fce6ef0ef26f9572d05a9e7bd5798b15cd82a 100644 (file)
@@ -147,7 +147,7 @@ yes) AC_PATH_PROG(PCRE_CONFIG, pcre-config, false) ;;
        PCRE_CONFIG=$with_pcre
      fi
 
-     if $PCRE_CONFIG --version >&/dev/null; then :; else
+     if $PCRE_CONFIG --version >/dev/null 2>&1; then :; else
        AC_MSG_ERROR([Did not find pcre-config script at $PCRE_CONFIG])
      fi
      ;;