562 |
AU_DEFUN([AC_USG], |
AU_DEFUN([AC_USG], |
563 |
[AC_DIAGNOSE([obsolete], |
[AC_DIAGNOSE([obsolete], |
564 |
[$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING' |
[$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING' |
565 |
when you ajust your code to use HAVE_STRING_H.])dnl |
when you adjust your code to use HAVE_STRING_H.])dnl |
566 |
AC_MSG_CHECKING([for BSD string and memory functions]) |
AC_MSG_CHECKING([for BSD string and memory functions]) |
567 |
AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);], |
AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);], |
568 |
[AC_MSG_RESULT(yes)], |
[AC_MSG_RESULT(yes)], |
588 |
# HAVE_MEMORY_H. |
# HAVE_MEMORY_H. |
589 |
AU_DEFUN([AC_MEMORY_H], |
AU_DEFUN([AC_MEMORY_H], |
590 |
[AC_DIAGNOSE([obsolete], [$0: Remove this warning and |
[AC_DIAGNOSE([obsolete], [$0: Remove this warning and |
591 |
`AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you ajust your code to |
`AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you adjust your code to |
592 |
use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl |
use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl |
593 |
AC_CHECK_HEADER(memory.h, |
AC_CHECK_HEADER(memory.h, |
594 |
[AC_DEFINE([NEED_MEMORY_H], 1, |
[AC_DEFINE([NEED_MEMORY_H], 1, |
607 |
AC_FUNC_CLOSEDIR_VOID |
AC_FUNC_CLOSEDIR_VOID |
608 |
AC_DIAGNOSE([obsolete], |
AC_DIAGNOSE([obsolete], |
609 |
[$0: Remove this warning and the four `AC_DEFINE' when you |
[$0: Remove this warning and the four `AC_DEFINE' when you |
610 |
ajust your code to use `AC_HEADER_DIRENT'.]) |
adjust your code to use `AC_HEADER_DIRENT'.]) |
611 |
test ac_cv_header_dirent_dirent_h && |
test ac_cv_header_dirent_dirent_h && |
612 |
AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.]) |
AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.]) |
613 |
test ac_cv_header_dirent_sys_ndir_h && |
test ac_cv_header_dirent_sys_ndir_h && |