replace AC_CHECK_DECLARATION with standard AC_CHECK_DECL(S)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14171 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-08-26 15:12:17 +00:00
parent 970edde9f8
commit e4f79c6902
3 changed files with 4 additions and 40 deletions

View File

@@ -19,7 +19,7 @@ AC_MSG_RESULT($ac_foo)
if test "$ac_foo" = yes; then
AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]$1), 1,
[Define if you have the `]$1[' variable.])
m4_ifval([$2], AC_CHECK_DECLARATION([$2],[$1]))
m4_ifval([$2], AC_CHECK_DECL([$1],[],[],[$2]))
fi
])