X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fresolver.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=0ab9637e2c9209fc274b79231c07ac8522ce42a2;hp=ee54541fa067fd6ef53588b4d769e3780577e26b;hb=dcc1935a3c30e1a7205937f8922a9df04cbb4ee4;hpb=ebc845ceb5411c95de71a8d7842f68283da60385 diff --git a/configure.ac b/configure.ac index ee54541..0ab9637 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,15 @@ AC_TRY_LINK( [AC_DEFINE(HAVE_SHIBSP,1,[Define if Shibboleth SP library was found])], [AC_MSG_ERROR([unable to link with Shibboleth SP])]) +AC_MSG_CHECKING([whether SP library supports non-plugin remoting]) +AC_TRY_COMPILE([#include ], + [shibsp::ServiceProvider* sp; + sp->regListener(NULL,NULL); + ], + [AC_MSG_RESULT([yes])] + [AC_DEFINE([SHIBRESOLVER_SHIBSP_HAS_REMOTING], [1], [Define to 1 if Shibboleth SP supports non-plugin remoting.])], + [AC_MSG_RESULT([no])]) + # restore master libs LIBS="$save_LIBS" @@ -254,7 +263,7 @@ AC_SUBST(XMLSEC_LIBS) AC_CONFIG_FILES([resolver.spec Portfile]) # output the underlying makefiles -AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile]) +AC_CONFIG_FILES([Makefile doc/Makefile shibresolver/Makefile]) LIBTOOL="$LIBTOOL --silent"