diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-15 20:51:47 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-15 20:51:47 +0000 |
commit | 6fff4bcdcf97412a6d1422991ea9fe5e8a203e75 (patch) | |
tree | 6494851815282f4b27829a7f10b8ca522aa7668e /m4/extensions.m4 | |
parent | 82d1989d3245791c9fac22ca848f5497f261c10b (diff) | |
download | monitoring-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.m4 | 29 |
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 @@ +# Enable extensions on systems that normally disable them. + +# Copyright (C) 2003 Free Software Foundation, Inc. + +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. + +# gl_USE_SYSTEM_EXTENSIONS +# ------------------------ +# Enable extensions on systems that normally disable them, +# typically due to standards-conformance issues. +AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [ + AC_BEFORE([$0], [AC_COMPILE_IFELSE]) + AC_BEFORE([$0], [AC_RUN_IFELSE]) + + AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([AC_AIX]) + AC_REQUIRE([AC_MINIX]) + + AH_VERBATIM([__EXTENSIONS__], +[/* Enable extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif]) + AC_DEFINE([__EXTENSIONS__]) +]) |