/[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.27 by akim, Sun Oct 27 18:19:39 2002 UTC revision 1.28 by akim, Sun Oct 27 18:21:32 2002 UTC
# Line 729  AU_DEFUN([AC_UNISTD_H], Line 729  AU_DEFUN([AC_UNISTD_H],
729  # Define `USG' if string functions are in strings.h.  # Define `USG' if string functions are in strings.h.
730  AU_DEFUN([AC_USG],  AU_DEFUN([AC_USG],
731  [AC_DIAGNOSE([obsolete],  [AC_DIAGNOSE([obsolete],
732  [$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING'  [$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_WARNING'
733  when you adjust your code to use HAVE_STRING_H.])dnl  when you adjust your code to use HAVE_STRING_H.])dnl
734  AC_MSG_CHECKING([for BSD string and memory functions])  AC_MSG_CHECKING([for BSD string and memory functions])
735  AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);],  AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <strings.h>]],
736    [AC_MSG_RESULT(yes)],                                  [[rindex(0, 0); bzero(0, 0);]])],
737    [AC_MSG_RESULT(no)                 [AC_MSG_RESULT(yes)],
738     AC_DEFINE(USG, 1,                 [AC_MSG_RESULT(no)
739         [Define to 1 if you do not have <strings.h>, index, bzero, etc...                  AC_DEFINE(USG, 1,
740          This symbol is obsolete, you should not depend upon it.])])                            [Define to 1 if you do not have <strings.h>, index,
741  AC_CHECK_HEADERS(string.h)])                             bzero, etc... This symbol is obsolete, you should
742                               not depend upon it.])])
743    AC_CHECK_HEADERS(string.h)
744    ])# AU::AC_USG
745    
746    
747  # AU::AC_MEMORY_H  # AU::AC_MEMORY_H

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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