- AC_CHECK_FUNCS(DECLARATION_FREE DECLARATION_MALLOC DECLARATION_REALLOC \
- DECLARATION_STPCPY DECLARATION_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.])