~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

« back to all changes in this revision

Viewing changes to lib/gl/m4/minmax.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
Tags: 2.12.11-1
* 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
 
# minmax.m4 serial 3
2
 
dnl Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc.
 
1
# minmax.m4 serial 4
 
2
dnl Copyright (C) 2005, 2009-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.
6
6
 
7
 
AC_PREREQ([2.52])
 
7
AC_PREREQ([2.53])
8
8
 
9
9
AC_DEFUN([gl_MINMAX],
10
10
[
28
28
  m4_pushdef([HEADER], AS_TR_CPP([$1]))
29
29
  AC_CACHE_CHECK([whether <$1> defines MIN and MAX],
30
30
    [gl_cv_minmax_in_]header,
31
 
    [AC_TRY_COMPILE([#include <$1>
32
 
int x = MIN (42, 17);], [],
 
31
    [AC_COMPILE_IFELSE(
 
32
       [AC_LANG_PROGRAM(
 
33
          [[#include <$1>
 
34
            int x = MIN (42, 17);]],
 
35
          [[]])],
33
36
       [gl_cv_minmax_in_]header[=yes],
34
37
       [gl_cv_minmax_in_]header[=no])])
35
38
  if test $gl_cv_minmax_in_[]header = yes; then