Index: /issm/trunk-jpl/m4/issm_options.m4
===================================================================
--- /issm/trunk-jpl/m4/issm_options.m4	(revision 17239)
+++ /issm/trunk-jpl/m4/issm_options.m4	(revision 17240)
@@ -1669,4 +1669,18 @@
 	AC_MSG_RESULT($HAVE_BALANCEVELOCITY)
 	dnl }}}
+	dnl with-L2ProjectionEPL{{{
+	AC_ARG_WITH([L2ProjectionEPL],
+		AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]),
+		[L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes]) 
+	AC_MSG_CHECKING(for L2ProjectionEPL capability compilation)
+
+	HAVE_L2PROJECTIONEPL=no
+	if test "x$L2PROJECTIONEPL" = "xyes"; then
+		HAVE_L2PROJECTIONEPL=yes
+		AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPL capability])
+	fi
+	AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes])
+	AC_MSG_RESULT($HAVE_L2PROJECTIONEPL)
+	dnl }}}
 	dnl with-L2ProjectionBase{{{
 	AC_ARG_WITH([L2ProjectionBase],
@@ -1892,4 +1906,32 @@
 	AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes])
 	AC_MSG_RESULT($HAVE_THERMAL)
+	dnl }}}
+	dnl with-SmoothedSurfaceSlopeX{{{
+	AC_ARG_WITH([SmoothedSurfaceSlopeX],
+		AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]),
+		[SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes]) 
+	AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation)
+
+	HAVE_SMOOTHEDSURFACESLOPEX=no
+	if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then
+		HAVE_SMOOTHEDSURFACESLOPEX=yes
+		AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeX capability])
+	fi
+	AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes])
+	AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX)
+	dnl }}}
+	dnl with-SmoothedSurfaceSlopeY{{{
+	AC_ARG_WITH([SmoothedSurfaceSlopeY],
+		AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]),
+		[SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes]) 
+	AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation)
+
+	HAVE_SMOOTHEDSURFACESLOPEY=no
+	if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then
+		HAVE_SMOOTHEDSURFACESLOPEY=yes
+		AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeY capability])
+	fi
+	AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes])
+	AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY)
 	dnl }}}
 	dnl with-Meshdeformation{{{
Index: /issm/trunk-jpl/src/c/Makefile.am
===================================================================
--- /issm/trunk-jpl/src/c/Makefile.am	(revision 17239)
+++ /issm/trunk-jpl/src/c/Makefile.am	(revision 17240)
@@ -542,4 +542,7 @@
 issm_sources += ./analyses/HydrologyDCEfficientAnalysis.cpp
 endif
+if L2PROJECTIONEPL
+issm_sources += ./analyses/L2ProjectionEPLAnalysis.cpp
+endif
 if MELTING
 issm_sources += ./analyses/MeltingAnalysis.cpp
@@ -562,4 +565,10 @@
 if THERMAL
 issm_sources += ./analyses/ThermalAnalysis.cpp
+endif
+if SMOOTHEDSURFACESLOPEX
+issm_sources += ./analyses/SmoothedSurfaceSlopeXAnalysis.cpp
+endif
+if SMOOTHEDSURFACESLOPEY
+issm_sources += ./analyses/SmoothedSurfaceSlopeYAnalysis.cpp
 endif
 if MESHDEFORMATION
Index: /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
===================================================================
--- /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp	(revision 17239)
+++ /issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp	(revision 17240)
@@ -802,5 +802,4 @@
 
 	/*Create Riffront loads for rifts: */
-#ifdef _HAVE_RIFTS_
 	if(numrifts){
 		iomodel->FetchData(&riftinfo,&numriftsegments,NULL,RiftsRiftstructEnum);
@@ -815,5 +814,4 @@
 		xDelete<IssmDouble>(riftinfo);
 	}
-#endif
 }/*}}}*/
 
