]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Regenerate.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 May 2002 13:11:09 +0000 (13:11 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 May 2002 13:11:09 +0000 (13:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@5825 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/config.h.in
deal.II/configure

index f2b015b1d5bbe078366bb581a85b6004057c5d59..baab8808fc8f9e272c8db5c658c2c0698a04caec 100644 (file)
    directory for a description of this bug. */
 #undef DEAL_II_MEMBER_OP_TEMPLATE_INST
 
+/* Defined if the compiler refuses to allow the explicit specialization of
+   static member variables. For the exact failure mode, look at aclocal.m4 in
+   the top-level directory. */
+#undef DEAL_II_MEMBER_VAR_SPECIALIZATION_BUG
+
 /* Minor version number of deal.II */
 #undef DEAL_II_MINOR
 
index 15ffab0b831a8f78f89796e13d6769f5c2792675..1222317079572e074d8318d706a0d8a31c4c3cfd 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.111 .
+# From configure.in Revision: 1.112 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53a.
 #
@@ -4337,6 +4337,72 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
+
+  echo "$as_me:$LINENO: checking for member variable specialization bug" >&5
+echo $ECHO_N "checking for member variable specialization bug... $ECHO_C" >&6
+  ac_ext=cc
+ac_cpp='$CXXCPP $CPPFLAGS'
+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"
+  cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+       template <int dim> struct T {
+           static const int i;
+       };
+
+       template <> const int T<1>::i;
+       template <> const int T<1>::i = 1;
+
+#ifdef F77_DUMMY_MAIN
+#  ifdef __cplusplus
+     extern "C"
+#  endif
+   int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+
+      echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+
+else
+  echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+
+      echo "$as_me:$LINENO: result: yes. using workaround" >&5
+echo "${ECHO_T}yes. using workaround" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define DEAL_II_MEMBER_VAR_SPECIALIZATION_BUG 1
+_ACEOF
+
+
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext
 
@@ -4441,7 +4507,7 @@ cat conftest.$ac_ext >&5
 
           echo "$as_me:$LINENO: result: not available" >&5
 echo "${ECHO_T}not available" >&6
-         x="(not available)"
+         x="\"(not available)\""
 
 fi
 rm -f conftest.$ac_objext conftest.$ac_ext

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.