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:
parent
22bea944d2
commit
b2983f422f
6
configure
vendored
6
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user