diff -up brlcad-7.12.0/m4/compiler.m4.includes_m4 brlcad-7.12.0/m4/compiler.m4 --- brlcad-7.12.0/m4/compiler.m4.includes_m4 2008-03-20 19:09:54.000000000 +0100 +++ brlcad-7.12.0/m4/compiler.m4 2008-04-21 14:16:29.000000000 +0200 @@ -68,6 +68,9 @@ m4_popdef([AC_TRY_EVAL]) rm -f conftest.err AC_TRY_RUN( [ #include +#ifdef __cplusplus +#include +#endif int main(){exit(0);} ], [], [bc_[$2]_works=no]) AC_MSG_RESULT($bc_[$2]_works) @@ -162,6 +165,9 @@ fi AC_MSG_CHECKING([$__msg]) AC_TRY_RUN([ #include +#ifdef __cplusplus +#include +#endif int main(){exit(0);} ], [ AC_MSG_RESULT(yes) ],