]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix portibility bug.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 28 Oct 2006 01:15:16 +0000 (01:15 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 28 Oct 2006 01:15:16 +0000 (01:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index e2af5464c2e3d7089f7ccc7d63c04fe0ffa53083..d8e90b30cc7e8f0ba266c6c00289b80d1fde2237 100755 (executable)
--- a/configure
+++ b/configure
@@ -47212,17 +47212,17 @@ else
             wx_cv_gcc_pch_bug=no
             echo 'const wchar_t test_var[] = L"wide string";' > conftest.h
 
-            if $CXX conftest.h >& /dev/null
+            if $CXX conftest.h >/dev/null 2>&1
             then
                 {
                     echo '#include "conftest.h"'
                     echo 'const wchar_t *test() { return test_var; }'
                 } > conftest.cpp
 
-                if $CXX -c -o conftest.o conftest.cpp >& /dev/null
+                if $CXX -c -o conftest.o conftest.cpp >/dev/null 2>&1
                 then
                     tr -dc 'a-z' < conftest.o |
-                        grep 'widestring' >/dev/null ||
+                        grep 'widestring' >/dev/null ||
                         wx_cv_gcc_pch_bug=yes
                 fi
             fi
index ab9af906133f0f528f0322dcd5e1e8f76ed66fb9..6b6c71f37b66e56b3404e04a9615a754830d2969 100644 (file)
@@ -7621,17 +7621,17 @@ then
             wx_cv_gcc_pch_bug=no
             echo 'const wchar_t test_var[] = L"wide string";' > conftest.h
 
-            if $CXX conftest.h >& /dev/null
+            if $CXX conftest.h >/dev/null 2>&1
             then
                 {
                     echo '#include "conftest.h"'
                     echo 'const wchar_t *test() { return test_var; }'
                 } > conftest.cpp
 
-                if $CXX -c -o conftest.o conftest.cpp >& /dev/null
+                if $CXX -c -o conftest.o conftest.cpp >/dev/null 2>&1
                 then
                     tr -dc 'a-z' < conftest.o |
-                        grep 'widestring' >/dev/null ||
+                        grep 'widestring' >/dev/null ||
                         wx_cv_gcc_pch_bug=yes
                 fi
             fi