[shibboleth-sp2] 04/18: Add NSAPI option
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.2.1b
in repository shibboleth-sp2.
commit 72b44a866e1ac41df3b4af3ba1dcd2ed45f500f7
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Thu Dec 23 03:43:14 2004 +0000
Add NSAPI option
---
Makefile.am | 2 +-
Shibboleth.dsw | 18 ++++++++++++++++++
configure.ac | 40 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 46b65e8..6d7132b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@ WANT_SUBDIRS = @WANT_SUBDIRS@
SUBDIRS = $(WANT_SUBDIRS)
DIST_SUBDIRS = doc oncrpc shib schemas configs shib-target shar test \
- apache siterefresh shib-mysql-ccache xmlproviders
+ apache siterefresh shib-mysql-ccache xmlproviders nsapi_shib
all-local: shibboleth.spec
diff --git a/Shibboleth.dsw b/Shibboleth.dsw
index cb52680..ef6f7c7 100644
--- a/Shibboleth.dsw
+++ b/Shibboleth.dsw
@@ -69,6 +69,24 @@ Package=<4>
###############################################################################
+Project: "nsapi_shib"=.\nsapi_shib\nsapi_shib.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name shib
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name shibtarget
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "oncrpc"=.\oncrpc\oncrpc.dsp - Package Owner=<4>
Package=<5>
diff --git a/configure.ac b/configure.ac
index 77926fc..b40a8f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,6 +251,46 @@ if test $NATIVE_RPC = "no"; then
fi
AM_CONDITIONAL(USE_OUR_ONCRPC,test "$NATIVE_RPC" = "no")
+#
+# Build NSAPI module?
+#
+AC_MSG_CHECKING(for NSAPI module option)
+AC_ARG_WITH(nsapi,
+ AC_HELP_STRING([--with-nsapi=DIR], [Build NSAPI module for Netscape/iPlanet/SunONE]),
+ [WANT_NSAPI=$withval],[WANT_NSAPI=no])
+AC_MSG_RESULT($WANT_NSAPI)
+
+if test "$WANT_NSAPI" != "no"; then
+ if test ! -d $WANT_NSAPI/bin ; then
+ AC_MSG_ERROR(Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR)
+ fi
+ AC_MSG_CHECKING(for NSAPI include files)
+ if test -d $WANT_NSAPI/include ; then
+ NSAPI_INCLUDE=$WANT_NSAPI/include
+ AC_MSG_RESULT(Netscape-Enterprise 3.x style)
+ AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h])
+ fi
+ if test -d $WANT_NSAPI/plugins/include ; then
+ test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
+ NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
+ AC_MSG_RESULT(iPlanet 4.x / SunONE 6.x style)
+ AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h])
+ NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
+ fi
+ if test "$NSAPI_INCLUDE" = ""; then
+ AC_MSG_ERROR(Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include)
+ fi
+fi
+
+# always output the Makefile, even if you don't use it
+AC_CONFIG_FILES([nsapi_shib/Makefile])
+AM_CONDITIONAL(BUILD_NSAPI,test ! "$WANT_NSAPI" = "no")
+
+# add the NSAPI module to the list of wanted subdirs..
+if test ! "$WANT_APACHE_13" = "no" ; then
+ WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
+fi
+
# Apache 1.3 (mod_shib_13)
# --enable-apache-13
--
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