Fix for the compiler checks. The compiler flags like SUNCC and SUNCXX were

only being set when language being tested matched the current language, so
C++ flags weren't being set since we changed the default language back to C.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2006-12-09 22:04:53 +00:00
parent 164e8d41ae
commit b71ff4d35d

View File

@ -89,12 +89,12 @@ AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
)
]
)
AC_LANG_POP($2)
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then
:; $4
else
:; $5
fi
AC_LANG_POP($2)
])
dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION