OSF1 and USE_SIA

Chris Adams cmadams at hiwaay.net
Tue May 8 01:56:41 EST 2001


Once upon a time, mouring at etoh.eviladmin.org <mouring at etoh.eviladmin.org> said:
> On Mon, 7 May 2001 J.S.Peatfield at damtp.cam.ac.uk wrote:
> > Is the following (from configure.in) intended:
> >
> > *-dec-osf*)
> > 	if test ! -z "USE_SIA" ; then
> > 		AC_MSG_CHECKING(for Digital Unix Security Integration Architecture)
> >
> > should that be "$USE_SIA" or similar or what is the point of testing a constant
> > string for being zero length...
> >
> 
> Yes it should be.  Thanks.

How about a patch to add a "--without-sia" option like (instead of
setting environment variables):

diff -urN openssh_cvs/configure.in openssh/configure.in
--- openssh_cvs/configure.in	Sat Apr 28 16:36:17 2001
+++ openssh/configure.in	Mon May  7 10:53:36 2001
@@ -237,8 +237,18 @@
 	MANTYPE=man
 	;;
 *-dec-osf*)
-	if test ! -z "USE_SIA" ; then
-		AC_MSG_CHECKING(for Digital Unix Security Integration Architecture)
+	AC_MSG_CHECKING(for Digital Unix SIA)
+	no_osfsia=""
+	AC_ARG_WITH(osfsia,
+		[  --with-osfsia           Enable Digital Unix SIA],
+		[
+			if test "x$withval" = "xno" ; then
+				AC_MSG_RESULT(disabled)
+				no_osfsia=1
+			fi
+		],
+	)
+	if test -z "$no_osfsia" ; then
 		if test -f /etc/sia/matrix.conf; then
 			AC_MSG_RESULT(yes)
 			AC_DEFINE(HAVE_OSF_SIA)

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.



More information about the openssh-unix-dev mailing list