~ubuntu-branches/ubuntu/precise/nagios-plugins/precise-proposed

« back to all changes in this revision

Viewing changes to gl/m4/onceonly.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-09-27 00:49:25 UTC
  • mfrom: (12.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100927004925-r3x858jsbl2wa6dx
Tags: 1.4.15-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/control: keep on building with libradius1-dev to avoid pusing radiusclient-ng
    to main.
  - Don't depend on nagios-plugins-extra, we dont need qstat and fping in main.
  - debian/{control,rules}: add an enable hardened build for PIE.
    (Debian bug 542728).
  - Build with libmysqlclient-dev only.
  - debian/pluginconfig/nt.cfg: Fix syntax error. (LP: #595528)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# onceonly.m4 serial 6
2
 
dnl Copyright (C) 2002-2003, 2005-2006, 2008 Free Software Foundation, Inc.
 
1
# onceonly.m4 serial 7
 
2
dnl Copyright (C) 2002-2003, 2005-2006, 2008-2010 Free Software Foundation,
 
3
dnl Inc.
3
4
dnl This file is free software, distributed under the terms of the GNU
4
5
dnl General Public License.  As a special exception to the GNU General
5
6
dnl Public License, this file may be distributed as part of a program
38
39
AC_DEFUN([AC_CHECK_HEADERS_ONCE], [
39
40
  :
40
41
  m4_foreach_w([gl_HEADER_NAME], [$1], [
41
 
    AC_DEFUN([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME,
42
 
                                                 [./-], [___])), [
 
42
    AC_DEFUN([gl_CHECK_HEADER_]m4_quote(m4_translit(gl_HEADER_NAME,
 
43
                                                    [./-], [___])), [
43
44
      m4_divert_text([INIT_PREPARE],
44
45
        [gl_header_list="$gl_header_list gl_HEADER_NAME"])
45
46
      gl_HEADERS_EXPANSION
46
47
      AH_TEMPLATE(AS_TR_CPP([HAVE_]m4_defn([gl_HEADER_NAME])),
47
48
        [Define to 1 if you have the <]m4_defn([gl_HEADER_NAME])[> header file.])
48
49
    ])
49
 
    AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(translit(gl_HEADER_NAME,
50
 
                                                   [./-], [___])))
 
50
    AC_REQUIRE([gl_CHECK_HEADER_]m4_quote(m4_translit(gl_HEADER_NAME,
 
51
                                                      [./-], [___])))
51
52
  ])
52
53
])
53
54
m4_define([gl_HEADERS_EXPANSION], [