~ubuntu-branches/ubuntu/raring/hivex/raring

« back to all changes in this revision

Viewing changes to m4/string_h.m4

  • Committer: Package Import Robot
  • Author(s): Hilko Bengen
  • Date: 2011-12-01 22:09:50 UTC
  • mfrom: (6.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20111201220950-bm48fpock4e7l6rd
* New upstream version
* [1f9e20f] Cleared patch queue, added gnulib fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# gives unlimited permission to copy and/or distribute it,
6
6
# with or without modifications, as long as this notice is preserved.
7
7
 
8
 
# serial 20
 
8
# serial 21
9
9
 
10
10
# Written by Paul Eggert.
11
11
 
27
27
  dnl guaranteed by C89.
28
28
  gl_WARN_ON_USE_PREPARE([[#include <string.h>
29
29
    ]],
30
 
    [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup
31
 
     strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r
32
 
     strsignal strverscmp])
 
30
    [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul
 
31
     strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
 
32
     strerror_r strsignal strverscmp])
33
33
])
34
34
 
35
35
AC_DEFUN([gl_STRING_MODULE_INDICATOR],
43
43
 
44
44
AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS],
45
45
[
 
46
  GNULIB_FFSL=0;        AC_SUBST([GNULIB_FFSL])
 
47
  GNULIB_FFSLL=0;       AC_SUBST([GNULIB_FFSLL])
46
48
  GNULIB_MEMCHR=0;      AC_SUBST([GNULIB_MEMCHR])
47
49
  GNULIB_MEMMEM=0;      AC_SUBST([GNULIB_MEMMEM])
48
50
  GNULIB_MEMPCPY=0;     AC_SUBST([GNULIB_MEMPCPY])
80
82
  GNULIB_STRVERSCMP=0;  AC_SUBST([GNULIB_STRVERSCMP])
81
83
  HAVE_MBSLEN=0;        AC_SUBST([HAVE_MBSLEN])
82
84
  dnl Assume proper GNU behavior unless another module says otherwise.
 
85
  HAVE_FFSL=1;                  AC_SUBST([HAVE_FFSL])
 
86
  HAVE_FFSLL=1;                 AC_SUBST([HAVE_FFSLL])
83
87
  HAVE_MEMCHR=1;                AC_SUBST([HAVE_MEMCHR])
84
88
  HAVE_DECL_MEMMEM=1;           AC_SUBST([HAVE_DECL_MEMMEM])
85
89
  HAVE_MEMPCPY=1;               AC_SUBST([HAVE_MEMPCPY])