Followup to bug 450194 - use AC_LANG_CPLUSPLUS, stupid mistake pointed out by Peter Weilbacker

This commit is contained in:
Benjamin Smedberg 2008-08-28 09:31:57 -04:00
parent 2a8eed4baa
commit 0ab760af8d

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([],