From: Paul Eggert Date: Wed, 11 Oct 2006 22:38:42 +0000 (+0000) Subject: * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for X-Git-Tag: AUTOCONF-2.60b~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e36eb7cd2ea74cda7da31b3b0812aaf3946303;p=thirdparty%2Fautoconf.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 93b861fe4..9386de6a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-10-11 Paul Eggert + * 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 1c7bd5c23..c48eaf19f 100644 --- 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) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 189c057a7..464eb0a34 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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 diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index db60d1c4a..c77a7766e 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -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]) ])