summaryrefslogtreecommitdiffstats
path: root/m4/extensions.m4
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-12-15 20:51:47 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2004-12-15 20:51:47 +0000
commit6fff4bcdcf97412a6d1422991ea9fe5e8a203e75 (patch)
tree6494851815282f4b27829a7f10b8ca522aa7668e /m4/extensions.m4
parent82d1989d3245791c9fac22ca848f5497f261c10b (diff)
downloadmonitoring-plugins-6fff4bcdcf97412a6d1422991ea9fe5e8a203e75.tar.gz
Moving m4 files from lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1028 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/extensions.m4')
-rw-r--r--m4/extensions.m429
1 files changed, 29 insertions, 0 deletions
diff --git a/m4/extensions.m4 b/m4/extensions.m4
new file mode 100644
index 00000000..58bc0beb
--- /dev/null
+++ b/m4/extensions.m4
@@ -0,0 +1,29 @@
1# Enable extensions on systems that normally disable them.
2
3# Copyright (C) 2003 Free Software Foundation, Inc.
4
5# This file is free software, distributed under the terms of the GNU
6# General Public License. As a special exception to the GNU General
7# Public License, this file may be distributed as part of a program
8# that contains a configuration script generated by Autoconf, under
9# the same distribution terms as the rest of that program.
10
11# gl_USE_SYSTEM_EXTENSIONS
12# ------------------------
13# Enable extensions on systems that normally disable them,
14# typically due to standards-conformance issues.
15AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [
16 AC_BEFORE([$0], [AC_COMPILE_IFELSE])
17 AC_BEFORE([$0], [AC_RUN_IFELSE])
18
19 AC_REQUIRE([AC_GNU_SOURCE])
20 AC_REQUIRE([AC_AIX])
21 AC_REQUIRE([AC_MINIX])
22
23 AH_VERBATIM([__EXTENSIONS__],
24[/* Enable extensions on Solaris. */
25#ifndef __EXTENSIONS__
26# undef __EXTENSIONS__
27#endif])
28 AC_DEFINE([__EXTENSIONS__])
29])