fixed detection of missing C++ compiler added in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -16316,7 +16316,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
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:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
|
||||||
echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
|
echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
|
@@ -1473,7 +1473,7 @@ AC_BAKEFILE_PROG_CXX
|
|||||||
dnl configure always sets CXX to something as it falls back to g++ even if no
|
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 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 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])
|
AC_MSG_ERROR([C++ compiler is needed to build wxWidgets])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user