X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/209ea708c46245d853b73ca32c0c96375ae40b9f..cb530ce9e2687c6b1e51b77a29a9062ad52166b4:/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])