Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
12
macros/check_declaration.m4
Normal file
12
macros/check_declaration.m4
Normal file
@@ -0,0 +1,12 @@
|
||||
dnl AC_CHKDECL(pretty, unpretty, regexp, header)
|
||||
dnl Copyright (c) David Walluck 2000
|
||||
dnl All rights reserved.
|
||||
|
||||
AC_DEFUN(AC_CHECK_DECLARATION, [
|
||||
AC_CACHE_CHECK(for $1 in $4, ac_cv_$2_declared, [
|
||||
AC_EGREP_HEADER($3, $4, ac_cv_$2_declared="yes", ac_cv_$2_declared="no",)
|
||||
])
|
||||
if test x"$ac_cv_$2_declared" = x"yes"; then
|
||||
AC_DEFINE($5, 1, Define this if $2 is declared in $4.)
|
||||
fi
|
||||
])
|
||||
Reference in New Issue
Block a user