From: Scott Cantor Date: Sun, 6 Mar 2011 19:58:39 +0000 (+0000) Subject: Fix test for non-plugin remoting in SP. X-Git-Tag: 1.0.0~29 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=commitdiff_plain;h=fcbdf3b6cbabece8835dd0819aed8385309ab54b;hp=a9678f138fa51d06a3db7e147829afaab4bb7d74;ds=sidebyside Fix test for non-plugin remoting in SP. --- diff --git a/configure.ac b/configure.ac index 25ad0da..8d14ff2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.50]) -AC_INIT([shibboleth-resolver], [0.1], [MOONSHOT-COMMUNITY@JISCMAIL.AC.UK], [shibboleth-resolver]) -AC_CONFIG_SRCDIR(shibresolver) +AC_INIT([shibboleth-resolver], [0.2], [MOONSHOT-COMMUNITY@JISCMAIL.AC.UK], [shibboleth-resolver]) +AC_CONFIG_SRCDIR(src) AC_CONFIG_AUX_DIR(build-aux) AC_CONFIG_MACRO_DIR(m4) AM_INIT_AUTOMAKE @@ -21,7 +21,7 @@ fi AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([resolver.spec Portfile]) -AC_CONFIG_FILES([Makefile doc/Makefile shibresolver/Makefile]) +AC_CONFIG_FILES([Makefile doc/Makefile src/shibresolver/Makefile]) AC_PROG_CC([gcc gcc3 cc]) AC_PROG_CXX([g++ g++3 c++ CC]) @@ -257,7 +257,11 @@ AC_LINK_IFELSE( AC_MSG_CHECKING([whether SP library supports non-plugin remoting]) AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[#include ]], + [AC_LANG_PROGRAM( + [[ +#include +#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])])