summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorhpa <hpa>2001-08-09 06:42:18 +0000
committerhpa <hpa>2001-08-09 06:42:18 +0000
commit1e6fa366d1a59024a2361e08b3fc2f1cfc273e38 (patch)
tree6fe7c056da93796f12ce917f9da946369b622b73 /aclocal.m4
parenta0db7c057bb54383694c4c145b7fa6d8f10c2ba3 (diff)
downloadtftp-hpa-1e6fa366d1a59024a2361e08b3fc2f1cfc273e38.tar.gz
Cleanup the PA_HEADER_DEFINES() interface somewhat.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 66b8eac..6824e99 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -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()
{