X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2905865228930b085dd967276a8f4de9578f276d..0797198341a1753f7f03569f69e9abdd2fd2ed14:/m4/cxx.m4 diff --git a/m4/cxx.m4 b/m4/cxx.m4 index 1d17e836..4394b049 100644 --- a/m4/cxx.m4 +++ b/m4/cxx.m4 @@ -29,7 +29,8 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER], [AC_LANG_PROGRAM( [#include using namespace std;], - [cout << "";])], + [std::cerr << ""; + cout << "";])], [bison_cv_cxx_works=yes], [bison_cv_cxx_works=no], [bison_cv_cxx_works=cross])