git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42564
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
then
wx_cv_gcc_pch_bug=
- if $CXX -o conftest conftest.cpp >/dev/null 2>&1
+ if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
then
- if tr -dc '[a-z]' < conftest | grep awidetest >/dev/null
+ if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
+ grep awidetest >/dev/null
then
wx_cv_gcc_pch_bug=no
else
fi
fi
- rm -f conftest.h conftest.gch conftest.cpp conftest
+ rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
fi
echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
then
wx_cv_gcc_pch_bug=
- if $CXX -o conftest conftest.cpp >/dev/null 2>&1
+ if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
then
- if tr -dc '[a-z]' < conftest | grep awidetest >/dev/null
+ if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
+ grep awidetest >/dev/null
then
wx_cv_gcc_pch_bug=no
else
fi
fi
- rm -f conftest.h conftest.gch conftest.cpp conftest
+ rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
]])
if test "$wx_cv_gcc_pch_bug" = yes; then