+AC_MSG_CHECKING([whether SP library supports non-plugin remoting])\r
+AC_TRY_COMPILE([#include <shibsp/ServiceProvider.hpp>],\r
+ [shibsp::ServiceProvider* sp;\r
+ sp->regListener(NULL,NULL);\r
+ ],\r
+ [AC_MSG_RESULT([yes])]\r
+ [AC_DEFINE([SHIBRESOLVER_SHIBSP_HAS_REMOTING], [1], [Define to 1 if Shibboleth SP supports non-plugin remoting.])],\r
+ [AC_MSG_RESULT([no])])\r
+\r