diff --git a/configure b/configure index 39f2a1acd2..352a9c79c3 100755 --- a/configure +++ b/configure @@ -1289,6 +1289,35 @@ else error_exit "\"$cc\" either does not exist or does not work" fi +# Check that the C++ compiler exists and works with the C compiler +if has $cxx; then + cat > $TMPC < $TMPC <