From: Wolfgang Bangerth Date: Tue, 28 Apr 2009 20:46:27 +0000 (+0000) Subject: Hopefully last tweak: don't assume that we are in fact using a compiler that has... X-Git-Tag: v8.0.0~7730 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62844adf766b6e1e4b2f903d48e498ea79ab9be4;p=dealii.git Hopefully last tweak: don't assume that we are in fact using a compiler that has -Wctor-dtor-privacy. git-svn-id: https://svn.dealii.org/trunk@18774 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 5cb9799ddf..b14307a0b0 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -4346,7 +4346,7 @@ AC_DEFUN(DEAL_II_CHECK_CTOR_DTOR_PRIVACY, dnl if test "x$GXX" = "xyes" ; then AC_MSG_CHECKING(for problem with -Wctor-dtor-privacy) AC_LANG(C++) - CXXFLAGS="-Wctor-dtor-privacy -Werror" + CXXFLAGS="$CXXFLAGSG -Werror" AC_TRY_COMPILE( [ template diff --git a/deal.II/configure b/deal.II/configure index d615c02bdc..1cd37a3fc5 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -8242,7 +8242,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - CXXFLAGS="-Wctor-dtor-privacy -Werror" + CXXFLAGS="$CXXFLAGSG -Werror" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF