]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix order of compiler flags in the DEAL_II_CHECK_ABORT test. This fix is needed for...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Mar 2004 09:54:29 +0000 (09:54 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Mar 2004 09:54:29 +0000 (09:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@8696 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 44813481a5614f06f9d997a084bbabd4265a2776..ff01a514a658b13a3e4a96ee68dc06b324ccc76d 100644 (file)
@@ -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 <cstdlib>
index 0e4f390e0faecf9acf5993b2657b895591f16539..f67578ac58e839fd447a9f053c7c0a0561911cbc 100755 (executable)
@@ -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.  */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.