summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-04-14 15:26:39 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-04-14 15:26:39 +1000
commit3b908f65b4b668d20ef0d20c695cb053829bdaef (patch)
tree46234eb0dcd11f55e03511c78ff3710b02a6a2f2 /configure.ac
parent96cc26b614cc6da9439b514a13cecfd6c7aed0bd (diff)
- (dtucker) [acconfig.h configure.ac defines.h] Bug #673: check for 4-arg
skeychallenge(), eg on NetBSD. ok mouring@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fa5021cfa..763c26275 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.211 2004/04/07 04:16:11 mouring Exp $ 1# $Id: configure.ac,v 1.212 2004/04/14 05:26:39 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -743,6 +743,15 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
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","",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)