Re: [PATCH] [wayland] configure: better check for the C++ compiler

2017-03-08 Thread Yann E. MORIN
Peter, All, On 2017-03-08 16:52 +1000, Peter Hutterer spake thusly: > On Sun, Mar 05, 2017 at 03:17:36PM +0100, Yann E. MORIN wrote: > > When a C++ compiler is not found, then AC_PROG_CXX will set CXX to > > 'false'. > > urgh... that is a rather unexpected behaviour. > > > However, we test that

Re: [PATCH] [wayland] configure: better check for the C++ compiler

2017-03-07 Thread Peter Hutterer
On Sun, Mar 05, 2017 at 03:17:36PM +0100, Yann E. MORIN wrote: > When a C++ compiler is not found, then AC_PROG_CXX will set CXX to > 'false'. urgh... that is a rather unexpected behaviour. > However, we test that we can find $CXX, and idneed false exists in typo, "indeed", should be fixed on me

Re: [PATCH] [wayland] configure: better check for the C++ compiler

2017-03-07 Thread Yann E. MORIN
Bill, All, On 2017-03-07 10:12 -0800, Bill Spitzak spake thusly: > Why not just check if $CXX is "false". > > I really doubt anybody wants to run a C++ compiler named "false". At least, that way it is robust to any future change in autoconf, which could set it to "no" or "none" or whatever; it w

[PATCH] [wayland] configure: better check for the C++ compiler

2017-03-05 Thread Yann E. MORIN
When a C++ compiler is not found, then AC_PROG_CXX will set CXX to 'false'. However, we test that we can find $CXX, and idneed false exists in the PATH, for virtually all systems we have a chance to be compiled on. So we conclude that we do have a C++ compiler, when this is clearly wrong. Improve