From: maier Date: Sun, 23 Sep 2012 21:34:27 +0000 (+0000) Subject: Update config.h.in.old X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e1a1a193ef21f757d4aff76396fbf9892c5385;p=dealii-svn.git Update config.h.in.old git-svn-id: https://svn.dealii.org/branches/branch_cmake@26652 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/config.h.in.old b/deal.II/include/deal.II/base/config.h.in.old index e4a8cc692d..3dfa5c252f 100644 --- a/deal.II/include/deal.II/base/config.h.in.old +++ b/deal.II/include/deal.II/base/config.h.in.old @@ -1,3 +1,43 @@ +TODO: + +/* enable multigrid compatibility mode */ +#cmakedefine DEAL_II_MULTIGRID_COMPATIBILITY + +/* Defined if the system stores words with the most significant byte first */ +#cmakedefine DEAL_II_WORDS_BIGENDIAN + +/* Define to 1 if you have the `gethostname' function. */ +#cmakedefine HAVE_GETHOSTNAME + +/* Define to 1 if you have the `getpid' function. */ +#cmakedefine HAVE_GETPID + +/* Define if you have the rand_r function */ +#cmakedefine HAVE_RAND_R + +/* Define to 1 if you have the `times' function. */ +#cmakedefine HAVE_TIMES + +/* Define to 1 if you have the `jn' function. */ +#cmakedefine HAVE_JN + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + + + + +BUGS: + /* Define if building universal (internal helper macro) */ #cmakedefine AC_APPLE_UNIVERSAL_BUILD @@ -96,9 +136,6 @@ the top-level directory. */ #cmakedefine DEAL_II_MEMBER_VAR_SPECIALIZATION_BUG -/* enable multigrid compatibility mode */ -#cmakedefine DEAL_II_MULTIGRID_COMPATIBILITY - /* Define if we have to work around a bug in gcc with marking all instances of a template class as friends to this class if the class is inside a namespace. See the aclocal.m4 file in the top-level directory for a @@ -168,96 +205,87 @@ linking. For the details, look at aclocal.m4 in the top-level directory. */ #cmakedefine DEAL_II_WEAK_LINKAGE_BUG -/* Defined if the system stores words with the most significant byte first */ -#cmakedefine DEAL_II_WORDS_BIGENDIAN +/* On SunOS 4.x, the getrusage() function exists, but is not declared in the + respective header file , as one would think when reading the + man pages. Then we have to declare this function ourselves in those files + that use this function. The question whether we have to do so is controlled + by the preprocessor variable. */ +#cmakedefine NO_HAVE_GETRUSAGE + + +OBSOLETE: /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_AMESOS_H +#cmakedefine HAVE_AMESOS_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_AZTECOO_H +#cmakedefine HAVE_AZTECOO_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_AZTECOO_OPERATOR_H +#cmakedefine HAVE_AZTECOO_OPERATOR_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_CRSGRAPH_H +#cmakedefine HAVE_EPETRA_CRSGRAPH_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_CRSMATRIX_H +#cmakedefine HAVE_EPETRA_CRSMATRIX_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_IMPORT_H +#cmakedefine HAVE_EPETRA_IMPORT_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_LINEARPROBLEM_H +#cmakedefine HAVE_EPETRA_LINEARPROBLEM_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_MAP_H +#cmakedefine HAVE_EPETRA_MAP_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_MULTIVECTOR_H +#cmakedefine HAVE_EPETRA_MULTIVECTOR_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_OPERATOR_H +#cmakedefine HAVE_EPETRA_OPERATOR_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_SERIALCOMM_H +#cmakedefine HAVE_EPETRA_SERIALCOMM_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EPETRA_VECTOR_H - -/* Define to 1 if you have the `gethostname' function. */ -#cmakedefine HAVE_GETHOSTNAME - -/* Define to 1 if you have the `getpid' function. */ -#cmakedefine HAVE_GETPID - -/* Availability of the MA27 algorithm from HSL */ -#cmakedefine HAVE_HSL_MA27 - -/* Availability of the MA47 algorithm from HSL */ -#cmakedefine HAVE_HSL_MA47 +#cmakedefine HAVE_EPETRA_VECTOR_H # obosolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_IFPACK_H +#cmakedefine HAVE_IFPACK_H # obsolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_INTTYPES_H - -/* Define to 1 if you have the `jn' function. */ -#cmakedefine HAVE_JN +#cmakedefine HAVE_INTTYPES_H # obsolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_MEMORY_H +#cmakedefine HAVE_MEMORY_H # obsolete?! /* Define to 1 if you have the header file. */ #cmakedefine HAVE_ML_MULTILEVELPRECONDITIONER_H -/* Define if you have the rand_r function */ -#cmakedefine HAVE_RAND_R - /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_SACADO_HPP +#cmakedefine HAVE_SACADO_HPP # obsolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_TEUCHOS_PARAMETERLIST_HPP +#cmakedefine HAVE_TEUCHOS_PARAMETERLIST_HPP # obsolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_TEUCHOS_RCP_HPP +#cmakedefine HAVE_TEUCHOS_RCP_HPP # obsolete?! /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_TEUCHOS_REFCOUNTPTR_HPP +#cmakedefine HAVE_TEUCHOS_REFCOUNTPTR_HPP # obsolete?! -/* Define to 1 if you have the `times' function. */ -#cmakedefine HAVE_TIMES -/* On SunOS 4.x, the getrusage() function exists, but is not declared in the - respective header file , as one would think when reading the - man pages. Then we have to declare this function ourselves in those files - that use this function. The question whether we have to do so is controlled - by the preprocessor variable. */ -#cmakedefine NO_HAVE_GETRUSAGE + +TODO: + + + +/* Availability of the MA27 algorithm from HSL */ +#cmakedefine HAVE_HSL_MA27 + +/* Availability of the MA47 algorithm from HSL */ +#cmakedefine HAVE_HSL_MA47 /* Make sure PETSc doesn't re-define the underscore through the preprocessor, since this interferes with boost. PETSc redefines the underscore to be @@ -266,17 +294,6 @@ then of course isn't valid any more. See mails in early Feb 2006. */ #cmakedefine PETSC_SKIP_UNDERSCORE_CHKERR -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -# undef WORDS_BIGENDIAN -# endif -#endif /** * A #define that indicates whether we are using the Microsoft