diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-01-24 22:47:25 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-01-24 22:47:25 +0000 |
| commit | fe856aa957978504137c1d425815d4ed8a22be40 (patch) | |
| tree | a5bb46ce0e64b2056f75700eadbf27aba7c39418 /m4/extensions.m4 | |
| parent | 210f39bc84cfbb21cd72dc054e43f13815ee0616 (diff) | |
| download | monitoring-plugins-fe856aa957978504137c1d425815d4ed8a22be40.tar.gz | |
Sync with gnulib - lots of extraneous code removed in preference to GNU code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/extensions.m4')
| -rw-r--r-- | m4/extensions.m4 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/m4/extensions.m4 b/m4/extensions.m4 deleted file mode 100644 index e71845f1..00000000 --- a/m4/extensions.m4 +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | # Enable extensions on systems that normally disable them. | ||
| 2 | |||
| 3 | # Copyright (C) 2003 Free Software Foundation, Inc. | ||
| 4 | # This file is free software; the Free Software Foundation | ||
| 5 | # gives unlimited permission to copy and/or distribute it, | ||
| 6 | # with or without modifications, as long as this notice is preserved. | ||
| 7 | |||
| 8 | # gl_USE_SYSTEM_EXTENSIONS | ||
| 9 | # ------------------------ | ||
| 10 | # Enable extensions on systems that normally disable them, | ||
| 11 | # typically due to standards-conformance issues. | ||
| 12 | AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [ | ||
| 13 | AC_BEFORE([$0], [AC_COMPILE_IFELSE]) | ||
| 14 | AC_BEFORE([$0], [AC_RUN_IFELSE]) | ||
| 15 | |||
| 16 | AC_REQUIRE([AC_GNU_SOURCE]) | ||
| 17 | AC_REQUIRE([AC_AIX]) | ||
| 18 | AC_REQUIRE([AC_MINIX]) | ||
| 19 | |||
| 20 | AH_VERBATIM([__EXTENSIONS__], | ||
| 21 | [/* Enable extensions on Solaris. */ | ||
| 22 | #ifndef __EXTENSIONS__ | ||
| 23 | # undef __EXTENSIONS__ | ||
| 24 | #endif | ||
| 25 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 26 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 27 | #endif]) | ||
| 28 | AC_DEFINE([__EXTENSIONS__]) | ||
| 29 | AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) | ||
| 30 | ]) | ||
