diff options
author | hpa <hpa> | 2001-08-09 06:42:18 +0000 |
---|---|---|
committer | hpa <hpa> | 2001-08-09 06:42:18 +0000 |
commit | 1e6fa366d1a59024a2361e08b3fc2f1cfc273e38 (patch) | |
tree | 6fe7c056da93796f12ce917f9da946369b622b73 /aclocal.m4 | |
parent | a0db7c057bb54383694c4c145b7fa6d8f10c2ba3 (diff) | |
download | tftp-hpa-1e6fa366d1a59024a2361e08b3fc2f1cfc273e38.tar.gz |
Cleanup the PA_HEADER_DEFINES() interface somewhat.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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() { |