Mercurial > hg > octave-lyh > gnulib-hg
changeset 2168:074f42753dff
Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 22 Jan 2000 14:24:50 +0000 |
parents | 9dd13496a045 |
children | ff3b8e0c16fe |
files | m4/decl.m4 |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/decl.m4 +++ b/m4/decl.m4 @@ -1,13 +1,7 @@ -#serial 3 +#serial 5 AC_DEFUN(jm_CHECK_DECLARATION, [ - AC_REQUIRE([AC_HEADER_STDC])dnl - test -z "$ac_cv_header_memory_h" && AC_CHECK_HEADERS(memory.h) - test -z "$ac_cv_header_string_h" && AC_CHECK_HEADERS(string.h) - test -z "$ac_cv_header_strings_h" && AC_CHECK_HEADERS(strings.h) - test -z "$ac_cv_header_stdlib_h" && AC_CHECK_HEADERS(stdlib.h) - test -z "$ac_cv_header_unistd_h" && AC_CHECK_HEADERS(unistd.h) AC_MSG_CHECKING([whether $1 is declared]) AC_CACHE_VAL(jm_cv_func_decl_$1, [AC_TRY_COMPILE($2,