diff --git a/m4/alberta-dims.m4 b/m4/alberta-dims.m4 index 053d6922b41c7ff60039abbf4c8edd8b81374f88..9ff85a5d3e1b8acfb10bd6d75d473442abe4ac46 100644 --- a/m4/alberta-dims.m4 +++ b/m4/alberta-dims.m4 @@ -1,21 +1,25 @@ # # enable building of $1$2 library (DIM/DIM_OF_WORLD) # +# +# NOTE: it is a bad idea to remove the unneeded Makefiles from the +# config-files, it breaks "make distclean" +# AC_DEFUN([ALBERTA_DIMENSION_ENABLE], [SIMPLE_ENABLE_FLAG([alberta-$1$2], [enable building of an ALBERTA library for parametric Finite Elements of dimension $1 where the surrounding space has dimension $2.], 0) if test "$ALBERTA_$1$2" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_0/Makefile]) - if test "$DEBUG" -eq 1; then +dnl if test "$DEBUG" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_1/Makefile]) - fi - if test "$EL_INDEX" -eq 1; then +dnl fi +dnl if test "$EL_INDEX" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_01/Makefile]) - fi - if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then +dnl fi +dnl if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_11/Makefile]) - fi +dnl fi fi ]) AC_DEFUN([ALBERTA_DIMENSION_DISABLE], @@ -23,14 +27,14 @@ AC_DEFUN([ALBERTA_DIMENSION_DISABLE], [disable building of an ALBERTA library for Finite Elements of dimension $1.], 1) if test "$ALBERTA_$1$1" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_0/Makefile]) - if test "$DEBUG" -eq 1; then +dnl if test "$DEBUG" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_1/Makefile]) - fi - if test "$EL_INDEX" -eq 1; then +dnl fi +dnl if test "$EL_INDEX" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_01/Makefile]) - fi - if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then +dnl fi +dnl if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_11/Makefile]) - fi +dnl fi fi ])