From b2983f422fcd9dc9a9e1ac4fbfd9d7287627238d Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sat, 28 Oct 2006 01:15:16 +0000 Subject: [PATCH] Fix portibility bug. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 6 +++--- configure.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index e2af5464c2..d8e90b30cc 100755 --- 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 diff --git a/configure.in b/configure.in index ab9af90613..6b6c71f37b 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.2