summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f9c980f)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45932
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-if test -n "$ac_cv_prog_ac_ct_CXX"; then
+if test "$CXX" = "g++" -a "$GXX" != "yes"; then
{ { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
{ (exit 1); exit 1; }; }
{ { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
{ (exit 1); exit 1; }; }
dnl configure always sets CXX to something as it falls back to g++ even if no
dnl C++ compiler was found, but we prefer to abort now with a clear error
dnl message rather than give errors about all tests failures below
dnl configure always sets CXX to something as it falls back to g++ even if no
dnl C++ compiler was found, but we prefer to abort now with a clear error
dnl message rather than give errors about all tests failures below
-if test -n "$ac_cv_prog_ac_ct_CXX"; then
+if test "$CXX" = "g++" -a "$GXX" != "yes"; then
AC_MSG_ERROR([C++ compiler is needed to build wxWidgets])
fi
AC_MSG_ERROR([C++ compiler is needed to build wxWidgets])
fi