(AC_CHECK_HEADERS_DIRENT): Use define, not AC_DEFUN, so the testsuite

doesn't call it with no arguments, leading to a syntax error in the
real Bourne shell.
This commit is contained in:
David MacKenzie 1994-10-28 15:23:25 +00:00
parent 0c3d5f28c5
commit f4be3b0db2
2 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ fi
dnl Like AC_CHECK_HEADERS, except succeed only for a HEADER-FILE that
dnl defines `DIR'.
dnl AC_CHECK_HEADERS_DIRENT(HEADER-FILE... [, ACTION])
AC_DEFUN(AC_CHECK_HEADERS_DIRENT,
define(AC_CHECK_HEADERS_DIRENT,
[for ac_hdr in $1
do
AC_CHECK_HEADER_DIRENT($ac_hdr,

View File

@ -543,7 +543,7 @@ fi
dnl Like AC_CHECK_HEADERS, except succeed only for a HEADER-FILE that
dnl defines `DIR'.
dnl AC_CHECK_HEADERS_DIRENT(HEADER-FILE... [, ACTION])
AC_DEFUN(AC_CHECK_HEADERS_DIRENT,
define(AC_CHECK_HEADERS_DIRENT,
[for ac_hdr in $1
do
AC_CHECK_HEADER_DIRENT($ac_hdr,