~ubuntu-branches/ubuntu/trusty/gnutls26/trusty

« back to all changes in this revision

Viewing changes to lib/gl/m4/strcase.m4

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# strcase.m4 serial 10
2
 
dnl Copyright (C) 2002, 2005-2010 Free Software Foundation, Inc.
 
1
# strcase.m4 serial 11
 
2
dnl Copyright (C) 2002, 2005-2011 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
13
13
AC_DEFUN([gl_FUNC_STRCASECMP],
14
14
[
15
15
  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
16
 
  AC_REPLACE_FUNCS([strcasecmp])
 
16
  AC_CHECK_FUNCS([strcasecmp])
17
17
  if test $ac_cv_func_strcasecmp = no; then
18
18
    HAVE_STRCASECMP=0
19
 
    gl_PREREQ_STRCASECMP
20
19
  fi
21
20
])
22
21
 
23
22
AC_DEFUN([gl_FUNC_STRNCASECMP],
24
23
[
25
24
  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
26
 
  AC_REPLACE_FUNCS([strncasecmp])
27
 
  if test $ac_cv_func_strncasecmp = no; then
28
 
    gl_PREREQ_STRNCASECMP
 
25
  AC_CHECK_FUNCS([strncasecmp])
 
26
  if test $ac_cv_func_strncasecmp = yes; then
 
27
    HAVE_STRNCASECMP=1
 
28
  else
 
29
    HAVE_STRNCASECMP=0
29
30
  fi
30
31
  AC_CHECK_DECLS([strncasecmp])
31
32
  if test $ac_cv_have_decl_strncasecmp = no; then