]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use proper syntax in compile test.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Jun 2011 23:49:41 +0000 (23:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Jun 2011 23:49:41 +0000 (23:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@23885 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 0042b549694beafb16994d46e16c825f5c2b4007..698c8b10a3cf218e21cdaa88b58477b3d89c5a42 100644 (file)
@@ -6550,7 +6550,10 @@ AC_DEFUN(DEAL_II_CHECK_TRILINOS_HEADER_FILES, dnl
     CXX_FLAGS_SAVED="$CXXFLAGS"
     CXXFLAGS="$CXXFLAGSG -I$DEAL_II_TRILINOS_INCDIR"
     AC_MSG_CHECKING([whether Sacado_cmath.hpp is C++11 compatible])
-    AC_TRY_COMPILE([Sacado_cmath.hpp],
+    AC_TRY_COMPILE(
+      [
+        #include <Sacado_cmath.hpp>
+      ],
       [;],
       [
         AC_MSG_RESULT([yes])
index e8265b647ff12b454031eaac4615ec062bc7cc6b..0fe0673821fd5cee781f21dfd6a97072c1143b8d 100755 (executable)
@@ -10908,7 +10908,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 $as_echo_n "checking whether Sacado_cmath.hpp is C++11 compatible... " >&6; }
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-Sacado_cmath.hpp
+
+        #include <Sacado_cmath.hpp>
+
 int
 main ()
 {

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.