From: hartmann Date: Tue, 9 Mar 2004 09:54:29 +0000 (+0000) Subject: Fix order of compiler flags in the DEAL_II_CHECK_ABORT test. This fix is needed for... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629e03f2247e387ec23f7b4911e269ea7e4f3588;p=dealii-svn.git Fix order of compiler flags in the DEAL_II_CHECK_ABORT test. This fix is needed for MIPSpro git-svn-id: https://svn.dealii.org/trunk@8696 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 44813481a5..ff01a514a6 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1481,7 +1481,7 @@ AC_DEFUN(DEAL_II_CHECK_ABORT, dnl [ AC_MSG_CHECKING([for exception specifications on abort()]) AC_LANG(C++) - CXXFLAGS="$CXXFLAGSG -Werror" + CXXFLAGS="-Werror $CXXFLAGSG" AC_TRY_COMPILE( [ #include diff --git a/deal.II/configure b/deal.II/configure index 0e4f390e0f..f67578ac58 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision. +# From configure.in Revision: 1.164 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -6153,7 +6153,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="$CXXFLAGSG -Werror" + CXXFLAGS="-Werror $CXXFLAGSG" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */