diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 22:49:31 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 22:49:31 +1100 |
commit | 3c774c52f31b54eccb5a936470d21d196968693b (patch) | |
tree | 83cf29713e72c9099ad5189c61d10d0f7e2b5345 /configure.ac | |
parent | c97b01af62fa73b31a5b0c86c21c3347cdd0874d (diff) |
- (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some more
compiler warnings on AIX.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index aa6aed6b0..fe6b002d4 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.243 2005/02/16 05:19:17 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.244 2005/02/16 11:49:31 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -121,8 +121,11 @@ case "$host" in | |||
121 | LIBS="$LIBS -ls" | 121 | LIBS="$LIBS -ls" |
122 | ]) | 122 | ]) |
123 | ]) | 123 | ]) |
124 | dnl Check for various auth function declarations in headers. | ||
125 | AC_CHECK_DECLS([authenticate, loginrestrictions, loginsuccess, passwdexpired],, | ||
126 | [#include <usersec.h>]) | ||
124 | dnl Check if loginfailed is declared and takes 4 arguments (AIX >= 5.2) | 127 | dnl Check if loginfailed is declared and takes 4 arguments (AIX >= 5.2) |
125 | AC_CHECK_DECL(loginfailed, | 128 | AC_CHECK_DECLS(loginfailed, |
126 | [AC_MSG_CHECKING(if loginfailed takes 4 arguments) | 129 | [AC_MSG_CHECKING(if loginfailed takes 4 arguments) |
127 | AC_TRY_COMPILE( | 130 | AC_TRY_COMPILE( |
128 | [#include <usersec.h>], | 131 | [#include <usersec.h>], |