]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Take patch 18772 from mainline: Get previous patch right.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Apr 2009 20:42:33 +0000 (20:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Apr 2009 20:42:33 +0000 (20:42 +0000)
git-svn-id: https://svn.dealii.org/branches/releases/Branch-6-2@18773 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d83880452e84f619c3a65302939e313cee5e4c0b..5cb9799ddf1d3bba67a50bc33b8dc11fc12a724d 100644 (file)
@@ -4349,28 +4349,26 @@ AC_DEFUN(DEAL_II_CHECK_CTOR_DTOR_PRIVACY, dnl
     CXXFLAGS="-Wctor-dtor-privacy -Werror"
     AC_TRY_COMPILE(
       [
-      ],
-      [
-template <typename T>
-struct IsInt
-{
-  private:
-    struct yes_type { char c[1]; };
-    struct no_type  { char c[2]; };
-
-    template <typename T>
-    static yes_type check_for_int (const T *);
+        template <typename T>
+        struct IsInt
+        {
+          private:
+            struct yes_type { char c[1]; };
+            struct no_type  { char c[2]; };
 
-    static no_type check_for_int (...);
+            static yes_type check_for_int (const int *);
 
-  public:
-    static const bool value = (sizeof(check_for_block_matrix
-                                     ((MatrixType*)0))
-                              ==
-                              sizeof(yes_type));
-};
+            static no_type check_for_int (...);
 
-const bool x = IsInt<double>::value;
+          public:
+            static const bool value = (sizeof(check_for_int((T*)0))
+                                      ==
+                                      sizeof(yes_type));
+        };
+        
+        const bool x = IsInt<double>::value;
+      ],
+      [
       ],
       [
         AC_MSG_RESULT(no)
index 9e9c7e3a89144c60df214f435093e63dfa28f992..f3563cc07101ed3f875885fe9f2d1bdf97db9271 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 18740 .
+# From configure.in Revision: 18771 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for deal.II 6.2.0.
 #
@@ -8250,31 +8250,29 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+        template <typename T>
+        struct IsInt
+        {
+          private:
+            struct yes_type { char c[1]; };
+            struct no_type  { char c[2]; };
 
-int
-main ()
-{
+            static yes_type check_for_int (const int *);
 
-template <typename T>
-struct IsInt
-{
-  private:
-    struct yes_type { char c[1]; };
-    struct no_type  { char c[2]; };
+            static no_type check_for_int (...);
 
-    template <typename T>
-    static yes_type check_for_int (const T *);
+          public:
+            static const bool value = (sizeof(check_for_int((T*)0))
+                                      ==
+                                      sizeof(yes_type));
+        };
 
-    static no_type check_for_int (...);
+        const bool x = IsInt<double>::value;
 
-  public:
-    static const bool value = (sizeof(check_for_block_matrix
-                                     ((MatrixType*)0))
-                              ==
-                              sizeof(yes_type));
-};
+int
+main ()
+{
 
-const bool x = IsInt<double>::value;
 
   ;
   return 0;

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.