From: Wolfgang Bangerth Date: Tue, 28 Apr 2009 20:41:50 +0000 (+0000) Subject: Get the previous checkin right. X-Git-Tag: v8.0.0~7731 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95e03f12e2c39c97b3c8b5ac6bfcb89d5d1791ed;p=dealii.git Get the previous checkin right. git-svn-id: https://svn.dealii.org/trunk@18772 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index d83880452e..5cb9799ddf 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -4349,28 +4349,26 @@ AC_DEFUN(DEAL_II_CHECK_CTOR_DTOR_PRIVACY, dnl CXXFLAGS="-Wctor-dtor-privacy -Werror" AC_TRY_COMPILE( [ - ], - [ -template -struct IsInt -{ - private: - struct yes_type { char c[1]; }; - struct no_type { char c[2]; }; - - template - static yes_type check_for_int (const T *); + template + 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::value; + public: + static const bool value = (sizeof(check_for_int((T*)0)) + == + sizeof(yes_type)); + }; + + const bool x = IsInt::value; + ], + [ ], [ AC_MSG_RESULT(no) diff --git a/deal.II/configure b/deal.II/configure index 36dcd845c8..d615c02bdc 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 18739 . +# From configure.in Revision: 18770 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for deal.II 6.3.pre. # @@ -8250,31 +8250,29 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ + template + 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 -struct IsInt -{ - private: - struct yes_type { char c[1]; }; - struct no_type { char c[2]; }; + static no_type check_for_int (...); - template - 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::value; - public: - static const bool value = (sizeof(check_for_block_matrix - ((MatrixType*)0)) - == - sizeof(yes_type)); -}; +int +main () +{ -const bool x = IsInt::value; ; return 0;