]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 22:38:42 +0000 (22:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 22:38:42 +0000 (22:38 +0000)
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.

ChangeLog
NEWS
doc/autoconf.texi
lib/autoconf/specific.m4

index 93b861fe4ae273cc19856a07eb9380687369c492..9386de6a89fac03009b24e6e4b953a1c9126ba87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
+       the NonStop platform.
+       * doc/autoconf.texi (Posix Variants): Likewise.
+       * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
+
        * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
        (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
        (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
diff --git a/NEWS b/NEWS
index 1c7bd5c238de2bd17e593aafeda921af07641a23..c48eaf19fedadb493624ca264feb09f5f38854fa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,8 @@
 
 ** AC_CHECK_DECL now also works with aggregate objects.
 
+** AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for the NonStop platform.
+
 ** GNU M4 1.4.7 or later is now recommended.
 
 * Major changes in Autoconf 2.60a (2006-08-25)
index 189c057a790c43577fcbe1c3cecf04eafbff28ab..464eb0a34a0d2685d6bfea700941bdb2592c4ab0 100644 (file)
@@ -7291,12 +7291,14 @@ facilities.  Should be called before any macros that run the C compiler.
 @cvindex _POSIX_1_SOURCE
 @cvindex _POSIX_PTHREAD_SEMANTICS
 @cvindex _POSIX_SOURCE
+@cvindex _TANDEM_SOURCE
 @cvindex __EXTENSIONS__
 If possible, enable extensions to Posix on hosts that normally disable
 the extensions, typically due to standards-conformance namespace issues.
 This may involve defining @code{__EXTENSIONS__} and
-@code{_POSIX_PTHREAD_SEMANTICS}, which are macros used by Solaris.  This
-macro also has the combined effects of @code{AC_GNU_SOURCE},
+@code{_POSIX_PTHREAD_SEMANTICS}, which are macros used by Solaris.
+It also defines @code{_TANDEM_SOURCE} for the @acronym{HP} NonStop platform.
+This macro also has the combined effects of @code{AC_GNU_SOURCE},
 @code{AC_AIX}, and @code{AC_MINIX}.
 @end defmac
 
index db60d1c4a66fb432f581e5d62e753dd04d995fb5..c77a7766e04d5ed4c81b659b048da3f54b52acbb 100644 (file)
@@ -400,6 +400,9 @@ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
 #endif
 #ifndef _POSIX_PTHREAD_SEMANTICS
 # undef _POSIX_PTHREAD_SEMANTICS
+#endif
+#ifndef _TANDEM_SOURCE
+# undef _TANDEM_SOURCE
 #endif])
   AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
     [ac_cv_safe_to_define___extensions__],
@@ -412,6 +415,7 @@ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
   test $ac_cv_safe_to_define___extensions__ = yes &&
     AC_DEFINE([__EXTENSIONS__])
   AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+  AC_DEFINE([_TANDEM_SOURCE])
 ])