AC_CHECK_DECL and AC_CHECK_DECLS have a subtile diffrence, the later
defines HAVE_ cpp symbols, the first doesn't. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15126 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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_DECL([$1],[],[],[$2]))
|
||||
m4_ifval([$2], AC_CHECK_DECLS([$1],[],[],[$2]))
|
||||
fi
|
||||
])
|
||||
|
||||
|
Reference in New Issue
Block a user