summaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files/patch-gl__m4__extensions.m4
blob: f20bcdaa15d269d50e1f309af27398d1f2a06525 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ./gl/m4/extensions.m4.orig	2014-03-04 20:21:36.000000000 +0100
+++ ./gl/m4/extensions.m4	2014-04-14 10:22:50.000000000 +0200
@@ -16,6 +16,7 @@
 #     warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
 # or  warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
 # the fix is
+m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
 #   1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
 #      but always AC_REQUIREd,
 #   2) to ensure that for each occurrence of
@@ -49,6 +50,7 @@
        except with this defined.])
     AC_DEFINE([_MINIX], [1],
       [Define to 1 if on MINIX.])
+])
     AC_DEFINE([_NETBSD_SOURCE], [1],
       [Define to 1 to make NetBSD features available.  MINIX 3 needs this.])
   fi