[shibboleth-sp2] 52/100: Finalize RPC decl checking

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.

commit 3aec5f1693f739ed5ef1cc5407862b7421b32b22
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Tue Oct 19 02:26:58 2004 +0000

    Finalize RPC decl checking
---
 configure.ac | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 2934cad..d1ba3c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,15 @@ fi
 # Test RPC now -- finish dealing with it later
 ACX_RPCTEST([rpctest="yes"],[rpctest="no"])
 if test $rpctest = "yes" ; then
-	AC_CHECK_DECLS([svcfd_create],,,[rpc/rpc.h])
+	AC_CHECK_DECLS([svcfd_create],,,[#include <rpc/rpc.h>])
+	AC_LANG_PUSH(C++)
+	AC_COMPILE_IFELSE(
+		AC_LANG_PROGRAM(
+			[[#include <rpc/rpc.h>
+static SVCXPRT* xprt = NULL;]],
+        	[[svc_destroy(xprt);]]),
+        AC_DEFINE(HAVE_WORKING_SVC_DESTROY,1,[Define if RPC SVC macros work on this platform]),)
+	AC_LANG_POP(C++)
 fi
 
 AC_ARG_WITH(dmalloc,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list