Merge the followup to bug 450194 (use AC_LANG_CPLUSPLUS for the -Wno-invalid-offsetof configure test)

This commit is contained in:
Benjamin Smedberg 2008-08-28 09:56:28 -04:00
commit 77db7cca56

View File

@ -1379,6 +1379,7 @@ if test "$GNU_CXX"; then
ac_has_wno_invalid_offsetof,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
_SAVE_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-invalid-offsetof"
AC_TRY_COMPILE([],