Fix portibility bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2006-10-28 01:15:16 +00:00
parent 22bea944d2
commit b2983f422f
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -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

View 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