]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
The syntax ">&/dev/null" is csh-style, not bourne-style shell.
authorMartin Kraemer <martin@apache.org>
Mon, 29 May 2006 07:48:19 +0000 (07:48 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 29 May 2006 07:48:19 +0000 (07:48 +0000)
Change it so that all bourne-style shells understand it.
I am going to make the same fix in 2.2.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@410047 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 807adc67ce414ae61f9beaac8d88cef25e91cbfc..5bdaa13ee22e50e1e3d28eb65280af733b8b477e 100644 (file)
@@ -160,7 +160,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
      ;;