~ubuntu-branches/ubuntu/natty/diffutils/natty

« back to all changes in this revision

Viewing changes to m4/vararrays.m4

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2010-05-04 20:38:00 UTC
  • mfrom: (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100504203800-f67xd9rsa9xl9qqj
Tags: 1:3.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Check for variable-length arrays.
2
2
 
3
 
#serial 1
 
3
#serial 2
4
4
 
5
5
# From Paul Eggert
6
6
 
7
 
# Copyright (C) 2001 Free Software Foundation, Inc.
 
7
# Copyright (C) 2001, 2009-2010 Free Software Foundation, Inc.
8
8
 
9
 
# This program is free software; you can redistribute it and/or modify
 
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
11
 
# the Free Software Foundation; either version 2, or (at your option)
12
 
# any later version.
 
11
# the Free Software Foundation, either version 3 of the License, or
 
12
# (at your option) any later version.
13
13
 
14
14
# This program is distributed in the hope that it will be useful,
15
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17
17
# GNU General Public License for more details.
18
18
 
19
19
# You should have received a copy of the GNU General Public License
20
 
# along with this program; if not, write to the Free Software
21
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22
 
# 02111-1307, USA.
 
20
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
23
21
 
24
22
AC_DEFUN([AC_C_VARARRAYS],
25
23
[
31
29
       ac_cv_c_vararrays=yes,
32
30
       ac_cv_c_vararrays=no)])
33
31
  if test $ac_cv_c_vararrays = yes; then
34
 
    AC_DEFINE(HAVE_C_VARARRAYS, 1,
 
32
    AC_DEFINE([HAVE_C_VARARRAYS], [1],
35
33
      [Define to 1 if C supports variable-length arrays.])
36
34
  fi
37
35
])