- AC_CHECK_FUNCS(DECL_FREE DECL_LSEEK DECL_MALLOC DECL_MEMCHR DECL_REALLOC \
- DECL_STPCPY DECL_STRSTR)
+ AC_DEFINE(HAVE_DECL_FREE, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_LSEEK, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_MALLOC, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_MEMCHR, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_REALLOC, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_STPCPY, 1, [Define if this function is declared.])
+ AC_DEFINE(HAVE_DECL_STRSTR, 1, [Define if this function is declared.])