]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Last Update
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 16:15:50 +0000 (16:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 16:15:50 +0000 (16:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26854 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/TODO.CMAKE
deal.II/cmake/features.m4

index 095a7ca394710db6564152205254cc1e701e736d..b5c026eab9aac4b649290820cf3e68ffce6ef30c 100644 (file)
@@ -25,6 +25,9 @@ Major:
 
 * Port the testsuite to cmake
 
+* Rename all DEAL_II_USE_* and HAVE_LIB* that refer to a feature to
+  DEAL_II_WITH_*.
+
 
 Minor:
 
index 02e0474e235d8a11943fdb249f0b314a5f9270c0..8cce67e9183b748a7b75a1434a1b7e240bfce007 100644 (file)
@@ -232,82 +232,3 @@ AC_DEFUN(DEAL_II_CONFIGURE_MUMPS, dnl
      AC_MSG_RESULT([no])
     ])
 
-  dnl ------------------------------------------------------------
-  dnl If MUMPS was requested and found, we had better check for
-  dnl dependencies right here. First, SCALAPACK and then BLACS.
-  if test "$USE_CONTRIB_MUMPS" = "yes" ; then
-  dnl So here it goes...
-
-    dnl ------------------------------------------------------------
-    dnl Check whether SCALAPACK is installed
-    AC_MSG_CHECKING([for SCALAPACK library directory])
-    AC_ARG_WITH(scalapack,
-      [AS_HELP_STRING([--with-scalapack=path/to/scalapack],
-      [Specify the path to the scalapack installation; use this if you want to override the SCALAPACK_DIR environment variable.])],
-      [dnl action-if-given (test)
-       DEAL_II_SCALAPACK_DIR="$withval"
-       AC_MSG_RESULT($DEAL_II_SCALAPACK_DIR)
-       dnl Make sure that what was specified is actually correct
-       if test ! -d $DEAL_II_SCALAPCK_DIR ; then
-         AC_MSG_ERROR([The path to SCALAPACK specified with --with-scalapack does t point to a complete SCALAPACK installation])
-       fi
-      ],
-      [dnl action-if-not-given (bail out)
-       AC_MSG_ERROR([If MUMPS is used, the path to SCALAPACK must be specified with --with-scalapack])
-      ])
-    dnl ------------------------------------------------------------
-
-    dnl ------------------------------------------------------------
-    dnl Check whether BLACS is installed and BLAS architecture type
-    AC_MSG_CHECKING([for BLACS library directory])
-    AC_ARG_WITH(blacs,
-      [AS_HELP_STRING([--with-blacs=path/to/blacs],
-      [Specify the path to the BLACS installation; use this if you want to override the BLACS_DIR environment variable.])],
-      [dnl action-if-given
-       DEAL_II_BLACS_DIR="$withval"
-       AC_MSG_RESULT($DEAL_II_BLACS_DIR)
-       dnl Make sure that what was specified is actually correct
-       if test ! -d $DEAL_II_BLACS_DIR     \
-            -o ! -d $DEAL_II_BLACS_DIR/LIB ; then
-       AC_MSG_ERROR([The path to BLACS specified with --with-blacs does not point to a complete BLACS installation])
-       fi
-      ],
-      [dnl action-if-not-given (bail out)
-       AC_MSG_ERROR([If MUMPS is used, the path to BLACS must be specified with --with-blacs])
-      ])
-
-    dnl BLACS labels libraries with "communications library",
-    dnl "platform type" and "debug level" (see BLACS Bmake.inc for
-    dnl details of the meaning of these terms). Finally, determine what
-    dnl these are:
-    AC_MSG_CHECKING([for BLACS library architecture])
-    BLACS_COMM=`cat $DEAL_II_BLACS_DIR/Bmake.inc \
-              | grep "COMMLIB = " \
-              | perl -pi -e 's/.*LIB =\s+//g;'`
-    BLACS_PLAT=`cat $DEAL_II_BLACS_DIR/Bmake.inc \
-              | grep "PLAT = " \
-              | perl -pi -e 's/.*PLAT =\s+//g;'`
-    BLACS_DEBUG=`cat $DEAL_II_BLACS_DIR/Bmake.inc \
-              | grep "BLACSDBGLVL = " \
-              | perl -pi -e 's/.*DBGLVL =\s+//g;'`
-    dnl and patch that together to make the BLACS architecture type:
-    DEAL_II_BLACS_ARCH="$BLACS_COMM-$BLACS_PLAT-$BLACS_DEBUG"
-    AC_MSG_RESULT($DEAL_II_BLACS_ARCH)
-    dnl ------------------------------------------------------------
-
-  fi
-  dnl End check for MUMPS dependencies
-  dnl ------------------------------------------------------------
-
-  dnl If we do get this far then define a macro that says so:
-  if test "$USE_CONTRIB_MUMPS" = "yes" ; then
-    AC_DEFINE([DEAL_II_USE_MUMPS], [1],
-              [Defined if a MUMPS installation was found and is going to be used              ])
-    dnl and set an additional variable:
-    DEAL_II_DEFINE_DEAL_II_USE_MUMPS=DEAL_II_USE_MUMPS
-    dnl and finally set with_mumps if this hasn't happened yet:
-    if test "x$with_mumps" = "x" ; then
-      with_mumps="yes"
-    fi
-  fi
-])

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.