/[autoconf]/autoconf/lib/autoconf/headers.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/headers.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by eggert, Tue Sep 23 23:05:11 2003 UTC revision 1.36 by bonzini, Mon Nov 24 10:40:59 2003 UTC
# Line 732  AU_DEFUN([AC_UNISTD_H], Line 732  AU_DEFUN([AC_UNISTD_H],
732  # Define `USG' if string functions are in strings.h.  # Define `USG' if string functions are in strings.h.
733  AU_DEFUN([AC_USG],  AU_DEFUN([AC_USG],
734  [AC_DIAGNOSE([obsolete],  [AC_DIAGNOSE([obsolete],
735  [$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_WARNING'  [$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_DIAGNOSE'
736  when you adjust your code to use HAVE_STRING_H.])dnl  when you adjust your code to use HAVE_STRING_H.])dnl
737  AC_MSG_CHECKING([for BSD string and memory functions])  AC_MSG_CHECKING([for BSD string and memory functions])
738  AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <strings.h>]],  AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <strings.h>]],
# Line 761  AC_CHECK_HEADERS(string.h) Line 761  AC_CHECK_HEADERS(string.h)
761  # But it is better to check for both headers, and alias NEED_MEMORY_H to  # But it is better to check for both headers, and alias NEED_MEMORY_H to
762  # HAVE_MEMORY_H.  # HAVE_MEMORY_H.
763  AU_DEFUN([AC_MEMORY_H],  AU_DEFUN([AC_MEMORY_H],
764  [AC_DIAGNOSE([obsolete], [$0: Remove this warning and  [AC_DIAGNOSE([obsolete], [$0: Remove this `AC_DIAGNOSE' and
765  `AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you adjust your code to  `AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you adjust your code to
766  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
767  AC_CHECK_HEADER(memory.h,  AC_CHECK_HEADER(memory.h,
# Line 780  AU_DEFUN([AC_DIR_HEADER], Line 780  AU_DEFUN([AC_DIR_HEADER],
780  [AC_HEADER_DIRENT  [AC_HEADER_DIRENT
781  AC_FUNC_CLOSEDIR_VOID  AC_FUNC_CLOSEDIR_VOID
782  AC_DIAGNOSE([obsolete],  AC_DIAGNOSE([obsolete],
783  [$0: Remove this warning and the four `AC_DEFINE' when you  [$0: Remove this `AC_DIAGNOSE' and the four `AC_DEFINE' when you
784  adjust your code to use `AC_HEADER_DIRENT'.])  adjust your code to use `AC_HEADER_DIRENT'.])
785  test ac_cv_header_dirent_dirent_h &&  test ac_cv_header_dirent_dirent_h &&
786    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.])

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26