Cleanup the PA_HEADER_DEFINES() interface somewhat.

This commit is contained in:
hpa 2001-08-09 06:42:18 +00:00
parent a0db7c057b
commit 1e6fa366d1
2 changed files with 6 additions and 4 deletions

8
aclocal.m4 vendored
View file

@ -138,11 +138,13 @@ fi)])
dnl --------------------------------------------------------------------------
dnl PA_HEADER_DEFINES
dnl
dnl PA_HEADER_DEFINES(headers, type, value)
dnl PA_HEADER_DEFINES(header, type, value)
dnl --------------------------------------------------------------------------
AC_DEFUN(PA_HEADER_DEFINES,
[AC_MSG_CHECKING([for definition of $3])
AC_TRY_COMPILE([$1],
[AC_MSG_CHECKING([if $1 defines $3])
AC_TRY_COMPILE([
#include <$1>
],
[
int main()
{