View | Details | Raw Unified | Return to bug 673
Collapse All | Expand All

(-)acconfig.h (+3 lines)
Lines 131-136 Link Here
131
/* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */
131
/* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */
132
#undef AIX_LOGINFAILED_4ARG
132
#undef AIX_LOGINFAILED_4ARG
133
133
134
/* Define if your skeychallenge() function takes 4 arguments (eg NetBSD) */
135
#undef SKEYCHALLENGE_4ARG
136
134
/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
137
/* Define if you have/want arrays (cluster-wide session managment, not C arrays) */
135
#undef WITH_IRIX_ARRAY
138
#undef WITH_IRIX_ARRAY
136
139
(-)configure.ac (+9 lines)
Lines 743-748 int main() { char *ff = skey_keyinfo("") Link Here
743
					AC_MSG_RESULT(no)
743
					AC_MSG_RESULT(no)
744
					AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
744
					AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
745
				])
745
				])
746
                 	AC_MSG_CHECKING(if skeychallenge takes 4 arguments)
747
			AC_TRY_COMPILE(
748
				[#include <stdio.h>
749
				 #include <skey.h>],
750
				[(void)skeychallenge(NULL,"name","ss",0);],
751
				[AC_MSG_RESULT(yes)
752
				 AC_DEFINE(SKEYCHALLENGE_4ARG)],
753
				[AC_MSG_RESULT(no)]
754
        		)
746
		fi
755
		fi
747
	]
756
	]
748
)
757
)
(-)defines.h (+5 lines)
Lines 546-551 struct winsize { Link Here
546
#endif
546
#endif
547
547
548
548
549
/* Some platforms, eg NetBSD, have a 4th argument for skeychallenge() */
550
#ifdef SKEYCHALLENGE_4ARG
551
# define skeychallenge(a,b,c) skeychallenge((a), (b), (c), (sizeof(c)))
552
#endif
553
549
/*
554
/*
550
 * Define this to use pipes instead of socketpairs for communicating with the
555
 * Define this to use pipes instead of socketpairs for communicating with the
551
 * client program.  Socketpairs do not seem to work on all systems.
556
 * client program.  Socketpairs do not seem to work on all systems.

Return to bug 673